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
#file=$1 | |
#videoname=$(echo "$file" | cut -d "." -f1) | |
#echo "$videoname" | |
touch playlist.txt | |
touch urllist.txt | |
key=$1 | |
videoname=$2 | |
#keystring=$(cat $file | grep -o -E "key=[0-9,a-z]+") |
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
import cv2 | |
import cPickle | |
import socket | |
import struct | |
TCP_IP = '127.0.0.1' | |
TCP_PORT = 9501 | |
server_address = (TCP_IP, TCP_PORT) | |
i = 0 |
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
@echo off | |
setlocal | |
call :setESC | |
cls | |
echo %ESC%[101;93m STYLES %ESC%[0m | |
echo ^<ESC^>[0m %ESC%[0mReset%ESC%[0m | |
echo ^<ESC^>[1m %ESC%[1mBold%ESC%[0m | |
echo ^<ESC^>[4m %ESC%[4mUnderline%ESC%[0m |
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
23.21.150.121:3478 | |
iphone-stun.strato-iphone.de:3478 | |
numb.viagenie.ca:3478 | |
s1.taraba.net:3478 | |
s2.taraba.net:3478 | |
stun.12connect.com:3478 | |
stun.12voip.com:3478 | |
stun.1und1.de:3478 | |
stun.2talk.co.nz:3478 | |
stun.2talk.com:3478 |
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
Well, I suppose its `safe' to release this, it seems everyone and their dog has | |
it and apparantly (and to my surprise) it still works. | |
The `smurf' attack is quite simple. It has a list of broadcast addresses which | |
it stores into an array, and sends a spoofed icmp echo request to each of those | |
addresses in series and starts again. The result is a devistating attack upon | |
the spoofed ip with, depending on the amount of broadcast addresses used, | |
many, many computers responding to the echo request. | |
Before I continue may I first say that this code was a mistake. When it was |
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 inputStream : NSInputStream? | |
var outputStream : NSOutputStream? | |
func connect() { | |
var readStream : Unmanaged<CFReadStream>? | |
var writeStream : Unmanaged<CFWriteStream>? | |
let host : CFString = NSString(string: self.host) | |
let port : UInt32 = UInt32(self.port) | |
CFStreamCreatePairWithSocketToHost(kCFAllocatorDefault, host, port, &readStream, &writeStream) |
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
# delete local tag '12345' | |
git tag -d 12345 | |
# delete remote tag '12345' (eg, GitHub version too) | |
git push origin :refs/tags/12345 | |
# alternative approach | |
git push --delete origin tagName | |
git tag -d tagName |
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 | |
require("class.phpmailer.php"); | |
$mail = new PHPMailer();$mail = new PHPMailer(); | |
$mail->IsSMTP(); | |
$mail->Host = "smtp1.example.com;smtp2.example.com"; | |
$mail->SMTPAuth = true; | |
$mail->Username = 'smtpusername'; | |
$mail->Password = 'smtppassword'; | |
$mail->From="[email protected]"; |