Skip to content

Instantly share code, notes, and snippets.

@jaqque
jaqque / alpine
Created January 9, 2023 20:19
Start a dock container of the named image
#!/usr/bin/env zsh
local docker_args docker_interactive exit_status highlight hostname image name shell
local status_color=cyan
local success_color=cyan
local failure_color=red
typeset -a docker_args docker_interactive
image="${0##*/}"
#!/bin/sh
usage() {
echo "$0 <dir>"
}
if [ ! "$1" ]; then
usage
exit 1
fi
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.2070317268371582</real>
@jaqque
jaqque / README.md
Created July 13, 2022 19:22
Diablo Immortal on Steam Deck
#!/bin/zsh
i=0;
count=1000000
tb=0;ty=0;to=0;tg=0
win=0
while (( i<count )); do
b=$(( RANDOM % 7 )); # 1/7 of getting a point
@jaqque
jaqque / _thieves.txt
Last active February 5, 2020 04:39
Split or Steal - Those who stole
jigglybutt
jdrstorm
tamner
zergwergy
farrrooks
honestniqqa
aaronbtw
tuliomascate
lern2spell
gotcha9009 (tier 8)
1 500 80 -1254 Spawn
2 547 83 -1250 Through iron door, upper shelf, opposite of bed
3 547 104 -1254 Upper shelf in attic
4 542 103 -1213 Inside fireplace chimney
5 528 80 -1183 Under counter sign, in floor
6 489 87 -1173 In chimney
7 492 92 -1176 Next to fireplace
8 460 100 -1127 In rafters, near pillar
9 455 79 -1171 Under bush, stand to NW
10 432 81 -1202 Inside hay bales, in corner
@jaqque
jaqque / test.c
Created October 18, 2019 17:49
squeaky's test.c
#include <stdio.h>
#include <stdlib.h>
int main()
{
int n=5;
int* arr = (int*) calloc(n, sizeof(int));
int* test = malloc(n*sizeof(int));
for (int i=0; i<n; i++) {
// fprintf(stderr,"reading "")
@jaqque
jaqque / protected-blocks.txt
Created February 9, 2019 17:40
EMC Protected Blocks
- acacia_door
- acacia_fence
- acacia_fence_gate
- acacia_stairs
- activator_rail
- anvil
- armor_stand
- banner
- beacon
- bed
@jaqque
jaqque / keybase.md
Created October 9, 2017 17:18
Keybase Proof

Keybase proof

I hereby claim:

  • I am jaqque on github.
  • I am jaqque (https://keybase.io/jaqque) on keybase.
  • I have a public key ASBEY_qbOsfqCODyLOhbQksmcoanwCFZnziHfk9yOcz9oQo

To claim this, I am signing this object: