Skip to content

Instantly share code, notes, and snippets.

View c0desurfer's full-sized avatar
🍌

Maciej Raciborski c0desurfer

🍌
View GitHub Profile
@c0desurfer
c0desurfer / .bashrc
Created March 9, 2018 17:43
.bashrc 09.03.2018
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@c0desurfer
c0desurfer / .hyper.js
Created March 9, 2018 17:39
.hyper.js 09.03.2018
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
# Set up the prompt
source /usr/local/lib/python2.7/dist-packages/powerline/bindings/zsh/powerline.zsh
# aliases
alias ll='ls -al --color=auto'
alias ls='ls --color=auto'
# dircolors
eval $(dircolors ~/.dircolors)
@c0desurfer
c0desurfer / wsl-terminal.conf
Last active March 9, 2018 12:47
WSL Terminal
[config]
title=" "
;shell=/bin/bash
;shell=/bin/bash --login
shell=/bin/zsh
use_tmux=1
; If use_tmux=1, add these codes to .bashrc/.zshrc:
;[[ -z "$TMUX" && -n "$USE_TMUX" ]] && {
@c0desurfer
c0desurfer / minttyrc
Last active March 9, 2018 12:48
WSL Terminal
BoldAsFont=no
FontHeight=9
Font=Iosevka Term Medium
Scrollbar=none
Term=xterm-256color
CursorType=block
AllowBlinking=yes
Locale=en_US
Charset=UTF-8
BellType=0
@c0desurfer
c0desurfer / .tmux.conf
Last active February 25, 2018 16:11
Tmux with Powerline
# powerline
source /usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf
set-option -g default-terminal "screen-256color"
# remap prefix to Control + a
set -g prefix C-a
# bind 'C-a C-a' to type 'C-a'
bind C-a send-prefix
unbind C-b
@c0desurfer
c0desurfer / .vimrc
Last active February 25, 2018 21:07
Vim with Powerline
" powerline
set rtp+=/usr/local/lib/python2.7/dist-packages/powerline/bindings/vim/
set laststatus=2 " always display the statusline in all windows
set showtabline=2 " always display the tabline, even if there is only one tab
set noshowmode " hide the default mode text (e.g. -- INSERT -- below the statusline)
set t_Co=256
" personal settings
set background=dark
@c0desurfer
c0desurfer / betaflight.txt
Last active March 9, 2018 12:50
SONIC 2"
# diff
# version
# Betaflight / OMNIBUSF4 (OBF4) 3.2.4 Jan 10 2018 / 23:02:13 (90d32fd56) MSP API: 1.36
# name
name SONIC
# resources
resource SERIAL_TX 11 B14
@c0desurfer
c0desurfer / .hyper.js
Created November 21, 2017 11:27
hyper settings for powerlevel
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// Choose either "stable" for receiving highly polished,
// or "canary" for less polished but more frequent updates
updateChannel: 'stable',
@c0desurfer
c0desurfer / .hyper.js
Last active March 2, 2020 13:55
.hyper.js
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// Choose either "stable" for receiving highly polished,
// or "canary" for less polished but more frequent updates
updateChannel: 'stable',