Skip to content

Instantly share code, notes, and snippets.

View iaserrat's full-sized avatar

ismael iaserrat

View GitHub Profile
@adham90
adham90 / spacemacs-keybindings
Last active April 5, 2024 14:24
spacemacs keybindings that i need to learn
SPC s c remove highlight
**** Files manipulations key bindings
Files manipulation commands (start with ~f~):
| Key Binding | Description |
|-------------+----------------------------------------------------------------|
| ~SPC f c~ | copy current file to a different location |
| ~SPC f C d~ | convert file from unix to dos encoding |
| ~SPC f C u~ | convert file from dos to unix encoding |
@miguelfrde
miguelfrde / self_signed_ssl.sh
Last active March 29, 2020 19:23
Self signed SSL
openssl genrsa -des3 -out ssl.key 2048
openssl req -new -key ssl.key -out ssl.csr
cp ssl.key ssl.key.orig
openssl rsa -in ssl.key.orig -out ssl.key
openssl x509 -req -days 1095 -in ssl.csr -signkey ssl.key -out ssl.crt
cat ssl.crt ssl.key > ssl.pem
@dpfannenstiel
dpfannenstiel / SwiftKeyboardMethods.md
Last active September 6, 2015 10:12
Swift Keyboard Gists

Swift Keyboard Gists

Notification Center Registration

Add these lines to register for keyboard notifications.

	NSNotificationCenter.defaultCenter().addObserver(self, selector: "keyboardWillShow:", name: UIKeyboardWillShowNotification, object: nil)
@dAnjou
dAnjou / flask-upload
Created June 5, 2012 12:35
Flask upload example
<VirtualHost *>
ServerName example.com
WSGIDaemonProcess www user=max group=max threads=5
WSGIScriptAlias / /home/max/Projekte/flask-upload/flask-upload.wsgi
<Directory /home/max/Projekte/flask-upload>
WSGIProcessGroup www
WSGIApplicationGroup %{GLOBAL}
Order deny,allow

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: