This file contains hidden or 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
window.jColors = ['#FF0000','#FFFF00','#FFA500','#00FF00','#FF69B4','#0000FF','#FF00FF','#00FFFF']; | |
window.lColors = ['white', 'black', 'purple', 'darkgray', '#009']; | |
window.lWidths = [5, 10, 20]; | |
window.jCols = parseInt(document.getElementById('info-creator').innerText.match(/(\d+)×/)[1]); | |
window.jC = 0; | |
CanvasRenderingContext2D.prototype.pickTextColorBasedOnBgColorAdvanced = function(bgColor, lightColor, darkColor) { | |
var color = (bgColor.charAt(0) === '#') ? bgColor.substring(1, 7) : bgColor; | |
var r = parseInt(color.substring(0, 2), 16); | |
var g = parseInt(color.substring(2, 4), 16); |
This file contains hidden or 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 | |
# some configurations values | |
host="foobar-web00" # the name of the host in my ssh config file | |
project_path="/var/www/foobar" | |
user="web" | |
key_filename="/path/to/.ssh/web-deploy-key" | |
dry_run="--dry-run" | |
assets_differ="" |
This file contains hidden or 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
devices: | |
/dev/toto: | |
config: default | |
/dev/tty.usbmodemfd131: | |
config: default | |
configs: | |
default: | |
group: 210 |
This file contains hidden or 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
{ | |
"require": { | |
"gitiki/gitiki": ">=1.0-dev", | |
"gitiki/code-highlight": ">=1.0-dev" | |
} | |
} |
This file contains hidden or 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
begin remote | |
name freebox_v5 | |
bits 20 | |
flags RCMM|CONST_LENGTH | |
eps 2 | |
aeps 100 | |
header 417 278 | |
three 167 778 | |
two 167 611 |
This file contains hidden or 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
begin remote | |
name dyson | |
bits 8 | |
flags SPACE_ENC|REPEAT_HEADER | |
eps 30 | |
aeps 100 | |
header 2280 740 | |
one 811 1529 |
This file contains hidden or 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
sudo chown username /dev/tty1 | |
sudo echo -e "\033[2J\033[1;1H" >> /dev/tty1 # CTRL + L | |
sudo echo "bonjour à tous" >> /dev/tty1 |
This file contains hidden or 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 | |
sudo apt-get --yes purge xserver* x11-common x11-utils x11-xkb-utils x11-xserver-utils xarchiver xauth xkb-data console-setup xinit lightdm libx{composite,cb,cursor,damage,dmcp,ext,font,ft,i,inerama,kbfile,klavier,mu,pm,randr,render,res,t,xf86}* lxde* lx{input,menu-data,panel,polkit,randr,session,session-edit,shortcut,task,terminal} obconf openbox gtk* libgtk* alsa* nano python-pygame python-tk python3-tk scratch tsconf wolfram-engine samba-common smbclient cups-bsd cups-client cups-common | |
sudo apt-get --yes purge aspell hunspell-en-us iptraf libaspell15 libhunspell-1.2-0 lxde lxsession lxtask lxterminal squeak-vm whiptail zenity gdm gnome-themes-standard python-pygame | |
sudo apt-get --yes purge xdg-tools desktop-file-utils omxplayer python3-numpy python3 | |
sudo apt-get remove xserver-xorg | |
sudo apt-get purge ^lx | |
sudo apt-get --yes autoremove | |
sudo apt-get --yes autoclean | |
sudo apt-get --yes clean |
This file contains hidden or 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
<?php | |
namespace Foo; | |
/** | |
* Methods for safe LIKE querying. | |
*/ | |
trait LikeQueryHelpers | |
{ | |
/** |
This file contains hidden or 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
srcdir = /home/pi/phpgpio | |
builddir = /home/pi/phpgpio | |
top_srcdir = /home/pi/phpgpio | |
top_builddir = /home/pi/phpgpio | |
EGREP = /bin/grep -E | |
SED = /bin/sed | |
CONFIGURE_COMMAND = './configure' | |
CONFIGURE_OPTIONS = | |
SHLIB_SUFFIX_NAME = so | |
SHLIB_DL_SUFFIX_NAME = so |
NewerOlder