Skip to content

Instantly share code, notes, and snippets.

View hugoroy's full-sized avatar

Hugo Roy hugoroy

View GitHub Profile
@hugoroy
hugoroy / .emacs
Last active April 23, 2017 13:57
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
# -*- coding: utf-8 -*-
PLUGIN_NAME = u'MetaFlac ReplayGain'
PLUGIN_AUTHOR = u'Olivier Kaloudoff (based on Johannes Weißl)'
PLUGIN_DESCRIPTION = '''Analyse your albums using the MetaFlac ReplayGain scanner.'''
PLUGIN_VERSION = "0.2"
PLUGIN_API_VERSIONS = ["0.10", "0.15"]
import os
import sys
[Desktop Entry]
X-AppInstall-Package=mutt
X-AppInstall-Popcon=1977
X-AppInstall-Section=main
Categories=Office;Network;Email
Comment=Simple text-based Mail User Agent
Exec=mutt %u
Icon=mutt
Name=mutt
" for email: unfold and delete to your signature
noremap ,dd zi:.;/^-- $/d<CR>O-- <UP><End><CR><CR><UP><CR><C-O>zi
@hugoroy
hugoroy / arrows.vimrc
Last active December 18, 2015 17:59
Make arrows behave in VIM like in a GUI text editor. That way, you can have j and k features (going one line down and one line up), and <up> and <down> will go up and down on wrapped lines.
" make arrows behave like gui text editor
nnoremap <up> gk
nnoremap <down> gj
inoremap <up> <C-O>gk
inoremap <down> <C-O>gj
vnoremap <up> gk
vnoremap <down> gj
@hugoroy
hugoroy / gedit-hugoroy.xml
Created July 20, 2012 13:52
Gedit syntax highlithing theme
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2009 tm2gtksw2(Alexandre da Silva)
This file was generated from a textmate theme named Monokai
with tm2gtksw2 tool. (Alexandre da Silva)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
@hugoroy
hugoroy / gist:248f8aa411835cb55e5b
Created December 12, 2014 22:51
markdown-french-to-xelatex
#!/bin/bash
sed "s/« /«/g" | sed "s/ »/»/g" | sed "s/ !/!/g" | sed "s/ ?/?/g" | sed "s/ ;/;/g" | sed "s/ :/:/g" | sed "s/1er/1\\\textsuperscript{er}/g" | sed "s/Mme /M\\\textsuperscript{me} /g"
@hugoroy
hugoroy / default.ikiwiki.markdown
Created October 30, 2014 17:56
Pandoc template for ikiwiki

$if(title)$ [[!meta title="$title$"]] $endif$ $if(author-meta)$ [[!meta author="$author-meta$"]] $endif$ $if(date)$ [[!meta date="$date$"]] $endif$ $if(abstract)$

Keybase proof

I hereby claim:

  • I am hugoroy on github.
  • I am hugoroy (https://keybase.io/hugoroy) on keybase.
  • I have a public key whose fingerprint is EBE6 F998 953C BD94 FFA4 E671 8D02 2C99 B3D7 B795

To claim this, I am signing this object:

This is a test!