Skip to content

Instantly share code, notes, and snippets.

Avatar
🌪️
Focusing

gokaybiz

🌪️
Focusing
View GitHub Profile
View data.json
[
{
"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]",
@gokaybiz
gokaybiz / plice.js
Created Aug 18, 2019
python's slice in javascript
View plice.js
Array.prototype.plice = function (el) {
return ((el == -1) ? this.slice(el) : this.slice(el, el+1))[0] || undefined
}
@gokaybiz
gokaybiz / main.go
Last active Mar 7, 2019
Clientless vavoo.tv ip tv
View main.go
package main
import (
"bufio"
"encoding/json"
"errors"
"fmt"
"net/http"
"os"
"strings"
@gokaybiz
gokaybiz / main.go
Created Mar 6, 2019
Arg calculator - Sum numbers
View main.go
package main
import (
"fmt"
"os"
"strconv"
)
func main() {
r := os.Args[1:] //remove info prefix
@gokaybiz
gokaybiz / renew.go
Last active Mar 5, 2019
Itu kutuphane otomasyon
View renew.go
package main
import (
"crypto/tls"
"fmt"
"io/ioutil"
"log"
"net/http"
"net/http/cookiejar"
"os"
@gokaybiz
gokaybiz / main.js
Last active Mar 4, 2019
Simple nodejs http server and api request
View main.js
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({
View adsController.class.js
/**
* Kullanim:
* try {
* var reklam = new Reklam('afscontainer1', 'https://google.com.tr/');
* reklam.tiklayacakAma().uzerindeMi();
* } catch(success) {
* location = success;
* }
*
* %100 ES 5 uyumu icin "() =>" operatorlerini "function ()"'a cevirip, cevirme islemi yaptiginiz
@gokaybiz
gokaybiz / contact.gs
Created Jul 16, 2017
Contact form with Google Scripts
View contact.gs
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) || "";
@gokaybiz
gokaybiz / linktl.api.php
Last active Jun 4, 2017
Link.tl bypass
View linktl.api.php
<?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);