Skip to content

Instantly share code, notes, and snippets.

View Brethel's full-sized avatar
🥱
I may be slow to respond.

Alexandre Brethel Brethel

🥱
I may be slow to respond.
View GitHub Profile
# custom IntelliJ IDEA VM options
#-Xbootclasspath/a:c:/devtools/opt/marlin-0.8.2-Unsafe-sun-java2d.jar
-Xbootclasspath/a:c:/devtools/opt/marlin-0.8.2-Unsafe.jar
-ea
-server
-Xms384m
-Xmx2048m
-Xss4m
-verbose:gc
-Dawt.useSystemAAFontSettings=lcd
@Brethel
Brethel / .vimrc
Created April 16, 2019 02:44
vimrc file
set nocompatible
filetype off " required
" -----------------------------------------------------------------------------
" https://github.com/VundleVim/Vundle.vim
" -----------------------------------------------------------------------------
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
" file explorer
Command line: cntlm -T cntlm.txt -M -v -f -s
Username SIDAMVA
Password ********
Domain DOSIM000
Workstation WS21950
#Auth NT
###Flags 0x6820000
Header User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:65.0.1) Gecko/20100101 Firefox/65.0.1
@Brethel
Brethel / xorg.conf
Created May 22, 2020 00:22
xorg.conf dell xps x502
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
PID = /tmp/awesome-golang-project.pid
GO_FILES = $(wildcard *.go)
APP = ./app
serve: restart
@fswatch -o . | xargs -n1 -I{} make restart || make kill
kill:
@kill `cat $(PID)` || true
before:
set print-completions-horizontally on
set completion-ignore-case On
set expand-tilde on
set convert-meta off
set show-all-if-ambiguous on
set visible-stats on
set completion-map-case on
set completion-query-items -1
set page-completions off
set completion-query-items 1000
@Brethel
Brethel / .tmux.conf
Last active August 24, 2020 18:33
tmux config
set -g default-terminal "screen-256color"
set -g status-position top
set -g status-fg yellow
set -g status-bg blue
#setw -g mode-mouse on
#set -g mouse-resize-pane on
#set -g mouse-select-pane on
#!/bin/bash
#
# sudo apt-get install id3 ffmpeg
#
# USAGE:
# cd /book title/
# bash ~/this_script_path.sh
# rm *.m4b (you need to manually remove the original in case something goes wrong)
#
#
" █████ █████ ███
" ░░███ ░░███ ░░░
" ████████ ██████ ██████ ░███ ░███ ████ █████████████
"░░███░░███ ███░░███ ███░░███ ░███ ░███ ░░███ ░░███░░███░░███
" ░███ ░███ ░███████ ░███ ░███ ░░███ ███ ░███ ░███ ░███ ░███
" ░███ ░███ ░███░░░ ░███ ░███ ░░░█████░ ░███ ░███ ░███ ░███
" ████ █████░░██████ ░░██████ ░░███ █████ █████░███ █████
"░░░░ ░░░░░ ░░░░░░ ░░░░░░ ░░░ ░░░░░ ░░░░░ ░░░ ░░░░░
"
" INIT.VIM
@Brethel
Brethel / vscode_settings.json
Last active September 23, 2020 15:58
minimal vscode settings
{
"editor.fontFamily": "Fira Code iScript",
"editor.fontSize": 14,
"editor.fontLigatures": true,
"extensions.autoUpdate": true,
"editor.highlightActiveIndentGuide": true,
"editor.cursorStyle": "line",
"editor.cursorBlinking": "phase",
"editor.cursorSmoothCaretAnimation": true,
"editor.wordWrap": "on",