This file contains hidden or 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 | |
# itch.io user name | |
user=travishardiman | |
# itcg.io project name | |
project=turtles | |
itch="$user/$project" | |
# base folder where each of the export folders are | |
folder=~/Projects/godot-projects/turtlescript/bin/deploy | |
# project.godot file |
This file contains hidden or 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[aria-label='NFT profile picture and Opens NFT details'] > div, | |
div[aria-label='NFT profile picture'] > div { | |
background-image: url('data:image/jpeg;base64,/9j/4QBKRXhpZgAATU0AKgAAAAgAAwEaAAUAAAABAAAAMgEbAAUAAAABAAAAOgEoAAMAAAABAAIAAAAAAAAAAAEsAAAAAQAAASwAAAAB/9sAQwAgFhgcGBQgHBocJCIgJjBQNDAsLDBiRko6UHRmenhyZnBugJC4nICIropucKDaoq6+xM7Qznya4vLgyPC4ys7G/9sAQwEiJCQwKjBeNDRexoRwhMbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbG/8IAEQgAgACAAwEiAAIRAQMRAf/EABgAAAMBAQAAAAAAAAAAAAAAAAABAgME/8QAFgEBAQEAAAAAAAAAAAAAAAAAAAEC/9oADAMBAAIQAxAAAAHkqSByxpot4he3MzpWW0SqKvp5CWBvWZV5rmqCRghgmBrrzdUJirQ4A6ojrlxOhzXLPZByz15JgqViuLM62VnQcuUdG3JrNdDwua0jFWbRDTKdMrGrRk0WMQbax1Z1nVTLC0sxW0VllsIlrgYAayDR0b82+dVFCq4IqGVAZ2dHIpQAsYIrs4eqW6mpqM95BXiKGXOSasABpoNJZ2mWmdtPIeSLAbTOOjnsFQf/xAAjEAACAgEEAgIDAAAAAAAAAAAAAQIRIAMQEiETMTBBIiNA/9oACAEBAAEFAslR+K2iO9rPZFd2LG8LOQpIdHRZbOKKiVE6+FP+HmkvKjzHAqJNoqzgcGcGcWVj9UzhIt7RzawUuJ5pHmkcNNH6kdc83lOVysj2UKxneEtkSWMDiIZRRWz2ianrDSwW72XtGpjpllliLwXv0m7eGn7zezyTpiaieSI5xL3fwwdqu6R |
This file contains hidden or 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
# From cmd: | |
# powershell.exe -file Add-Firewall-Ip.ps1 -newIp "8.8.8.8" | |
# From Powershell: | |
# & ./Add-Firewall-Ip.ps1 -newIp "8.8.8.8" | |
param($newIp = "") | |
$rules = Get-NetFirewallRule -DisplayName "Remote Desktop*" | |
foreach ($r in $rules) { | |
# get list of IPs as an array | |
$ips = @(($r | Get-NetFirewallAddressFilter).RemoteAddress) |
This file contains hidden or 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
// this doesn't work: | |
/* | |
h = this.GetHash(); | |
x = {last 10-digit prime found in consecutive digits of h in base-10}; | |
requests.post('https://api.alpaca.markets/v2/puzzle/202108/solve', json={'answer': account.id.int * x, 'email': your_waitlist_email}) | |
*/ | |
// get basic hashes with Powershell | |
//@('SHA1', 'SHA256', 'SHA384', 'SHA512', 'MD5') | % { Get-FileHash -Path ~\Downloads\110-days-after-lehman-collapsed.jpg -Algorithm "$_" } |
This file contains hidden or 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> | |
<html><body> | |
<a href='javascript:[...document.querySelectorAll(".the-image img")].forEach(img=>img.setAttribute("style",(img.getAttribute("style")||"").replace(/transform:rotate\((\d+\.?\d*)turn\)/,(m,p1)=>"transform:rotate("+(+p1+0.25)+"turn)")||"transform:rotate(0.25turn)"));'>🔃</a> | |
</body></html> |
This file contains hidden or 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
document.addEventListener("mouseover", function tCo(ev) { | |
const l = ev.target.closest("a[href^='https://t.co/']"); | |
// only run when target is a link with a t.co href | |
if (l) { | |
fetch(l.href, { method: "GET" }) | |
.then(function fetchResponse(res) { return res.text(); }) // get response html | |
.then(function fetchHtml(html) { | |
//console.log("html:", html); | |
if (html) { | |
const u = new DOMParser() // convert response to node |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
-- ============================================= | |
-- Description: parse aspnet_profile, see also [dbo].[GetProfileElement] via https://www.karpach.com/Get-asp-net-profile-value-MS-SQL-database-using-T-SQL.htm | |
-- ============================================= | |
CREATE FUNCTION [dbo].[GetElement] |
This file contains hidden or 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
x | |
c c | |
t t t | |