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
<?php | |
print_r( exif_read_data( 'sucuri-test.jpg' ) ); | |
/* | |
Array | |
( | |
[FileName] => sucuri-test.jpg | |
[FileDateTime] => 1374009774 | |
[FileSize] => 38936 | |
[FileType] => 2 |
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 bash | |
# args | |
MSG=${1-'deploy from git'} | |
BRANCH=${2-'trunk'} | |
# paths | |
SRC_DIR=$(git rev-parse --show-toplevel) | |
DIR_NAME=$(basename $SRC_DIR) | |
DEST_DIR=~/svn/$DIR_NAME/$BRANCH |
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
1 pixline@white ~ % brew install liquidsoap :( | |
==> Installing liquidsoap dependency: objective-caml | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/objective-caml-4.00.1.lion.bottle.1.tar.gz | |
######################################################################## 100,0% | |
==> Pouring objective-caml-4.00.1.lion.bottle.1.tar.gz | |
🍺 /usr/local/Cellar/objective-caml/4.00.1: 1191 files, 210M | |
==> Installing liquidsoap dependency: ocaml-findlib | |
==> Downloading http://download.camlcity.org/download/findlib-1.3.3.tar.gz | |
######################################################################## 100,0% | |
Warning: MD5 support is deprecated and will be removed in a future version. |
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
{ | |
"name": "progetto", | |
"version": "1.0.0", | |
"devDependencies": { | |
"grunt": "~0.4.0", | |
} | |
} |
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
config.vm.provider "virtualbox" do |v| | |
v.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"] | |
end |
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 | |
homebrew_packages=( | |
freetype | |
jpeg | |
libpng | |
gd | |
zlib | |
openssl | |
unixodbc |
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
[LightDM] | |
start-default-seat=true | |
guest-account-script=guest-account | |
[SeatDefaults] | |
xserver-command=Xorg | |
xserver-allow-tcp=false | |
greeter-session=lightdm-greeter | |
greeter-hide-users=true | |
greeter-allow-guest=true |
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 | |
# running time measure | |
start_seconds=`date +%s` | |
# network check | |
ping_result=`ping -c 2 8.8.8.8 2>&1` | |
# architecture | |
arch=`uname -m` | |
# Script URLs | |
GUEST_URL="https://gist.github.com/pixline/6981710/raw/5bcc702616a8253b0ed90889dd31529962a89c37/guest-account.sh" |
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
# Text color variables | |
txtred='\e[0;31m' # red | |
txtgrn='\e[0;32m' # green | |
txtylw='\e[0;33m' # yellow | |
txtblu='\e[0;34m' # blue | |
txtpur='\e[0;35m' # purple | |
txtcyn='\e[0;36m' # cyan | |
txtwht='\e[0;37m' # white | |
bldred='\e[1;31m' # red - Bold |
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
filter: | |
paths: | |
- 'lib/*' | |
- '/*' | |
excluded_paths: | |
- 'tests/*' | |
- 'examples/*' | |
tools: | |
php_mess_detector: | |
filter: |