Skip to content

Instantly share code, notes, and snippets.

View arkbriar's full-sized avatar
🐽

ArkBriar arkbriar

🐽
View GitHub Profile
@arkbriar
arkbriar / .wezterm.lua
Last active November 22, 2023 09:27
WezTerm configuration (iTerm2 compatible keys for pane operations)
-- Pull in the wezterm API
local wezterm = require 'wezterm'
-- This table will hold the configuration.
local config = {}
-- In newer versions of wezterm, use the config_builder which will
-- help provide clearer error messages
if wezterm.config_builder then
config = wezterm.config_builder()
@arkbriar
arkbriar / test.cc
Last active October 10, 2018 13:35
test.cc
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <stack>
#include <cmath>
#include <deque>
#include <queue>
@arkbriar
arkbriar / AirDefenseExercise.cc
Created September 26, 2017 18:17
AirDefenseExercise
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <stack>
#include <cmath>
#include <deque>
#include <queue>
@arkbriar
arkbriar / projecteuler-188 testcases
Created September 17, 2017 15:54
projecteuler-188 testcases (randomly generated)
# INPUT 1
10
74913113777166616 402355442040851531 789459062910216887
359517096819372182 379566606326355818 620729195485101071
588975007509787086 152039282651498060 619315300098298632
68106402740208624 151160082307482850 931996307228977763
825955107421052885 729669068804091445 291434954007861319
257346413186698484 880339753189855593 727841163634803059
904058215924336454 335405998963647135 493416751116137735
797872697577790217 206675119284987589 123474393799428767
@arkbriar
arkbriar / update_all_docker_images.sh
Created July 12, 2016 07:56
update_all_docker_images
#!/bin/bash
update_image() {
docker pull $1
}
for image in $(docker images | tail -n +2 | cut -d " " -f1)
do
update_image $image
done