Skip to content

Instantly share code, notes, and snippets.

@couraudt
couraudt / uniqush-push
Created April 23, 2014 14:45
init.d script for uniqush-push
#!/bin/sh
### BEGIN INIT INFO
# Provides: uniqush-push
# Required-Start: $remote_fs $network
# Required-Stop: $remote_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts uniqush-push
# Description: Starts Uniqush provides a unified push service for server-side notification to apps on mobile devices.
### END INIT INFO
@couraudt
couraudt / gist:1480648
Created December 15, 2011 10:32
.htacces
# ----------------------------------------------------------------------
# Cross-domain AJAX requests
# ----------------------------------------------------------------------
# Serve cross-domain Ajax requests, disabled by default.
# enable-cors.org
# code.google.com/p/html5security/wiki/CrossOriginRequestSecurity
# <IfModule mod_headers.c>
# Header set Access-Control-Allow-Origin "*"
@couraudt
couraudt / test.html
Created November 17, 2011 14:14
Oii
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore.
I need html, more html, gnnnnnhhhh!
@couraudt
couraudt / gist:1351490
Created November 9, 2011 13:52 — forked from Victa/gist:1348099
mon .bash_profile
# Colors (with dark background) ============
export CLICOLOR=1
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
# Alias =====================================
# Avoir des / après les noms de dossiers
alias ls='ls -hF'
# Obtenir un listage de répertoire détaillé
alias ll='ls -lh'
# Lister avec les fichiers cachés
@couraudt
couraudt / gist:1268002
Created October 6, 2011 17:19
top/bottom box-shadow
body:before {
content: "";
position: fixed;
top: -200px;
left: 0;
width: 100%;
height: 200px;
-webkit-box-shadow: 0px 0px 200px #FF00E6;
-moz-box-shadow: 0px 0px 200px #FF00E6;
@couraudt
couraudt / test.rb
Created September 21, 2011 10:20
test
testq
qsd
qsd
qsd