Skip to content

Instantly share code, notes, and snippets.

View buggtb's full-sized avatar
🎯
Urgh..Why can't I set all my statuses in one place?

Tom Barber buggtb

🎯
Urgh..Why can't I set all my statuses in one place?
View GitHub Profile
@buggtb
buggtb / spacemacs-cheatsheet.md
Last active December 14, 2022 22:30 — forked from heroheman/spacemacs-cheatsheet.md
Spacemacs Cheatsheet - A cheat sheet for my most common shortcuts in Spacemacs

General

Shortcut Description
SPC f e d Open Configuration
SPC f e R Reload Configuration
SPC SPC Search Emacs
SPC h SPC Search Spacemacs Layer
SPC f s Save Buffer
SPC q q Quit Emacs w/ Prompt
SPC q Q Quit Emacs w/o Prompt
@buggtb
buggtb / gist:7bdface06dd29a053c97
Last active January 26, 2016 20:40 — forked from madis/gist:4650014
Testing CORS OPTIONS request with curl
curl \
--verbose \
--request OPTIONS \
http://81.174.164.218:8181/cxf/rest/core/user \
--header 'Origin: http://localhost:9292' \
--header 'Access-Control-Request-Headers: Origin, Accept, Content-Type' \
--header 'Access-Control-Request-Method: GET'
# http://nils-blum-oeste.net/cors-api-with-oauth2-authentication-using-rails-and-angularjs/#.UQJeLkp4ZyE