Skip to content

Instantly share code, notes, and snippets.

View Dorvaryn's full-sized avatar

Benjamin AUGUSTIN Dorvaryn

View GitHub Profile
@Dorvaryn
Dorvaryn / ipcsCleaner.sh
Created March 4, 2011 15:47
Un petit script pour cleaner les ipcs en cas de plantage d'une appli multitache
#!/bin/bash
# -*- coding: UTF8 -*-
reset
ipcs | awk '{print $2}' | perl -ne 'print if /^\d+$/' | while read id; do ipcrm -q $id; ipcrm -s $id; ipcrm -m $id; done
ipcs
@Dorvaryn
Dorvaryn / 0_reuse_code.js
Created June 6, 2014 08:39
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console