Skip to content

Instantly share code, notes, and snippets.

Avatar
🦀

Eric Shimizu Karbstein GrayJack

🦀
View GitHub Profile
View clang-format
---
Language: Cpp
AccessModifierOffset: -1
AlignAfterOpenBracket: DontAlign
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: false
AlignConsecutiveMacros: true
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: true
View exemplo.toml
[package]
name = "algos"
version = "0.3.3"
authors = ["GrayJack <gr41.j4ck@gmail.com>"]
readme = "README.md"
license = "BSD-3-Clause"
license-file = "LICENSE"
repository = "https://github.com/GrayJack/algos"
documentation = "https://docs.rs/algos"
homepage = "https://crates.io/crates/algos"
@GrayJack
GrayJack / ocaml_setup_project.sh
Created Dec 19, 2018
My little script to easilly set up ocaml projects with some basic stuff that I use
View ocaml_setup_project.sh
#!/bin/sh
if [ $# != 1 ]; then
echo "Usage: $(basename "$0") <project name>" >&2
exit 1
fi
mkdir $1/
mkdir $1/src/
touch $1/src/main.ml
@GrayJack
GrayJack / config.txt
Last active Sep 18, 2019
Very complete and documented config.txt file for raspberry pi
View config.txt
# See /boot/overlays/README for all available options
##############################################################################
## Raspberry Pi Configuration Settings
##
## Revision 18, 2018/03/05
##
## Details taken from the eLinux wiki
## For up-to-date information please refer to wiki page.
##
## Wiki Location : http://elinux.org/RPiconfig
View PKGBUILD mate-tweak
# Maintainer: Bernhard Landauer <oberon@manjaro.org>
# Maintainer: Stefano Capitani <stefanoatmanjarodotorg>
# Maintainer: Brenton Horne <brentonhorne77 at gmail dot com>
# Contributor: Balló György <ballogyor+arch at gmail dot com>
pkgname=mate-tweak
pkgver=18.04.10
#_umsver=18.04.4
_commit=5c6f99e5be37c7cd325cd7cf1b11730cb945dd54
pkgrel=1
View 60-schedulers.rules
# /etc/udev/rules.d/60-scheduler.rules
#
# set deadline scheduler for non-rotating disks
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline"
# set bfq-sq scheduler for rotating disks
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq-sq"
@GrayJack
GrayJack / .zshrc
Last active May 20, 2018
My Oh-My-Zsh Base config
View .zshrc
export TERM="xterm-256color"
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/home/$USER/.oh-my-zsh
# This need to be setup before ZSH_THEME for PowerLevel9k theme,
# comment if this theme is not in use
# If you use a normal powerline font you have to comment all 3
@GrayJack
GrayJack / .conkyrc
Last active May 21, 2018
My conky config
View .conkyrc
conky.config = {
font = 'Dungeon:size=8',
alignment = 'middle_right',
background = true,
color1 = '#31F1A7', -- Manjaro Green
color2 = '#FFFFFF', -- White
color3 = '#F80D0D', -- Red
cpu_avg_samples = 2,
default_color = 'FFFFFF',
draw_shades = false,
@GrayJack
GrayJack / qr_patches-sm.pco
Last active Jan 20, 2017
SciresM's patches for Pokemon Sun/Moon
View qr_patches-sm.pco
# $name Sun/Moon QR related patches (Loader)
# $desc SciresM's QR patches for Pokemon Sun/Moon
# $title 0004000000164800 0004000000175E00
# $ver 04
# $uuid 0003
# Original patches by SciresM.
# For more info: https://github.com/SciresM/SunMoonPatches
# It was made dynamic to be more future-proof
# Need testing