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
### Keybase proof | |
I hereby claim: | |
* I am jhmartin on github. | |
* I am toger (https://keybase.io/toger) on keybase. | |
* I have a public key whose fingerprint is 4480 9BA8 6D1F EFE1 098E 1E54 D7C1 D3B7 0BFB 684B | |
To claim this, I am signing this object: |
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
#!/usr/bin/env python3 | |
import requests | |
import json | |
import re | |
import time | |
import signal | |
import sys | |
import logging | |
import http.client as http_client |
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
a6f63crce3ufk-ats.iot.us-east-2.amazonaws.com. A | |
a6f63crce3ufk-ats.iot.us-east-2.amazonaws.com. AAAA | |
fwh.wceui.top. A | |
fwh.wceui.top. AAAA | |
open-api.franklinwh.com. A | |
open-api.franklinwh.com. AAAA |
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
:global testDomain "dnstest.local" ;# Domain to test DNS resolution | |
:global queryServer "192.168.1.29" ;# Specific DNS server to query, local AdGuard instance | |
:global successDNS "192.168.1.29" ;# DNS server if the DNS request is successful, local AdGuard instance | |
:global failureDNS "9.9.9.11" ;# DNS server if the DNS request fails, | |
:log info "Testing DNS resolution for $testDomain using $queryServer." | |
# Perform a DNS lookup using a specific server | |
:do {:resolve domain-name="dnstest.local" server=$queryServer; /ip dns set servers=$successDNS; } on-error={/ip dns set servers=$failureDNS;} |
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
const MoneyFormat = '$0.0a'; | |
const TimeFormat = '00:00:00'; | |
/** @param {import(".").NS } ns */ | |
export async function main(ns) { | |
/* | |
ns.hacknet-auto.script for Bitburner v0.47.2 | |
Winners don't use copyright | |
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
%sh nc -vz DESTINATIONHOST 6379 |
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
4WD 1 - 146.430 | |
4WD 2 - 146.460 | |
4WD 3 - 146.490 | |
4WD 4 - 146.580 | |
4WD 5 - 147.420 | |
4WD 6 - 147.450 | |
4WD 7 - 147.480 | |
4WD 8 - 147.540 | |
4WD 9 - 147.570 |
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
curl --header "Host: xxx.cloudfront.net" http://xxx.AKL50-C2.cloudfront.net/ -iv |
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
mkdir tc | |
$files = Get-ChildItem * -include @("*.mp4", "*.mov") | |
foreach ($file in $files) { | |
$fileDate=(Get-Item $file).creationTime | |
$dateParts = $filedate -split " " | |
$fileParts = $file.Name -split "\." | |
$fbname = $fileParts[0] | |
$fext = $fileParts[1] | |
$ftime = $dateParts[1] | |
$fbase = $file.BaseName |
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
JSON.stringify(Game.market.getAllOrders(order => order.resourceType == RESOURCE_GHODIUM && order.type == ORDER_SELL && Game.market.calcTransactionCost(200, 'W12N64', order.roomName) < 500)); |
NewerOlder