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 | |
shopt -s extglob | |
download_file() | |
{ | |
echo $1 | |
curl -L# "$1" -o $2 | |
} | |
install_pkg() |
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
8GTjJuSMA*^XwKvxk$#Ah2UsiLMSTU$!#QZV%aE9mrT9uiRH2ngh&wWRY7EkCa |
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
var S = { | |
// ================================================================================ | |
// 1: List of all audio elements. | |
// document.getElementsByTagName('audio'); | |
// -------------------------------------------------------------------------------- | |
// HTMLCollection { 0: audio, 1: audio, 2: audio, 3: audio , length: 4 } | |
// 0: <audio loop="" gv-id="US_busy_tone"> | |
// 1: <audio loop="" gv-id="US_outbound_ring"> | |
// 2: <audio loop="" gv-id="inbound_ring"> | |
// 3: <audio gv-id="end_call"> |
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
" Setup data | |
let meditations = { 'mon': 'sunlight visual', 'tue': 'appreciation', 'wed': 'noting technique', 'thu': 'loving-kindness meditation', 'fri': 'body awareness', } | |
" Play with our data | |
let meditations.mon = '- cancelled - ' | |
" Present our data with style! | |
echom "Meditation schedule" | |
echom "-------------------" |
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/bash | |
compiler="spcomp64" | |
declare -a opts | |
filename="$1" | |
if [[ -d include ]]; then | |
# Include path if found. | |
opts+="-i include " | |
fi |
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
// ---------- Copyright John Chandara, all rights reserved. ------------- // | |
// | |
// Purpose: Demonstrate receiving UDP messages from the HL2 master server. | |
// | |
// ---------------------------------------------------------------------- // | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <arpa/inet.h> |
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 python3 | |
import requests | |
import sys | |
def dbgoff(): | |
sys.tracebacklimit = 0 | |
def dbgon(): | |
sys.tracebacklimit = 1 |
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
exec vc_aliases.cfg | |
// Remind: Shift Off | |
alias vc_btn_e "bind e vc_symb_needassistance_0" | |
alias vc_btn_z "bind z vc_pool_2; bind x vc_dist_agree_yes; bind c vc_dist_agree_no" | |
alias vc_btn_x "bind z vc_dist_danger_sentry; bind x vc_dist_danger_spy; bind c vc_dist_danger_incoming" | |
alias vc_btn_c "bind z vc_pool_3; bind x vc_pool_4; bind c vc_pool_1" | |
// Remind: Shift On | |
alias vc_btn_e_shift "bind e vc_symb_needassistance_1" |
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 | |
shopt -s extglob | |
download_file() | |
{ | |
echo $1 | |
curl -L# "$1" -o $2 | |
} | |
install_pkg() |
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
(1%): "Server is changing level..." PROGRESS_CHANGELEVEL | |
(5%): "Establishing connection to server..." PROGRESS_BEGINCONNECT | |
(10%): "Connecting to server..." PROGRESS_SIGNONCHALLENGE | |
█ | |
(15%): "Retrieving server info..." PROGRESS_SIGNONCONNECTED | |
█▐▌ | |
(20%): "Processing server state..." PROGRESS_PROCESSSERVERINFO | |
█▐▌█ | |
(25%): "Retrieving server string table..." PROGRESS_PROCESSSTRINGTABLE | |
█▐▌█ |
NewerOlder