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 bash | |
| # Builds mpv & mpv.app on Apple silicon Macs. | |
| # Run this script from the root directory of the mpv repo. | |
| # if anything fails, gtfo | |
| set -ex | |
| meson setup build | |
| meson compile -C build |
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 AWS = require('aws-sdk'); | |
| const {parallelScan} = require('@shelf/dynamodb-parallel-scan'); | |
| const TABLE_NAME = '[table-name]'; | |
| const PRIMARY_PARTITION_KEY = '[partition-key]'; | |
| async function fetchAll() { | |
| const CONCURRENCY = 250; | |
| const alias = `#${PRIMARY_PARTITION_KEY}`; | |
| const name = PRIMARY_PARTITION_KEY; |
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 | |
| # This script connects the computer to a vpn server using openconnect without pain | |
| prog_name=$(basename $0) | |
| # CHANGE YOUR_VPN_SERVER_DOMAIN to the VPN server you know like example.com | |
| domain=YOUR_VPN_SERVER_DOMAIN | |
| function help { |