Skip to content

Instantly share code, notes, and snippets.

Avatar

Benjamin AUGUSTIN Dorvaryn

  • Novoda
  • Lyon, France
View GitHub Profile
@Dorvaryn
Dorvaryn / 0_reuse_code.js
Created Jun 6, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@Dorvaryn
Dorvaryn / ipcsCleaner.sh
Created Mar 4, 2011
Un petit script pour cleaner les ipcs en cas de plantage d'une appli multitache
View ipcsCleaner.sh
#!/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
You can’t perform that action at this time.