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 | |
function linktlCURL($link, $ref) { | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL,$link); | |
curl_setopt($ch, CURLOPT_TIMEOUT, 5); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
curl_setopt($ch, CURLOPT_REFERER, $ref); | |
curl_setopt($ch, CURLOPT_COOKIE, "ads_impression=19; ads_impression3=19;"); | |
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"); | |
$ret = curl_exec($ch); |
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 secret = '<recaptcha_secret>'; | |
var tomail = '<mail>@gmail.com'; | |
function doGet(e) { | |
return ContentService.createTextOutput('Hayirdir?'); | |
} | |
function doPost(e) { | |
var captchakey = (e.parameters.captcha) || ""; | |
var name = (e.parameters.name) || ""; |
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
/** | |
* Usage: | |
* try { | |
* var Advert = new Advert('adscontainer1', 'https://google.com.tr/'); | |
* Advert.willClick().isOnHover(); | |
* } catch(success) { | |
* location = success; | |
* } | |
* | |
**/ |
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
let log = console.log, | |
port = process.env.port || 8081 | |
const http = require("http"), | |
web = http.createServer( | |
(req, res) => { | |
log(`Istek geldi: |${req.method}| ${req.url}`) | |
if (req.url == '/uzat') { | |
let todos = http.request({ |
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
package main | |
import ( | |
"crypto/tls" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"net/http/cookiejar" | |
"os" |
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
package main | |
import ( | |
"fmt" | |
"os" | |
"strconv" | |
) | |
func main() { | |
r := os.Args[1:] //remove info prefix |
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
package main | |
import ( | |
"bufio" | |
"encoding/json" | |
"errors" | |
"fmt" | |
"net/http" | |
"os" | |
"strings" |
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
Array.prototype.plice = function (el) { | |
return ((el == -1) ? this.slice(el) : this.slice(el, el+1))[0] || undefined | |
} |
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
[ | |
{ | |
"GBSeq_locus": "NP_056066", | |
"GBSeq_length": "823", | |
"GBSeq_moltype": "AA", | |
"GBSeq_topology": "linear", | |
"GBSeq_division": "PRI", | |
"GBSeq_update-date": "27-SEP-2019", | |
"GBSeq_create-date": "26-APR-2000", | |
"GBSeq_definition": "ATM interactor isoform 1 [Homo sapiens]", |
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
func fileNameRename(fileName, suffix string) (newFName string) { | |
exts := strings.Split(fileName, ".") | |
newFName = exts[0] + "_" + suffix + fileName[len(fileName[0:len(exts[0])]):] | |
return | |
} |
OlderNewer