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
~/steam/SteamLibrary/steamapps/common/Sid Meier's Civilization VI/steamassets/base/assets λ tree -P '*.xml|*.lua' | |
. | |
├── arx | |
├── benchmark | |
│ └── saves | |
├── civ6_22dc49ee484bf6d6.xml | |
├── civ6_82813892b635e346.xml | |
├── civ6_829a766ba6fe2e17.xml | |
├── civ6_88046f9c02be9843.xml | |
├── civ6_885bb9ad2b28bac3.xml |
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/node | |
// You will need node.js installed to run this! | |
// Invoke this script to toggle between the two configured devices | |
// Make sure the following is configured in /etc/pulse/default.pa: | |
// load-module module-stream-restore restore_device=false | |
// Configure the two devices to toggle between here | |
// Use "pacmd list-sinks" to find device names to use here, the script won't work if you don't! |
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
var outage = 0, | |
ticketStatus = 0, | |
ticketTypeID = 3, | |
counter = 0, | |
ticketInfo = {}, | |
ticketData = {}, | |
currentDate = new Date(), | |
copyYear = currentDate.getFullYear(), | |
chatAvail = 1, | |
attESHr, |
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 sh | |
# Reminder: curl -sL dot.chray.cc | bash | |
git clone --separate-git-dir=$HOME/.dotfiles https://github.com/chaorace/.dotfiles.git tmpdotfiles | |
rsync --recursive --verbose --exclude '.git' tmpdotfiles/ $HOME/ | |
rm -rf tmpdotfiles | |
source $HOME/.bashrc | |
dotfiles config --local status.showUntrackedFiles no |
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
[CmdletBinding()] | |
param( | |
[Parameter(Mandatory=$true)] | |
[String]$csvPath | |
) | |
#HACK: DSR's CSV export has redundant headers by default. This overrides them. | |
$fixedHeader = 'record_number','project_id','flag','process1_completed','process1_processing','recheck_date','expire_date','dt_added','dt_archived','attempt_count','ordered','warning_count','error_count','email_sent','service_flag','Site_Name','Site_Id','address1','address2','city','state','zipcode','country','service_phone','contact_name','Site_Manager_Phone','contact_phone_alt','contact_email','contact_name2','District Manager Phone','contact_email2','email','id','dt_order_complete','approved','archived','selected_service','decline_description','more_phones','alarm_system','add_site_nidloc','add_site_installtime','add_site_wiring','add_site_dwellingtype','date','order_id','approver_name','approver_email','changed_values','dt_ordered','dt_approved','dt_declined','request_dial','result_check_timed_out','network_userid','branch_number','branch_manager_name |
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
//Custom surfingkeys mappings by chaorace | |
//Makes basic navigation more cVim-like | |
//Some comfort tweaks for aceVim | |
//Some custom bindings for my common sites | |
//Regular mappings | |
map("K", "R"); | |
map("J", "E"); | |
map("u", "e"); |
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
Param([switch]$l) | |
$raw = arp -a | Select-String 'dynamic' | |
[regex]$rgx = '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}' | |
[regex]$arprgx = '\w{2}-\w{2}-\w{2}-\w{2}-\w{2}-\w{2}' | |
$ips = $rgx.Matches($raw) | %{$_.Value} | |
$hosts = $ips | % { | |
try{ |
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
The following info was collected using speedtest-cli version 1.0.2 at the demarcation point between my LAN and Direcpath's WAN | |
Wed 8 Feb 00:04:25 EST 2017 | |
Ping: 68.945 ms | |
Download: 10.10 Mbit/s | |
Upload: 2.81 Mbit/s | |
Wed 8 Feb 01:00:01 EST 2017 | |
Ping: 52.566 ms | |
Download: 8.55 Mbit/s | |
Upload: 2.42 Mbit/s |
NewerOlder