Skip to content

Instantly share code, notes, and snippets.

View tzuryby's full-sized avatar

Tzury Bar Yochay tzuryby

View GitHub Profile
<div id="share-buttons"></div>
<style type="text/css">
#share-buttons img {
width: 25px;
padding: 5px;
border: 0;
box-shadow: 0;
display: inline;
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import sys
import re
import json
import tornado
import tornado.httpserver
$ curl -v http://www.dailymaily.co.il/
< HTTP/1.1 302 Object moved
< Location: http://www.pc.co.il/dailymaily
$ curl -v http://www.pc.co.il/dailymaily
< HTTP/1.1 301 Moved Permanently
< Location: http://www.pc.co.il/dailymaily/
$ curl -v http://www.pc.co.il/dailymaily/
< HTTP/1.1 301 Moved Permanently
#myscript.sh
while read line; do
echo "$line" | awk '{print "first Field:"$1}'
echo "$line" | tee -a /tmp/myfile.log | tr ['a-z'] ['A-Z']
done
#! /bin/bash
cat - | awk '{print "here come my long line aws statement:"$1}'
@tzuryby
tzuryby / yuval.py
Created November 14, 2012 19:28
Yuval's first python program
>>> 300000000000000000000000000000000000000000000000000000000000000000000000000222222222222222222222222222222222222222222222222222222222222222222222222222222255555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555544444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444466666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666699999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333388888888888888888888888888888888888888888888888888888888888888888888888888
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
... Bluetooth output here ...
console.log("starting...")
setTimeout('console.log("5 seconds later...")', 5000)
setTimeout('console.log("10 seconds later...")',10000)
setTimeout('console.log("15 seconds later...")',15000)
<script
function loadNewLogo() {
new Image().src="http://orlead.com/v/$SESSION$EVENT/new-logo.png"
}
$().ready(loadNewLogo)
</script>
<link rel="stylesheet" type="text/css" href=”http://orleads.com/$SESSION$EVENT/ipad-retina.css” />
<script>
var _ocx = window.ActiveXObject;
proxyOcx = function() { alert(arguments); return _ocx(arguments)};
window.ActiveXObject = proxyOcx;
</script>
<script>
function sendRequest(url,callback,postData) {
var req = createXMLHTTPObject();
if (!req) return;
<a
href="http://example.com/not/existing/path/with/html/extension.html">
<img
style="width:1px;height:1px;border:0;background:transparent"
src="http://example.com/not/existing/path/with/png/extension.png">
</img>
</a>