Skip to content

Instantly share code, notes, and snippets.

View simonced's full-sized avatar

Cedric Simon simonced

  • Azet
  • Maebashi, Gunma, Japan
View GitHub Profile
@simonced
simonced / match_sample.vim
Created July 22, 2017 00:38
sample of how to highlight some words in buffers
" following is required
syntax on
syntax enable
augroup badwords
au!
" for each buffer opened, we activate highlight of some words
autocmd BufRead * match ErrorMsg /I think/
augroup END
@simonced
simonced / org-export-test.org
Last active July 1, 2017 01:51
org-mode 9.09 html export issue with sql blocks

See raw source for details of settings on each block and file properties

Elisp source blocks

@simonced
simonced / table-data-rotate.org
Last active June 13, 2017 05:54
org mode table data rotate format with js source-block

Thanks to this little JS source-block snippet, I could simply rotate a 3 rows table into a 3 column table.
JS because I have no clue how to achieve the same with e-lisp.

My real world problem had waaaaay more columns, hence the need to automate the thing!

#+name: data_table