Skip to content

Instantly share code, notes, and snippets.

View fzerorubigd's full-sized avatar
🤷‍♂️
/shrug

Forud fzerorubigd

🤷‍♂️
/shrug
View GitHub Profile
@fzerorubigd
fzerorubigd / example.scad
Created August 9, 2022 12:01
An openscad example
include <bit/boardgame_insert_toolkit_lib.2.scad>;
// determines whether lids are output.
g_b_print_lid = true;
// determines whether boxes are output.
g_b_print_box = true;
// Focus on one box
g_isolated_print_box = "";
@fzerorubigd
fzerorubigd / box.scad
Created October 7, 2021 22:05
My first scad code
$card_lx = 72;
$card_ly = 52;
$height = 20;
$border = 2;
module emptyBox(x, y, h, border) {
difference() {
cube([x+(border*2), y+(border*2), h]);
translate([border, border, border])
{
"Total": 638,
"Page": 1,
"UserName": "fzerorubigd",
"UserID": 1272695,
"Items": [
{
"ID": 45039698,
"Date": "2020-08-16T00:00:00Z",
"Quantity": 1,
if [ ! -e ~/.antigen/source/antigen.zsh ];then
mkdir ~/.antigen
git clone https://github.com/zsh-users/antigen.git ~/.antigen/source
fi;
if [ ! -e "$HOME/.scm_breeze/scm_breeze.sh" ];then
git clone git://github.com/scmbreeze/scm_breeze.git ~/.scm_breeze
fi;
source ~/.antigen/source/antigen.zsh
if [ ! -e ~/.antigen/source/antigen.zsh ];then
mkdir ~/.antigen
git clone https://github.com/zsh-users/antigen.git ~/.antigen/source
fi;
if [ ! -e "$HOME/.scm_breeze/scm_breeze.sh" ];then
git clone git://github.com/scmbreeze/scm_breeze.git ~/.scm_breeze
fi;
source ~/.antigen/source/antigen.zsh
@fzerorubigd
fzerorubigd / keyboard.conf
Last active April 15, 2020 12:58
/etc/X11/xorg.conf.d/90-keyboard.conf
Section "InputClass"
Identifier "keyboard"
Driver "evdev"
MatchIsKeyboard "on"
Option "XkbModel" "evdev"
Option "XkbLayout" "us,ir"
Option "XkbOptions" "grp:switch,grp:alt_shift_toggle,grp_led:scroll"
EndSection
separator_block_width=15
color=#CCCCCC
align=center
[kernel-mismatch]
command=[ `uname -r | sed s/-lts//g` = `pacman -Q linux-lts | sed 's/linux-lts //g'` ] || echo ""
color=#FF0000
interval=100
[vpn-status]
package main
import (
"fmt"
"os"
"github.com/mattn/go-isatty"
)
func main() {
if [ ! -e ~/.antigen/source/antigen.zsh ];then
mkdir ~/.antigen
git clone https://github.com/zsh-users/antigen.git ~/.antigen/source
fi;
if [ ! -e "$HOME/.scm_breeze/scm_breeze.sh" ];then
git clone git://github.com/scmbreeze/scm_breeze.git ~/.scm_breeze
fi;
source ~/.antigen/source/antigen.zsh
if [ ! -e ~/.antigen/source/antigen.zsh ];then
mkdir ~/.antigen
git clone https://github.com/zsh-users/antigen.git ~/.antigen/source
fi;
if [ ! -e "$HOME/.scm_breeze/scm_breeze.sh" ];then
git clone git://github.com/scmbreeze/scm_breeze.git ~/.scm_breeze
fi;
source ~/.antigen/source/antigen.zsh