Download from here:
MD5: 59bab8f71f8c096cd3f72cd73851515d
Rename it to:
Download from here:
MD5: 59bab8f71f8c096cd3f72cd73851515d
Rename it to:
# Set root | |
sudo su | |
# Install Composer | |
curl -sS https://getcomposer.org/installer | php | |
mv composer.phar /usr/local/bin/composer | |
# Exit root | |
exit | |
show_prog_bar() { | |
local c="$1" # Character to use to draw progress bar | |
local v=$2 # Percentage 0<= value <=100 | |
local t=$3 # Text before | |
local pbl=50 # Progress bar length in characters | |
local r=`expr 100 / $pbl` # Ratio between percentage value and progress bar length | |
local p="$v%" # Percentage value to display in the middle of progress bar | |
local l=${#p} # Length of string to display | |
local pbs="" # Progress bar string | |
local k=`expr \( $pbl - $l \) / 2` # Position where to substitute in progress bar string |
#!/bin/bash | |
#################################################################################### | |
# ffmpeg flv2mp4 converter with progress indicator | |
# USAGE | |
# ./flv2mp4 VideoId | |
# Modify to your own needs | |
################################################################################### | |
SCRIPT=flv2mp4 | |
LOG=/var/log/flv2mp4.log |
* { background-color: rgba(255,0,0,.2); } | |
* * { background-color: rgba(0,255,0,.2); } | |
* * * { background-color: rgba(0,0,255,.2); } | |
* * * * { background-color: rgba(255,0,255,.2); } | |
* * * * * { background-color: rgba(0,255,255,.2); } | |
* * * * * * { background-color: rgba(255,255,0,.2); } | |
### Keybase proof | |
I hereby claim: | |
* I am marcosbl on github. | |
* I am marcosbl (https://keybase.io/marcosbl) on keybase. | |
* I have a public key whose fingerprint is AF9D 3E27 B3D8 F49E B3AD A4DC 6022 F670 9EFA 042B | |
To claim this, I am signing this object: |
location ~* \.(eot|ttf|woff)$ { | |
add_header Access-Control-Allow-Origin *; | |
} |
<FilesMatch ".(ttf|otf|eot|woff)$"> | |
<IfModule mod_headers.c> | |
Header set Access-Control-Allow-Origin "*" | |
</IfModule> | |
</FilesMatch> |
setInterval(function () { | |
var change = {}; | |
$('#box span').each(function () { | |
var $this = $(this), | |
key = $this.css('background-color'); | |
if (!(key in change)) { | |
change[key] = { | |
'element': $this, |
# First create a dump of your MySQL database | |
mysqldump -u [user] -p database_name > database_name.sql | |
# Convert the data | |
iconv -f iso-8859-15 -t utf8 database_name.sql > database_name_iconv.sql | |
# Import the database | |
mysql -u [user] -p database_name < database_name_iconv.sql | |
# If you still have some specific characters that do not display |