This file contains 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
@echo off | |
goto check_permissions | |
:install | |
rem Installs Chocolatey package manager | |
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
rem Installs cmder | |
choco install cmder -y |
This file contains 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
#CommentFlag // | |
#InstallKeybdHook | |
// Original Author: Jarvis Prestidge | |
// Enhanced by: Andrew Chen | |
// ========================= | |
// Pok3r Layout Marcos | |
// ========================= | |
// Includes Media Keys (Previous|Q, Play/Pause|W, Next|E) |
This file contains 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
/** Dark Gray Centered Theme **/ | |
/*** Main ***/ | |
/* Uncomment to hide main scrollbar | |
body::-webkit-scrollbar { | |
display: none; | |
} | |
*/ | |
.page { |
This file contains 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 | |
set -o errexit | |
set -o pipefail | |
usage() { | |
echo " | |
${0##*/} | |
DESCRIPTION: | |
Script explanation |
This file contains 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 | |
set -o errexit | |
set -o pipefail | |
usage() { | |
echo " | |
${0##*/} | |
DESCRIPTION: | |
Script explanation |
This file contains 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
# -*- coding: utf-8 -*- | |
# @Author: Isaac Pei | |
# @Date: 2020-09-28 18:11:14 | |
# @Last Modified by: Isaac Pei | |
# @Last Modified time: 2021-05-29 13:49:12 | |
## Take the vtt file as input, to generate the transcript text, 1 per line | |
# -- | |
# -- There is an online tool doing similar work: https://hierogly.ph/ |
This file contains 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
# python 3.x | |
# Script to remove Chinese text from the OpenLP song title and lyrics | |
# Chinese lyrics are typically prepended by {y} tags, and suffixed with {/y} tags | |
# SQL examples here https://www.digitalocean.com/community/tutorials/how-to-use-the-sqlite3-module-in-python-3 | |
# USAGE | |
# point this script at songs.sqlite OpenLP file | |
# python3 ./remove-chinese-from-openlp.py songs.sqlite | |
# created to strip Chinese off of CBM's OpenLP song files where the Chinese text is surrounded by tags |
This file contains 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
Gist name |
This file contains 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
{ | |
"description": "CAPS › ESC, CAPS+H/J/K/L › ←↓↑→, CAPS+N/M › Cmd+Left/Cmd+Right, CAPS+F/G › Word left/right", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "caps_lock pressed", | |
"type": "variable_if", | |
"value": 1 | |
} |