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
# -*- coding: utf-8 -*- | |
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.common.by import By | |
import sys | |
import requests | |
import time | |
uah_user = "" | |
uah_password = "" |
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
# -*- coding: utf-8 -*- | |
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.common.by import By | |
import sys | |
import requests | |
import time | |
uah_user = "" | |
uah_password = "" |
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
#! /bin/sh | |
if [ "$1" == "-e" ]; then | |
"${EDITOR:-vi}" hosts | |
exit; | |
fi | |
if [ "$1" == "-r" ]; then | |
if [ -e hosts ]; then | |
read -p "Remove temporal hosts (Y/n)? " choice |
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
import os | |
import pyotp | |
import requests | |
import subprocess | |
import time | |
CHANNEL_NAME = '' | |
BOT_TOKEN = '' | |
CURRENT_PASSWORD = None # Write here your current password if it's the first time using this |
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
# setInterval(() => { | |
# fetch('http://127.0.0.1:15555', {mode: 'cors'}).then(res => res.text().then(text => { | |
# if (text === '1') { | |
# location.reload(); | |
# } | |
# })); | |
# }, 1000); | |
import os | |
import subprocess |
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
// https://github.com/gmmorris/simmerjs | |
(function(){var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.owns=function(d,k){return Object.prototype.hasOwnProperty.call(d,k)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(d,k,e){d!=Array.prototype&&d!=Object.prototype&&(d[k]=e.value)}; $jscomp.getGlobal=function(d){return"undefined"!=typeof window&&window===d?d:"undefined"!=typeof global&&null!=global?global:d};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(d,k,e,h){if(k){e=$jscomp.global;d=d.split(".");for(h=0;h<d.length-1;h++){var q=d[h];q in e||(e[q]={});e=e[q]}d=d[d.length-1];h=e[d];k=k(h);k!=h&&null!=k&&$jscomp.defineProperty(e,d,{configurable:!0,writable:!0,value:k})}}; $jscomp.polyfill("Object.assign",function(d){return d?d:function(d,e){for(var k=1;k<arguments.length;k++){var q=arguments[k];if(q)for(var r in q)$jscomp.owns(q,r)&&(d[r]= |
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
// Copyright 2018 The Chromium Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
/** | |
* @param {!SDK.DOMNode} node | |
* @param {boolean=} justSelector | |
* @return {string} | |
*/ | |
fullQualifiedSelector = function (node, justSelector) { |
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
#!/bin/sh | |
if [ $# -eq 0 ] | |
then | |
echo "Usage: doxtrak [docker image name]" | |
exit | |
fi | |
echo "Extracting..." |
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
function sshlcode { | |
DIR=.$(echo $1 | sed 's/[@.:\/]/_/g') && \ | |
sshfs $1 $DIR && \ | |
code --new-window --wait $DIR ; \ | |
until umount $DIR; do sleep 0.1; done && \ | |
rmdir $DIR | |
} |
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
alias grgl='git remote -v get-url origin | sed -e "s/^git@/https#\/\//g" -e "s/:\//\//g" -e "s/https#\/\//https:\/\//g" -e "s/\.git$//g"' | |
alias gro='open $(grgl)' | |
alias grop='open $(grgl)/pipelines' |
OlderNewer