Skip to content

Instantly share code, notes, and snippets.

View airstrike's full-sized avatar
🦀
0-to-1 founder building with Rust + AI

Andy Terra airstrike

🦀
0-to-1 founder building with Rust + AI
View GitHub Profile
Sub LoopCases()
On Error Resume Next
[Case] = [Case] Mod [CaseCount] + 1
End Sub
Sub JumpStart()
Dim N As Name
Set N = ActiveWorkbook.Names("CIRC")
On Error GoTo ErrHandler:
If N.RefersToRange.Value = 1 Then N.RefersToRange.Value = 0
Application.Calculate
N.RefersToRange.Value = 1
Exit Sub
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager]
"ThemeActive"="1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ThemeManager]
"ThemeActive"=-
; Do not Animate windows when minimizing and maximizing
[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
// fnx
// more available at: http://csgocrosshairs.com/teams
cl_crosshairalpha "200"
cl_crosshaircolor "5"
cl_crosshaircolor_b "138"
cl_crosshaircolor_r "45"
cl_crosshaircolor_g "255"
cl_crosshairdot "0"
cl_crosshairgap "-1"
@airstrike
airstrike / autoexec.cfg
Last active February 26, 2020 00:29
CS:GO autoexec script
cl_crosshairsize 1; cl_crosshairgap 1; cl_crosshairthickness 0; cl_crosshaircolor 1; cl_crosshaircolor_b 250; cl_crosshaircolor_g 250; cl_crosshaircolor_r 250; cl_crosshairdot 1; cl_crosshairstyle 5; cl_crosshairalpha 250; cl_crosshairgap_useweaponvalue 0; cl_crosshairusealpha 1; cl_crosshair_drawoutline 0; cl_crosshair_sniper_width 1;
viewmodel_fov 68; viewmodel_offset_x 2.5; viewmodel_offset_y 0; viewmodel_offset_z -1.5; viewmodel_presetpos 3; cl_viewmodel_shift_left_amt 1.5; cl_viewmodel_shift_right_amt 0.75; viewmodel_recoil 0; cl_righthand 1;
alias "m4/ak47" "buy m4a1; buy ak47"
alias "aug/sg556" "buy aug; buy sg556"
alias "galilar/famas" "buy galilar; buy famas"
alias "g3sg1/scar20" "buy g3sg1; buy scar20"
alias "vesthelm/vest" "buy vesthelm; buy vest"
alias "vest" "buy vest"
@media screen and (min-width: 1200px) .app,
@media screen and (min-width: 1200px) .app {
width: 100%
}
@media screen and (min-width: 1320px) .drawer-container-mid,
.drawer-container-right, .pane-chat, .pane-intro,
@media screen and (min-width: 12000px) .drawer-container-mid,
.drawer-container-right, .pane-chat, .pane-intro {
width: 100%
}
@airstrike
airstrike / tmux-cheatsheet.markdown
Created February 6, 2016 00:50 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
stddev <- function(x) {
xbar <- mean(x)
n <- length(x)
return(sqrt(sum((x - xbar) ^ 2) / (n - 1)))
}
country <- c("Brazil", "Russia", "India", "China")
pop.thousands <- c(202679, 146300, 1275921, 1367820)
economies <- cbind(country, pop.thousands) # add populaton
gdp.millions <- c(2346583, 1860598, 2051228, 10356508)
economies <- cbind(economies, gdp.millions) # add gdp in millions
rownames(economies) <- economies[ ,"country"] # store country name in row names
economies <- economies[, -1] # drop the variable "country"
class(economies) <- "numeric" # change matrix to numeric
economies[, 1] <- economies[, 1] / 1000 # change population units to millions
colnames(economies) <- c("pop.millions", "gdp.millions") # change column names
@airstrike
airstrike / mute-mic.ahk
Last active October 12, 2025 01:07
AutoHotkey | Toggle microphone hotkey script (Windows+U)
;
; AutoHotkey Version: v1.1.22.06
; Language: English
; Platform: Windows 10
; Author: Andy Terra <github.com/airstrike>
;
; Script Function:
; Toggle Microphone Mute -- assumes it is located at WAVE:1, device #2
; Use the SoundCardAnalysis script to figure out where your mic is
; https://www.autohotkey.com/docs/commands/SoundSet.htm#Ex