The following debugging information was generated by Atom Beautify
on Fri Mar 17 2017 10:24:17 GMT-0300 (-03)
.
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
FROM haproxy:2.2.2 | |
COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg | |
COPY cert.pem /tmp/test.pem | |
COPY key.pem /tmp/test.pem.key |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDSIuIgR9imjuPJUMyC9mgTUrF/HMTOgc8KsGJ5C09oGXRpQMd4ozr6dqCQy6OrZgztX45R/3IybXifajf0POvCxHfk/incGH9w0uMX/TrtcE4m7EEBO9U03tkuR4f35srdn4r9zvtqRM4YK0P8mNJMFId7TvWOXWLxjJ7XgUGGEFCk8ZzKPLAfdQyrW1VmaQMYH3eJZvuWPXz7Rwer6LPmuUHl2S/Vj3BdPMkGrll59sQhi4EFka/q3RL0Uh9FFjHf+6J4BoPag03q8Q6/PNOG9B2ENlqpmPkiQKAvz/Xumz+ToqQFiVm9cZQMMngeRc6zYRTufZdr6cWXubLmGEt9 snotr@Envy |
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 | |
unameOut="$(uname -s)" | |
case "${unameOut}" in | |
Linux*) sudo apt-get install -y git curl automake autoconf libreadline-dev libncurses-dev \ | |
libssl-dev libyaml-dev libxslt-dev libffi-dev libtool unixodbc-dev \ | |
libwxgtk3.0-dev libgl1-mesa-dev libglu1-mesa-dev libssh-dev xsltproc fop \ | |
libxml2-utils | |
;; | |
Darwin*) brew install coreutils automake autoconf openssl libyaml readline libxslt libtool 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
<?php | |
use Goutte\Client; | |
$client = new Client(); | |
$politicians = []; | |
$url = 'http://www25.senado.leg.br/web/senadores/em-exercicio'; | |
$response = $client->request('GET', $url); | |
$response->filter('tr')->each(function($node) use ($client) { | |
$class = $node->attr('class'); |
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
# API | |
## GET /queue | |
list all queues | |
*response* | |
``` | |
[ | |
{ |
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 | |
MIN=40 | |
MAX=80 | |
while true ; do | |
unplugged=$(cat /sys/bus/acpi/drivers/battery/*/power_supply/BAT?/status|grep -i discharging) | |
acpiout=$(acpi) | |
if [ "$(echo $acpiout|grep -Po "[0-9]+(?=%)")" -le $MIN ]; then #Battery under low limit | |
if [ ! "$unplugged" == "" ]; then #unplugged |
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
From c0dcef7d7510c2624d67f88eaf7e6b43e277fbd1 Mon Sep 17 00:00:00 2001 | |
From: StefanYohansson <sy.fen0@gmail.com> | |
Date: Wed, 29 Mar 2017 20:54:08 -0300 | |
Subject: [PATCH] Added Hatsune Miku theme. | |
Hatsune Miku from Vocaloid Project. | |
--- | |
data/CMakeLists.txt | 1 + | |
data/hatsunerc | 135 ++++++++++++++++++++++++++++++ | |
data/pics/animated/CMakeLists.txt | 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
var marcas = $('#selectMarcacarro option'); | |
var modelos = []; | |
var modelos_ano = {}; | |
var marcas_list = {}; | |
marcas.each((i,e) => { | |
if (e.value != '') | |
marcas_list[e.value] = { | |
name: $(e).html(), | |
modelos: {} |
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 | |
function send_backup { | |
rsync -r -z -c $1 root@server.com:/backups | |
if [ "$?" -eq "0" ] | |
then | |
rm -rf $1 | |
echo "Rsync success." > $logfile_path/db_log.log | |
else | |
echo "Rsync fail." > $logfile_path/db_log.log |
NewerOlder