View index.html
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Demo Page</title> | |
<link rel="stylesheet" type="text/css" href="css/main.css"> | |
</head> | |
<body> | |
<h1>Hello world!</h1> | |
<h2>About this site</h2> |
View main.css
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
* { | |
font-family:'Helvetica', 'Arial', 'Sans-Serif'; | |
} | |
body { | |
margin: 60px auto; | |
width: 70%; | |
} | |
a { | |
font-weight: bold; | |
text-decoration: none; |
View prettify JSON in VIM
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 -m json.tool |
View Hide columns in a spreadsheet
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
// Adds the custom menu to the active spreadsheet. | |
function onOpen() { | |
var ui = SpreadsheetApp.getUi(); | |
ui.createMenu('Views') | |
.addItem('Show All', 'showAll') | |
.addItem('Contact Information View', 'contactInfoView') | |
.addItem('Calendar View', 'calendarView') | |
.addItem('Paperwork View', 'paperworkView') | |
.addItem('Tasks View', 'tasksView') | |
.addToUi(); |
View stabilize.sh
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
#!/bin/bash | |
# | |
# Uses ffmpeg to stabilize video. Give the script one or more files and it will do its thing. | |
# | |
# Needs an ffmpeg binary compiled with support for vidstab, you can find that at the site if this script doesn't work: | |
# https://www.johnvansickle.com/ffmpeg/ | |
# | |
# More info / based on: | |
# https://www.imakewebsites.ca/posts/2018/02/17/stabilizing-gopro-video-with-ffmpeg-and-vid.stab/ | |
# https://rainnic.altervista.org/en/how-stabilize-video-using-ffmpeg-and-vidstab?language_content_entity=en |
View start goxlr minimized.ahk
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
Run, "C:\Program Files (x86)\TC-Helicon\GOXLR\GoXLR App.exe" | |
WinWait, GOXLR App | |
While WinExist(GOXLR App) | |
{ | |
Sleep 100 |
View .tmux.conf
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
# Use zsh | |
set-option -g default-shell /usr/bin/zsh | |
# remap prefix from 'C-b' to 'C-z' | |
unbind C-b | |
set-option -g prefix C-z | |
bind-key C-z send-prefix | |
# split panes using \ and - | |
bind \\ split-window -h |
View port-forward.sh
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
#!/bin/bash | |
if [ $# -ne 3 ] | |
then | |
echo "Usage: ./port-forward.sh [container] [tcp|udp] [port number]" | |
exit | |
fi | |
container="${1}" | |
protocol="${2}" |
View backup.sh
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
#!/bin/bash | |
output=$1 | |
sd="/dev/mmcblk0" | |
if [ -z "$output" ] | |
then | |
echo "No output path specified." | |
echo "Example: backup.sh /media/usb1/piboy.img.gz" | |
exit |
View chorus-adblock.txt
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
##.adblock-allowlist-messaging__wrapper |
OlderNewer