apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev make git -y
cd /usr/src
git clone --recursive https://github.com/vysheng/tg.git
#!/usr/bin/env bash | |
# This script will try to find the adb remote debugging port in the specified | |
# IP address and then tell adb to try to connect to it. | |
# It is useful for connecting to an android device without opening the | |
# "Wireless debugging" screen to get the IP and the random port, which is | |
# cumbersome. | |
for line in $(avahi-browse --terminate --resolve --parsable --no-db-lookup _adb-tls-connect._tcp); do | |
if [[ $line != =* ]]; then |
<?php | |
declare(strict_types=1); | |
/** | |
* This script is a daemon, i.e. it will be executed by | |
* systemd and kept running for a long time. | |
*/ | |
class Processor | |
{ |
<?php | |
declare(strict_types=1); | |
namespace Libs\Tools\Http; | |
use Http\Client\Common\Plugin\CookiePlugin; | |
use Http\Client\Common\Plugin\RedirectPlugin; | |
use Http\Client\Common\PluginClient; | |
use Http\Message\CookieJar; |
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:713beb28e0c16bad0359da1ce724f606efff66f7] |
I hereby claim:
To claim this, I am signing this object:
Verifying that "gnumoksha.id" is my Blockstack ID. https://onename.com/gnumoksha |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# This script syncs (i.e. makes git pull) on a specified directory or, se no | |
# parameter was specified, in all the subdirectories that are git projects. | |
# | |
# Usage: | |
# ./auto_sync_git.sh directory_of_my_project | |
# ./auto_sync_git.sh | |
# An alias to the git binary |
' Obtém informações do Microsoft Security Essentials | |
' e exibe de uma forma compreensível ao Zabbix | |
' execute com: cscript.exe //nologo mse.vbs | |
' Este post foi de grande ajuda: | |
' http://serverfault.com/questions/230368/timestamp-of-last-definition-update-for-microsoft-security-essentials-via-script | |
' Tobias 12/11/13 | |
set objetoShell = CreateObject( "WScript.Shell" ) | |
set objetoFS = CreateObject("Scripting.FileSystemObject") |