Skip to content

Instantly share code, notes, and snippets.

View adelatorrefoss's full-sized avatar

Toño de la Torre adelatorrefoss

View GitHub Profile
@afair
afair / tmux.cheat
Last active August 10, 2025 20:39
Tmux Quick Reference & Cheat sheet - 2 column format for less scrolling!
========================================== ==========================================
TMUX COMMAND WINDOW (TAB)
========================================== ==========================================
List tmux ls List ^b w
New new -s <session> Create ^b c
Attach att -t <session> Rename ^b , <name>
Rename rename-session -t <old> <new> Last ^b l (lower-L)
Kill kill-session -t <session> Close ^b &
@mariogarcia
mariogarcia / .ctags
Created October 2, 2013 10:24
File patterns to enable ctags on Vim
--langdef=groovy
--langmap=groovy:.groovy
--regex-groovy=/^[ \t]*[(private|public|protected) ( \t)]*[A-Za-z0-9_<>]+[ \t]+([A-Za-z0-9_]+)[ \t]*\(.*\)[ \t]*\{/\1/f,function,functions/
--regex-groovy=/^[ \t]*def[ \t]+([A-Za-z0-9_]+)[ \t]*\=[ \t]*\{/\1/f,function,functions/
--regex-groovy=/^[ \t]*private def[ \t]+([A-Za-z0-9_]+)[ \t]*/\1/v,private,private variables/
--regex-groovy=/^[ \t]*def[ \t]+([A-Za-z0-9_]+)[ \t]*/\1/u,public,public variables/
--regex-groovy=/^[ \t]*[abstract ( \t)]*[(private|public) ( \t)]*class[ \t]+([A-Za-z0-9_]+)[ \t]*/\1/c,class,classes/
--regex-groovy=/^[ \t]*[abstract ( \t)]*[(private|public) ( \t)]*enum[ \t]+([A-Za-z0-9_]+)[ \t]*/\1/c,class,classes/
@Alotor
Alotor / kal-emacs.org
Last active August 29, 2015 14:19
Notas del Kaleidos-emacs friday's (24/04/2015)

KALEIDOS EMACS MEETING

Confirmar para salir de emacs

(setq confirm-kill-emacs #’y-or-n-p)

Cambiar alternativamente entre dos buffers

(define-key global-map (kbd “M-o”) ‘mode-line-other-buffer)

Ampilar la fuente en emacs

(define-key global-map (kbd “C-+”) ‘text-scale-increase)

(define-key global-map (kbd “C–”) ‘text-scale-decrease)

Sacar ayuda al ejecutar un comando

C-h k > Ejecutar el comando que quieras ej: C-x c

@javivelasco
javivelasco / reactive-2016.md
Last active September 26, 2025 13:37
Proposal for lightning talk at Reactive Conf 2016

Please star ⭐️ the gist to help! This is a proposal for a ⚡️ talk at Reactive Conference.

Styling Components in React Toolbox 2

I wrote react-toolbox and presented it almost a year ago in lighning talk at Reactive Conf 2015 in Bratislava. At first it was just a proof of concept of a component library styled with CSS Modules and SASS. Now the project has grown quite a bit, and during this year there has been tons of changes and lessons learned.

Theming and customization is one of the most difficult and interesting problems to solve. For the first version we needed a custom Webpack loader to generate themes and doing simple style overrides was very painful. Today I'm working on a new playground that will allow you try CSS Modules live, and to create React Toolbox themes on the f