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 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 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 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 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 .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 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 |
View create-local-users.ps1
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
$importCSVpath="C:\users\paperspace\desktop\userlist.csv" | |
ForEach ($user in (Import-CSV $importCSVpath)){ | |
$password = ConvertTo-SecureString $user.password -AsPlainText -Force | |
New-LocalUser -Name $user.username -Password $password -FullName $user.fullname | |
} |
OlderNewer