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
{ fileName: 'FacturaNo.94605', | |
date: '8/8/2014', | |
clientName: 'UNIVERSIDAD POLITECNICA ( UPOLI)', | |
addess: 'VILLA RUBEN DARIO', | |
documentNumber: '0000094605', | |
phoneNumber: '', | |
sellerName: 'Neyra Vanessa Jiron ', | |
rows: | |
[ { units: '10.00', | |
code: '115020116.00', |
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
<div class="pricing-tables"> | |
<h1 id="detached-wide"> | |
Detached - Wide | |
</h1> | |
<div class="row"> | |
<div class="col-sm-4 col-md-4"> | |
<div class="plan"> |
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
(function(window, angular, undefined) {'use strict'; | |
var urlBase = "/api"; | |
/** | |
* @ngdoc overview | |
* @name lbServices | |
* @module | |
* @description | |
* |
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 path = require('path'); | |
var fs = require('fs'); | |
var wait = require('wait.for'); | |
var spud = require('localizr/node_modules/spud'); | |
var parseLangTag = function (str) { | |
var pair, tuple; | |
if (typeof str === 'object') { | |
return str; |
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 fs = require('fs'); | |
var result = []; | |
function uniq(a) { | |
var seen = {}; | |
return a.filter(function(item) { | |
return seen.hasOwnProperty(item) ? false : (seen[item] = 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
# Remove all images | |
docker rmi $(docker images -q) | |
# Remove all images except "centos" and "my-image" | |
docker rmi $(docker images | awk '$1!~/centos|my-image/ && NR>1 {print $3}') | |
# Remove all untagged images | |
docker rmi $(docker images | grep "^<none>" | awk "{print $3}") | |
# Remove all containers |
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
$port=$ARGV[0]; | |
if ($port eq '') { | |
print "Message: Can't find \"port\" argument.\n"; | |
exit 1; } | |
$arg1="echo \"stats\" \| nc 192.168.59.103"; | |
$cmd1=${arg1}.' '.${port}; | |
$arg2="echo \"stats\" \| netcat 192.168.59.103"; | |
$cmd2=${arg2}.' '.${port}; | |
$cmd=${cmd1}.' || '.${cmd2}; | |
@out=`$cmd`; |
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/sh | |
curl -O https://raw.githubusercontent.com/tjluoma/bash-fix/master/bash-fix.sh | |
chmod 755 bash-fix.sh | |
sh bash-fix.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
#!/bin/sh | |
echo '' >>~/.bash_profile | |
echo '# tor proxy settings' >>~/.bash_profile | |
echo 'export TOR_PROXY_HOST=192.168.59.103' >>~/.bash_profile | |
echo 'export TOR_PROXY_PORT=8118' >>~/.bash_profile | |
echo 'export {http,https,ftp}_proxy="http://$TOR_PROXY_HOST:$TOR_PROXY_PORT"' >>~/.bash_profile |
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/sh | |
git log --all --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit |