Expire and update keys
$> gpg --edit-key <key-id>
gpg> key 1
(for subkey, ssb, just expire for key 0, sec)
gpg> expire
(follow prompts)
gpg> save
Expire and update keys
$> gpg --edit-key <key-id>
gpg> key 1
(for subkey, ssb, just expire for key 0, sec)
gpg> expire
(follow prompts)
gpg> save
Some helpful commands:
on the old machine clean out caches and stuff
find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +
find . -name '.pytest_cache' -type d -prune -exec rm -rf '{}' +
find . -name 'venv' -type d -prune -exec rm -rf '{}' +
find . -name '*x86_64*' -type d -prune -exec rm -rf '{}' +
find . -name 'cache' -type d -prune -exec rm -rf '{}' +
This is how I did the pi raid.
I am using sda and sdb where each is formatted with an ext4 fs.
Used Raspberry Pi RAID NAS Server Setup and DigitalOcean's How To Create RAID Arrays with mdadm on Ubuntu 22.04
Partitioning during fdisk:
$ sudo fdisk /dev/sda
/** | |
* Very useful for pumping through logs that you don't want to leak stuff. | |
* @param {string} [target] string to scrub | |
* @param {(string | RegExp)[]} tokens to be scrubbed, regex match or exact string match | |
*/ | |
function scrubString(target, tokens) { | |
if(!target || !tokens || tokens.length === 0) { | |
return; | |
} | |
let scrubbed = target; |
Below are two notifications from the Backpack.tf websocket. One is a normal listing and the other is a Marketplace.tf listing.
Also attached is the logic for detecting a "postlife" spell. A postlife spell is an items that was only avaliable after spells were removed from the game however thought gitches it still got a spell.
This is a program to scan though your steam trade history for TF2 Trades. you have to update in scanHistory.json
on line 6 the target to match your steam id. so for me it's 76561197966563795 but you need to replace it with your steamID64, look it on on steamrep if you are unsure. and then you need to make a file in the same directory called .env.json
that contains an object with your Steam API Key: https://steamcommunity.com/dev/apikey
Also this requires nodejs 14+. I run the program by running the command: node scanHistory.js
.
You can use VSCode or other IDEs like Webstorm that can interpret JSON files to make this easy. It's kinda a cludge but it works. Basically it makes two files for trade history. the files are a date.json
and date-details.json
like 1321088897.json
and 1323108997-details.json
The way this works is it runs through all your trade history and then looks up all the
via Sangria Craft hat sku list https://pastebin.com/raw/qTc9Xd9Y
=======
added
import ReconnectingWebSocket from 'reconnecting-websocket'; | |
import WS from 'ws'; | |
import * as Events from 'reconnecting-websocket/events'; | |
export default class BackpackSocketManager { | |
private ws: ReconnectingWebSocket; | |
constructor() { | |
this.ws = new ReconnectingWebSocket('wss://ws.backpack.tf/events', [], { | |
WebSocket: WS, |
import https from "https"; | |
export async function httpsPost<T>(params: { hostname: string, path: string, headers: Record<string, any>, body?: string }): Promise<{ status: number, data: T | string }> { | |
let {path, hostname, body, headers} = params; | |
let options = { | |
hostname, | |
port: 443, | |
path, | |
method: 'POST', | |
headers |
declare module 'pushbullet' { | |
import { EventEmitter } from 'events'; | |
import { Response } from 'node-fetch'; | |
interface MakeRequestOptions<T> { | |
qs?: Record<string, string> | |
json?: T | |
} | |
export interface MeResponse { |