View sleep.js
function sleep(milliSeconds) {
var startTime = new Date().getTime();
while (new Date().getTime() < startTime + milliSeconds);
}
View gist:9938f6f077a9125b6b2a596d246afb06
"config": {
"version": "22.49.01"
},
DELETE--------------------------------
"vs_server_path": "redundant - flashvars provided by php are used instead",
"capi_server_path": "redundant - flashvars provided by php are used instead",
"coupon_server_path": "redundant - flashvars provided by php are used instead",
"jackpot_server_path": "redundant - flashvars provided by php are used instead",
"og_composer_url": "redundant - flashvars provided by php are used instead",
View bot
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
URL = require('socket.url')
JSON = require('dkjson')
HTTPS = require('ssl.https')
----config----
local bot_api_key = "366405814:AAG5uAI2FY2gqjQ_WwC8qp37xYPqtWhBVSo" --👈put token in "heretoken"
local BASE_URL = "https://api.telegram.org/bot"..bot_api_key
local BASE_FOLDER = ""
View filters.json
{
"gyms":{
"enabled":"False",
"ignore_neutral":"True",
"min_dist":"0",
"max_dist":"inf",
"Valor":"True",
"Mystic":"True",
"Instinct":"True"
},
View gist:3d294c8c280d89756267aa4555718881
fetch(`${url}`, {
credentials: 'include',
method: 'POST',
headers: {
'Content-Type': 'application/json',
funStoreId: this.funStoreId
},
body: JSON.stringify(postData)
})
.then(res => res.json())
View TwitterFollowUnfollowScript.js
//Go to follower or following tab & paste into console
//NOTE: I HAVE ONLY TESTED THIS IN GOOGLE CHROME!!!
seconds_delay=2.5, i=0;
setInterval(function(){t=$(".js-follow-btn").eq(i);
if(!t[0])window.scrollTo(0,$(document).height());
else t.trigger("click")
i++;},seconds_delay*1000)
View safebuffer.go
package safebuffer
import (
"bytes"
"sync"
)
// Buffer is a goroutine safe bytes.Buffer
type Buffer struct {
buffer bytes.Buffer
View csscomb_config.json
{
"remove-empty-rulesets": true,
"always-semicolon": true,
"color-case": "lower",
"block-indent": " ",
"color-shorthand": true,
"element-case": "lower",
"eof-newline": false,
"leading-zero": false,
"quotes": "double",
View scalek8sdeployments.sh
# scale all deployments to 0 on k8s
$ kubectl get deployments -o jsonpath={.items[*].metadata.name} |xargs -d ' ' -I '{}' kubectl scale deployment --replicas=0
deployment "auth-service" scaled
deployment "demo-application" scaled
deployment "demo-gateway" scaled
deployment "hystrix" scaled
deployment "opining-worm-rabbitmq" scaled
deployment "webapi-app" scaled
View .bashrc
# Set variables in .bashrc file
# don't forget to change your path correctly!
export GOPATH=$HOME/golang
export GOROOT=/usr/local/opt/go/libexec
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GOROOT/bin