Skip to content

Instantly share code, notes, and snippets.

@damionvega
damionvega / prac.cfg
Last active December 2, 2025 23:14
prac.cfg
// vim: set filetype=cpp:
bind T "give smokegrenade; give hegrenade; give incgrenade; give molotov; give flashbang; give flashbang"
bind MOUSE5 noclip
sv_noclipspeed 2000
sv_cheats 1
mp_buy_anywhere 1
sv_infinite_ammo 1
bot_kick
@damionvega
damionvega / n33.cfg
Last active December 2, 2025 23:14
n33.cfg
// vim: set filetype=cpp:
// Auto-load benchmark map
// Launch options: -console -condebug +exec n33.cfg
// map de_dust2_benchmark customgamemode=3240880604 nomapvalidation=true
// print_changed_convars
// • Prints all convars that have changed from their default value
con_enable 1

Keybase proof

I hereby claim:

  • I am damionvega on github.
  • I am damionvega (https://keybase.io/damionvega) on keybase.
  • I have a public key ASB2N9Ckap3OC-4LWMKBKwz0kH0MI3dtbpsrak3ztUubiAo

To claim this, I am signing this object:

@damionvega
damionvega / settings.json
Created January 15, 2022 18:29
VS Code Settings - 2022
{
"git.autofetch": true,
"terminal.integrated.fontSize": 13,
"editor.fontFamily": "Fira Code",
// "editor.fontFamily": "FiraCode-Retina",
"editor.fontLigatures": true,
"editor.maxTokenizationLineLength": 100000,
"editor.acceptSuggestionOnCommitCharacter": false,
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
@damionvega
damionvega / iterm2_switch_automatic.md
Created May 4, 2020 02:49 — forked from FradSer/iterm2_switch_automatic.md
Switch iTerm2 color preset automatic base on macOS dark mode.
  1. Add switch_automatic.py to ~/Library/ApplicationSupport/iTerm2/Scripts/AutoLaunch with:
#!/usr/bin/env python3

import asyncio
import iterm2

async def main(connection):
    async with iterm2.VariableMonitor(connection, iterm2.VariableScopes.APP, "effectiveTheme", None) as mon:
sudo yum install autoconf automake bzip2 bzip2-devel cmake freetype-devel gcc gcc-c++ git libtool make mercurial pkgconfig zlib-devel -y
mkdir ~/ffmpeg_sources
# nasm
cd ~/ffmpeg_sources
curl -O -L https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/nasm-2.14.02.tar.bz2
tar xjvf nasm-2.14.02.tar.bz2
cd nasm-2.14.02
./autogen.sh
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"
@damionvega
damionvega / settings.json
Last active February 6, 2019 21:41
VSCode settings
{
"window.zoomLevel": 0,
"bracketPairColorizer.consecutivePairColors": [
"()",
"[]",
"{}",
["Orange", "Orchid", "LightSkyBlue"],
"Red"
],
"breadcrumbs.enabled": true,
@damionvega
damionvega / .editorconfig
Created March 9, 2016 04:08
Editor config
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
@damionvega
damionvega / FeedTableViewCell.swift
Last active January 20, 2016 05:13
iOS 9 / Swift Custom Dynamic TableViewCell height
//
// FeedTableViewCell.swift
// Created by Damion Nabarrete on 1/18/16.
//
import UIKit
import PureLayout
class FeedTableViewCell: UITableViewCell {
@damionvega
damionvega / install-iojs-in-10s.sh
Last active September 15, 2015 02:05 — forked from izolate/install-iojs-in-10s.sh
Install io.js on Ubuntu in 10 seconds (no nvm)
IOJS_VERSION=v0.0.0
IOJS_DIR=$HOME/.iojs
iojs_install() {
iojs_setup
iojs_download
iojs_assemble
iojs_teardown
}