Skip to content

Instantly share code, notes, and snippets.

View 7h3730B's full-sized avatar
👻
Ghosting around in Repos

Teo 7h3730B

👻
Ghosting around in Repos
View GitHub Profile
@7h3730B
7h3730B / create_template.sh
Last active January 30, 2024 10:21
create_template
#!/bin/bash
set -xeu
export IMGID=9007
export BUILD_DAY="20240102-1614"
export BASE_IMG="debian-12-genericcloud-amd64-${BUILD_DAY}.qcow2"
export IMG="debian-12-genericcloud-amd64-${IMGID}.qcow2"
export STORAGEID="local"
#include "stdio.h"
#include "stdlib.h"
typedef struct node {
int val;
struct node * next;
} node_t;
int addNode(node_t * head, int val);
int getNodeValue(node_t * head, int position);
#!/usr/bin/python
import sys
import os
import argparse
import re
parser = argparse.ArgumentParser()
parser.add_argument("--file", "-f", type=str, required=True)
@7h3730B
7h3730B / 10-monitors.conf
Created August 5, 2021 14:58
My monitor configuration
Section "Monitor"
Identifier "DP1"
# Modeline "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync -vsync
Option "PreferredMode" "1920x1080"
Option "TargetRefresh" "60"
Option "LeftOf" "HDMI1"
# Option "Position" "640 2160"
@7h3730B
7h3730B / settings.json
Created May 15, 2021 15:06
VSCode settings.json
{
"workbench.colorTheme": "Tokyo Night Storm",
"latex-workshop.view.pdf.viewer": "tab",
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust"
},
"latex-workshop.bibtex-format.tab": "tab",
"editor.minimap.enabled": true,
"editor.renderControlCharacters": true,
"workbench.statusBar.visible": true,
call plug#begin('~/AppData/Local/nvim/plugged')
Plug 'sheerun/vim-polyglot'
" Automatically close brackets
Plug 'jiangmiao/auto-pairs'
Plug 'tomasiser/vim-code-dark'
" File tree
#643A15
#D8CAAE
#A17F53
#1E0E05
#99652C
#ADAF95
#A59490
#716559