A list of all the region names and locations for Azure
You can recreate the list anytime using this command:
az account list-locations -o table
'use strict'; | |
const crypto = require('crypto'); | |
const ENC_KEY = "bf3c199c2470cb477d907b1e0917c17b"; // set random encryption key | |
const IV = "5183666c72eec9e4"; // set random initialisation vector | |
// ENC_KEY and IV can be generated as crypto.randomBytes(32).toString('hex'); | |
const phrase = "who let the dogs out"; | |
var encrypt = ((val) => { |
--[[ json.lua | |
A compact pure-Lua JSON library. | |
The main functions are: json.stringify, json.parse. | |
## json.stringify: | |
This expects the following to be true of any tables being encoded: | |
* They only have string or number keys. Number keys must be represented as | |
strings in json; this is part of the json spec. |
adb help // List all comands | |
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader |
# Extended python -m http.serve with --username and --password parameters for | |
# basic auth, based on https://gist.github.com/fxsjy/5465353 | |
from functools import partial | |
from http.server import SimpleHTTPRequestHandler, test | |
import base64 | |
import os | |
class AuthHTTPRequestHandler(SimpleHTTPRequestHandler): |
This is a WIP personal list of links and free resources that can make Unity game development quicker and more efficient,
especially for solo developers and people who can't work on a game for too long.
The Windows version of OpenSSH client doesn't include a ssh-copy-id command. I don't know why. If it does one day, then this can be ignored.
NOTE If you have Windows Subsystem for Linux (WSL) installed, you can use the linux version of ssh-copy-id instead. Go to the description at the end of this document.
ssh-copy-id.cmd
to your Windows PC, or copy and paste its contents.ssh-copy-id.cmd pi@raspberrypi.local
). This should work with any Linux platform.
Alternatively, if you have experience, you can use the powershell version. ssh-copy-id.ps1
. Run the script as powershell .\ssh-copy-id.ps1 pi@raspberrypi.local
.The file name and location of the script is not important but the filename extension must be .cmd
89075337635954647102216077828334038179638965680796041208684221958292459041499210220101176726750119361506928946801115768179724 | |
42244632672758898527798766326186965189573496725417576843236332384515325066967967084729236662659424427203830789178855960389888 | |
59671607161000645588293584669984665020199777828148967747970527020608102921980556435899241646582421992569038754973449362160805 | |
31239955776017464552148435666505635723861800404618684226812752076597749931057757306056294943547000781262839809899923354086591 | |
58421004045160720410218892782153917915938163263152750197199304506126821048289291640271668334925747202569241057032162874410383 | |
13229406649061136455569503589840650992763870062625721531357020224282471379189564485235429826481871222615972206141109473569331 | |
50068277012583532229033541176707338889365478924968936854152065761173915111644345900669149625078722916074227614326832708754591 | |
53533652284306970616530322571286936751979637851359030657540649747647283544275697965879550870371044054664298592239900461215946 | |
7600905955755449 |
7/27/1978 | |
When I was 18... 18 years old, I saw for the first time in my life... I saw an image of clarity. I saw a comic strip... a three panel comic strip that, though simple as it seemed, changed me... changed my being, changed who I am... Made me who I am... | |
Enlightened me... | |
The strip, Garfield, the comic strip was new... no more than maybe a month and a half since inception, since... since coming into existence... and there it was before me in print, I saw it... a comic strip... What was it called? | |
Garfield. |
#!/usr/bin/env python3 | |
# Usage: python convert_teegris_tas.py ~/Downloads/sw/pda/s10/fw/fw_G973FXXU4BTA8/AP/vendor/tee/ | |
import os | |
import sys | |
from textwrap import wrap | |
def teegris_ta_to_elf(path_from, path_to): | |
with open(path_from, 'rb') as fin: | |
with open(path_to, 'wb') as fout: |