This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" don't be compatible :) | |
set nocompatible | |
call plug#begin() | |
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } | |
Plug 'vim-syntastic/syntastic' | |
Plug 'octol/vim-cpp-enhanced-highlight', { 'for': ['c', 'cpp', 'objc'] } | |
Plug 'vim-jp/cpp-vim', { 'for': ['c', 'cpp', 'objc'] } | |
Plug 'ervandew/supertab' | |
Plug 'vim-airline/vim-airline' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
MEMSIZE=$(free -m | awk 'NR==2{print $2}') | |
if [ $MEMSIZE -gt 4096 ]; then | |
RECMEMSIZE=$MEMSIZE | |
else | |
RECMEMSIZE=$(($MEMSIZE*2)) | |
fi | |
echo "enabling all swap partitions & files" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// = not worth checking | |
artcell, | |
highway, | |
black, | |
oblique, | |
aurthohin, | |
yatri, | |
dreek, | |
powersurge, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Dark powered mode of SpaceVim, generated by SpaceVim automatically. | |
let g:spacevim_enable_debug = 1 | |
let g:spacevim_realtime_leader_guide = 1 | |
call SpaceVim#layers#load('incsearch') | |
call SpaceVim#layers#load('lang#c') | |
call SpaceVim#layers#load('lang#elixir') | |
call SpaceVim#layers#load('lang#go') | |
call SpaceVim#layers#load('lang#haskell') | |
call SpaceVim#layers#load('lang#java') | |
call SpaceVim#layers#load('lang#javascript') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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/tux/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"============================================================================= | |
" dark_powered.vim --- Dark powered mode of SpaceVim | |
" Copyright (c) 2016-2017 Wang Shidong & Contributors | |
" Author: Wang Shidong < wsdjeg at 163.com > | |
" URL: https://spacevim.org | |
" License: GPLv3 | |
"============================================================================= | |
" SpaceVim Options: {{{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import PropTypes from 'prop-types'; | |
class Flex extends Component { | |
render() { | |
const { | |
children, | |
element, | |
// display, | |
// colBase, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
parser: '@typescript-eslint/parser', | |
extends: [ | |
"airbnb-base", | |
"eslint:recommended", | |
"plugin:@typescript-eslint/eslint-recommended", | |
"plugin:@typescript-eslint/recommended", | |
'plugin:import/errors', | |
'plugin:import/warnings', | |
'plugin:import/typescript', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration for Alacritty, the GPU enhanced terminal emulator. | |
# Any items in the `env` entry below will be added as | |
# environment variables. Some entries may override variables | |
# set by alacritty itself. | |
#env: | |
# TERM variable | |
# | |
# This value is used to set the `$TERM` environment variable for | |
# each instance of Alacritty. If it is not present, alacritty will |
OlderNewer