View watch_and_dt.sh
1 2 3 4 5 6 7 8 9 10
#!/bin/bash
# DESCRIPTION: watch_and_dt.sh - watches a set of hardcoded directories and builds
# with Apportable dt unless already building.
# REAQUIREMENTS: Apportable dt, optionally stream_prettifier, fswatch, osx
# OPTIONAL: Run piping to stream_prettifier with ~/.stream_prettifier file
# if_seen /Error|error/ do |line|
# line.white.on_red
# end
# if_seen /Building.*apk/ do |line|
# line.white.on_green
View input_lista.py
1 2
numeros = [int(input('Digite um numero: ')) for i in range(5)]
print(numeros)
View gist:f37e76434485dfd54e32
1 2 3 4 5 6 7 8 9 10
"Message Time" Hostname Severity Message
"4/27/2015 6:52:11 PM" EOCINETfw01 Debug "apinger: (avg: 2.885ms)"
"4/27/2015 6:52:11 PM" EOCINETfw01 Debug "apinger: #8903 from EOCECPsw01(10.255.0.57) delay: 0.585ms/0.564ms/28.851ms received = 11"
"4/27/2015 6:52:11 PM" EOCINETfw01 Debug "apinger: Polling, timeout: 0.999s"
"4/27/2015 6:52:11 PM" EOCINETfw01 Debug "apinger: Recently lost packets: 0"
"4/27/2015 6:52:11 PM" EOCINETfw01 Debug "apinger: Sending ping #8903 to EOCECPsw01 (10.255.0.57)"
"4/27/2015 6:52:10 PM" EOCINETfw01 Debug "apinger: Polling, timeout: 0.330s"
"4/27/2015 6:52:10 PM" EOCINETfw01 Debug "apinger: SIGUSR1 received, writing status."
"4/27/2015 6:52:10 PM" EOCINETfw01 Debug "apinger: Polling, timeout: 0.385s"
"4/27/2015 6:52:10 PM" EOCINETfw01 Debug "apinger: SIGUSR1 received, writing status."
View Hangman.py
1 2 3 4 5 6 7 8 9 10
Making a hangman game, woohoo
 
#Get input and convert to list
word = raw_input("Please input your word: ");
word = list(word);
 
guesses = 5;
 
#Setting up our hashes list
guessingWord = len(word)*["*"];
View gist:78520383cb484df24058
1 2 3 4 5 6 7 8 9 10
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.kuc_arc_f.agripush"
android:versionCode="1"
android:versionName="1.0" >
 
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.VIBRATE" />
View gist:8176e0f06ec782ecd89d
1 2 3 4 5 6
t5.ts(); //5===============
t1 = t3; //[OP=1]
t1.ts(); //1===============
t1 = TestCopy<>{3}; //[CONSTR 2:3]
//[OP=3]
t3.ts(); //1===============
View gist:8cfd3a0b0b7af55acda4
1 2 3
fridaynext@satellite:~$ ps aux | grep 13691
mysql 13691 4.0 5.2 2467512 215676 ? Sl Apr02 1471:32 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --log-error=/var/log/mysql/error.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
fridayn+ 23333 0.0 0.0 11752 2112 pts/1 S+ 19:29 0:00 grep --color=auto 13691
View gist:e5a1b42be01d0dd5f3e3
1 2 3 4 5 6 7 8 9
### Keybase proof
 
I hereby claim:
 
* I am ejcx on github.
* I am ej (https://keybase.io/ej) on keybase.
* I have a public key whose fingerprint is 9AA6 07A3 AD1D 45DA BDE3 3CEE 82A5 93BA A90B E68C
 
To claim this, I am signing this object:
View inb4404
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/ruby -wKU
 
require 'open-uri'
require 'net/http'
require 'fileutils'
 
if ARGV.length < 3
puts "You must specify a site, thread and a dest dir"
exit(1)
end
View sucpcap-9
1 2 3 4 5 6 7
use Yii;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use common\models\PermisosHelpers;
use common\models\RegistrosHelpers;
use frontend\models\Perfil;
Something went wrong with that request. Please try again.