Um simples script para homenagear as mães de todos os programadores.
A Pen by John Murowaniecki on CodePen.
ANNOUNCE VagasParaProgramador | |
#command SAY <cColor> <cText> =>; | |
@ Row() + 3, 15 SAY "> " + _UTF8(<cText>) COLOR <cColor> | |
INIT PROCEDURE Sobre | |
LOCAL aHuia := {" | | | | | .----, ", " | | | | | | | ", " |___| | | | | | ", " | | | | | |-----| ", " | | `._.' | | ' "}, cText, nL := 0, cSource := "METADATA" | |
SET COLOR TO bg+/n | |
CLEAR SCREEN |
Um simples script para homenagear as mães de todos os programadores.
A Pen by John Murowaniecki on CodePen.
function daysInMonth(month, year) { return new Date(year, month, 0).getDate(); } |
function isBissextile(n) { return n % 4 === 0 && (n % 400 === 0 || n % 100 !== 0) ? true : false; } |
a=1;b=0;while [ $a -gt $b ];do s=0;for p in * ;do c=`ls $p|wc -l`; echo "$p $c jsons";s=`expr $s + $c`;done;echo -e "Total $s em `date +'%Y%m%d %H%M'`\nDiferença do anterior: `expr $s - $a`";b=$a;a=$s;sleep 60;done |
<?php | |
function csv2array($filename, array $options = array( | |
'delimiter' => ',', | |
'enclosure' => '"', | |
'escape' => "\\", | |
), $return = array()) | |
{ | |
if (file_exists($filename)) { | |
$csv = fopen($filename, 'r'); |
<?php | |
require_once __DIR__.'/../../system/azure/autoload.php'; | |
use WindowsAzure\Common\ServicesBuilder; | |
use WindowsAzure\Blob\Models\CreateContainerOptions; | |
use WindowsAzure\Blob\Models\PublicAccessType; | |
use WindowsAzure\Common\ServiceException; | |
$config = array( |
/* Foca no código | |
.---. | |
/o o\ | |
__(= " =)__ | |
//\'-=-'/\\ | |
) (_ | |
/ `"=-._ | |
/ \ ``"=. |
#!/bin/bash | |
# | |
# based on https://twitter.com/typeof_/status/438001208729403392 | |
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %Cgreen%cr %Cblue%an%Creset'" |
([[ $BASH != "" ]] && echo -e "\"\e[1;5C\": forward-word\n\"\e[1;5D\": backward-word">>~/.inputrc)||([[ $ZSH_NAME != "" ]] && echo "bindkey -e\nbindkey \"\\\e[1;5C\" forward-word\nbindkey \"\\\e[1;5D\" backward-word">>~/.zshrc) |