This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# @contact: darksioul6@gmail.com | |
# Enjoy | |
if [[ ! -e "config" ]]; then | |
echo "Entrez les informations correspondantes : " | |
echo -ne "Username : " ; read -r u | |
echo -ne "Mot de passe : " ; read -r p | |
echo -ne "L'age minimum : " ; read -r amin | |
echo -ne "L'age maximum : " ; read -r amax |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# Sick of compiling with hand, this little script might help you | |
compilator() { | |
ARGUMENT="$1" | |
#determine aux name by stripping .tex suffix and adding .aux | |
AUXNAME="${ARGUMENT%.tex}.aux" | |
pdflatex -shell-escape -interaction=nonstopmode -file-line-error "$ARGUMENT" | grep -i ".*:[0-9]*:.*\|warning" | |
bibtex -terse "$AUXNAME" | |
pdflatex -shell-escape -interaction=nonstopmode -file-line-error "$ARGUMENT" | grep -i ".*:[0-9]*:.*\|warning" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use on MAC | |
# For cubieboard2 with A20 CPU | |
# We suppose that the sdcard is /dev/disk2 | |
# Find disk | |
diskutil list | |
# Unmount the SDCARD | |
diskutil unmountDisk /dev/disk2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var input = ""; | |
var konamiLetters = "72726666716871686665"; | |
var konamiArrow = "38384040373937396665"; | |
document.onkeydown = function(evt){ | |
evt = evt || window.event; | |
input += evt.keyCode; | |
}; | |
var timer = setInterval(function(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.aux | |
*.glo | |
*.idx | |
*.log | |
*.toc | |
*.ist | |
*.acn | |
*.acr | |
*.alg | |
*.bbl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
METEOR CORE: | |
Anywhere: Meteor.isClient | |
Anywhere: Meteor.isServer | |
Anywhere: Meteor.startup(func) | |
Anywhere: Meteor.absoluteUrl([path], [options]) | |
Anywhere: Meteor.settings | |
Anywhere: Meteor.release | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template name="helloWorld"> | |
{{ translate 'HELLO' }} | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Konami = function(t) { | |
var e = { | |
addEvent: function(t, e, n, i) { | |
t.addEventListener ? t.addEventListener(e, n, !1) : t.attachEvent && (t["e" + e + n] = n, t[e + n] = function() { | |
t["e" + e + n](window.event, i) | |
}, t.attachEvent("on" + e, t[e + n])) | |
}, | |
input: "", | |
pattern: "38384040373937396665", | |
load: function(t) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var WebSocketClient = require('websocket').client; | |
var sys = require("sys"); | |
var stdin = process.openStdin(); | |
var client = new WebSocketClient(); | |
client.on('connectFailed', function(error) { | |
console.log('Connect Error: ' + error.toString()); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
</head> | |
<body> | |
</body> | |
<script src="konami.js"></script> |
OlderNewer