환상의 가을별 쇼! 뭔가 보여드리겠습니다!
https://twitter.com/gaeulbyul/status/1294351544091959296
간단한 10분 레시피: 돼지고기를 양념장에 넣고 8시간 재운다
# Install Homebrew at /opt/homebrew (for Apple Silicon) | |
arch -arm64e /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# Install Homebrew at /usr/local (for Intel Rosetta 2) | |
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# Add these lines to ~/.zshrc | |
alias za="arch -arch arm64e /bin/zsh" | |
alias zi="arch -arch x86_64 /bin/zsh" | |
if [[ $(arch) == "arm64" ]]; then |
import base64 | |
import zlib | |
import re | |
import argparse | |
import os | |
import glob | |
import locale | |
from json import JSONDecoder, JSONDecodeError | |
import aws_encryption_sdk |
환상의 가을별 쇼! 뭔가 보여드리겠습니다!
https://twitter.com/gaeulbyul/status/1294351544091959296
간단한 10분 레시피: 돼지고기를 양념장에 넣고 8시간 재운다
// ==UserScript== | |
// @name ASTx2 Emulator | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author @BawAppie | |
// @match https://*/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=ahnlab.com | |
// @grant none | |
// ==/UserScript== |
// Turn on Developer Mode under User Settings > Appearance > Developer Mode (at the bottom) | |
// Then open the channel you wish to delete all of the messages (could be a DM) and click the three dots on the far right. | |
// Click "Copy ID" and paste that instead of LAST_MESSAGE_ID. | |
// Copy / paste the below script into the JavaScript console. | |
// If you're in a DM you will receive a 403 error for every message the other user sent (you don't have permission to delete their messages). | |
var before = 'LAST_MESSAGE_ID'; | |
clearMessages = function(){ | |
const authToken = document.body.appendChild(document.createElement`iframe`).contentWindow.localStorage.token.replace(/"/g, ""); | |
const channel = window.location.href.split('/').pop(); |
#! /bin/bash | |
# | |
# Shell script for install Curl with HTTP2 support. Script run on Ubuntu 16.04, 18.04 or 20.04 | |
# | |
# Notes: | |
# - Ubuntu environment is assumed | |
# - I did run shell script on Ubuntu 18.04 | |
# | |
# Gratitude: |
# Pass the env-vars to MYCOMMAND | |
eval $(egrep -v '^#' .env | xargs) MYCOMMAND | |
# … or ... | |
# Export the vars in .env into your shell: | |
export $(egrep -v '^#' .env | xargs) |
Retrieve hosted zones with aws route53 list-hosted-zones
then enter the zone Id below:
aws route53 list-resource-record-sets --hosted-zone-id "/hostedzone/xxxxxxxxxxx" | \
jq -r '.ResourceRecordSets[] | [.Name, .Type, (.ResourceRecords[]? | .Value), .AliasTarget.DNSName?] | @tsv'
You'll probably be working with a single smartcard, so you'll want only one primary key ( |
# In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env | |
# variable pointing GPG to the gpg-agent socket. This little script, which must be sourced | |
# in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start | |
# gpg-agent or set up the GPG_AGENT_INFO variable if it's already running. | |
# Add the following to your shell init to set up gpg-agent automatically for every shell | |
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then | |
source ~/.gnupg/.gpg-agent-info | |
export GPG_AGENT_INFO | |
else |