Skip to content

Instantly share code, notes, and snippets.

View audacioustux's full-sized avatar
🐧

Tanjim Hossain audacioustux

🐧
View GitHub Profile
" 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'
@audacioustux
audacioustux / mkswap.sh
Last active December 27, 2016 23:09
make swapfile easily with this simple script
#!/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"
;; -*- 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
// = not worth checking
artcell,
highway,
black,
oblique,
aurthohin,
yatri,
dreek,
powersurge,
@audacioustux
audacioustux / init.vim
Last active August 18, 2017 13:36
spacevim config ~/.SpaceVim.d/init.vim
" 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')
# 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
"=============================================================================
" 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: {{{
import React, { Component } from 'react';
import PropTypes from 'prop-types';
class Flex extends Component {
render() {
const {
children,
element,
// display,
// colBase,
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',
@audacioustux
audacioustux / alacritty.yml
Last active April 15, 2024 17:45
~/.config/alacritty/alacritty.yml
# 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