Skip to content

Instantly share code, notes, and snippets.

View moul's full-sized avatar
🌸
Creating languages for coordinated impact.

Manfred Touron moul

🌸
Creating languages for coordinated impact.
View GitHub Profile
@moul
moul / cdiscount.com
Created March 27, 2012 14:59
Personalized Web Options
[{"name":"Standard AdBlocker","urlRegex":"^http://","urlExcludeRegex":"","enabled":false,"preserveDocWrite":false,"css":"","html":"","js":"","filters":[{"tags":"div,table","attribute":"id,class","value":"","valueRegex":"([-_]|\\b)(MarketGid(Composite)?\\d+|(adv?|ban(ner)?)\\d+x\\d+|y\\d+_direct\\d+)([-_]|\\b)"},{"tags":"div,table","attribute":"id,class","value":"","valueRegex":"^(top|left|right|bottom)[-_]?(ad|ban(n?er)?)s?\\d*(x\\d+)?$"},{"tags":"div,table","attribute":"id,class","value":"","valueRegex":"([-_]|\\b)(adv?|ban(n?er)?)[-_]?\\d+x\\d+[-_]?[a-z]*([-_]|\\b)"},{"tags":"div,table","attribute":"id,class","value":"","valueRegex":"([-_]|\\b)(bann?er|reklama|advertisement)s?[-_]?\\d*(x\\d+)?([-_]|\\b)"},{"tags":"div,table","attribute":"id,class","value":"","valueRegex":"([-_]|\\b)sidebar[-_]?ads?([-_]|\\b)"},{"tags":"","attribute":"id,class","value":"begun_table,baner,banner,ad,adv,reklama,google_companion_ad_div,google_ads_site,Advertisement,adBar,adBox","valueRegex":""},{"tags":"div","attribute":"id","v
@moul
moul / 100 - OSX Desktop.markdown
Last active October 3, 2015 17:07
OSX Fresh Install

How I setup my machine after a fresh install

Download and Install Applications

  1. Xcode or Command Line Tools
  2. Install Dropbox
  3. Install 1Password
  4. Download Chrome
  • Set up Filevault
@moul
moul / gist:3142888
Created July 19, 2012 10:21
anon ssh
export HISTFILE=
for e in /var/log/?tmp; do > $e; done

Keybase proof

I hereby claim:

  • I am moul on github.
  • I am moul (https://keybase.io/moul) on keybase.
  • I have a public key whose fingerprint is 0859 942B 474A 2B3C 90D3 8049 0DCB 9CE0 CABA E1B5

To claim this, I am signing this object:

@moul
moul / shikaku.md
Last active November 4, 2015 22:03
shikaku
shikaku git:(master) make
go build -o shikakugen ./cmd/shikakugenshikaku git:(master) ./shikakugen -W 4 -H 4 -B 5 --draw-solution --no-machine-output
+---+---+---+---+
|       |       |
+   +   +---+---+
|       |       |
+   +   +---+---+
|       |       |
@moul
moul / fractal.html
Last active November 14, 2015 09:00
fractal svg
<html><body>
<svg width="100%" height="100%">
<defs>
<path id="level_0" fill="#003399" d="M0 0,2 0,1 1.732,z" />
<g id="level_1">
<use xlink:href="#level_0" transform="matrix(0.5 0 0 0.5 0 0)" />
<use xlink:href="#level_0" transform="matrix(0.5 0 0 0.5 1 0)" />
<use xlink:href="#level_0" transform="matrix(0.5 0 0 0.5 0.5 0.866)" />
</g>
<g id="level_2">
@moul
moul / millipede-animate.svg
Created November 14, 2015 09:00
millipede.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@moul
moul / 1. liquidsoap logs.txt
Last active November 15, 2015 02:36
Liquidsoap vs Taglib
radioman_1 | [GIN] 2015/11/15 - 02:30:04 | 200 | 6.825206ms | 192.168.99.1:59836 | POST /api/radios/default/skip-song
liquidsoap_1 | 2015/11/15 02:30:04 [/radioman(dot)mp3:3] Performing user-requested skip
liquidsoap_1 | 2015/11/15 02:30:04 [scheduler:3] Finished with "/playlists/Salut C'est Cool/NEXT ALBUM/il est l'heure de la renaissance sans voix_01.mp3".
liquidsoap_1 | 2015/11/15 02:30:04 [fallback_4756:3] Switch to blank_4755 with forgetful transition.
liquidsoap_1 | 2015/11/15 02:30:04 [scheduler:4] Activations changed: static=[], dynamic=[fallback_4756:/radioman(dot)mp3:/radioman(dot)mp3].
radioman_1 | [GIN] 2015/11/15 - 02:30:05 | 200 | 47.936µs | 172.17.0.7:42636 | GET /api/liquidsoap/getNextSong
liquidsoap_1 | 2015/11/15 02:30:05 [decoder:4] Trying method "META" for "/playlists/Salut C'est Cool/reprises/12 The fool on the hill (The Beatles).mp3"...
liquidsoap_1 | 2015/11/15 02:30:05 [decoder:4] Trying method "WAV" for "/playlists/Salut C'est Cool/reprises/12 The fool on the hi
apt-get install bzr emacs24-nox htop tmux isc-dhcp-server python-pip hdparm smartmontools curl postgresql qemu-kvm mailutils aufs-tools  debootstrap  ethtool  git  mdadm  mtools  ncurses-term ubuntu-vm-builder

curl -sSL https://get.docker.com/ | sh
@moul
moul / gist:4559569
Created January 17, 2013 20:41
osx - ssh to linux - locale
echo 'en_US.UTF-8 UTF-8' > /var/lib/locales/supported.d/en
dpkg-reconfigure locales
echo 'LANG=en_US.UTF-8' > /etc/default/locale