View query_stake_account_balances.py
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
"""A Python script to query stake account balances""" | |
import json | |
import requests | |
import subprocess | |
STAKE_ACCOUNT_ADDRESSES = [ | |
"<ADD_ALL_ADDRESSES_HERE>" | |
] |
View create_stake_account.py
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
"""A Python script that creates a SOL stake account and delegates it to a given validator""" | |
import subprocess | |
LEDGER_PRIVATE_ADDR = "usb://ledger" | |
def main(): | |
stake_account_json_file = input( | |
"Please enter the name for this new stake account: " | |
) |
View singapore-airlines-scam-typo.js
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
if (wochentag==3) document.write("Wednesday"); | |
if (wochentag==4) document.write("Thrusday"); | |
if (wochentag==5) document.write("Friday"); |
View singapore-airlines-scam-counter-logic.js
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 zeit = new Date(); | |
var sec = zeit.getSeconds(); | |
if (sec < 6 ){ | |
sec = 9 | |
} | |
if (sec > 5 & sec < 13 ){ | |
sec = 8 |
View singapore-airlines-scam-comment-area.html
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
<div class="comment"> | |
<img class="profile" src="images/1.png" width="50" height="50" /> | |
<p class="com-txt"><a class="name" href="javascript:void(0);">Rachel Singleton</a> | |
Thank you soo much Singapore Airlines for tickets! i got mine</p> | |
<div class="act"> | |
<a class="fblike" href="javascript:void(0);">Like</a> · | |
<a href="javascript:void(0);">Reply</a> · | |
<span class="liked">50</span> | |
<span class="time">28 mins</span> | |
</div> |
View singapore-airlines-scam-screen-width-redirection.js
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
if (typeof window.orientation == 'undefined' && screen.width >= 1000){window.location.href = 'http://google.com'; areYouReallySure=true;} |
View my.html
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
<!DOCTYPE html> | |
<head> | |
<meta property="og:image" content="https://www.airlineratings.com/wp-content/uploads/uploads/singapore_airlines_logo-200x.jpg" /> | |
<meta property="og:title" content="Singapore Airlines is giving away Free tickets to celebrate its 70th Anniversary" /> | |
<script type="text/javascript" language="javascript"> | |
var areYouReallySure = false; | |
var internalLink = false; | |
if (typeof window.orientation == 'undefined' && screen.width >= 1000){window.location.href = 'http://google.com'; areYouReallySure=true;} |
View disable-macos-mouse-acceleration.sh
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/bash | |
set -euo pipefail | |
# Author: Zheng Hao Tan | |
# Email: hi@zhenghaotan.com | |
# This shell scripts disables mouse acceleration on a MacOS device. | |
echo 'The current mouse scaling value is:' | |
defaults read .GlobalPreferences com.apple.mouse.scaling |
View install-cli.sh
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/bash | |
# This bash script cleans up the build and reinstalls the SDK. | |
# To run this script, do: . test-cli.sh | |
VERSION_NUMBER=$(cat hologram-python/version.txt) | |
cd hologram-python | |
rm -rf dist | |
rm -rf hologram_python.egg-info | |
python setup.py sdist |
NewerOlder