start new:
tmux
start new with session name:
tmux new -s myname
# -*- coding: utf-8 -*- | |
""" | |
Python Script to download the Chrome Extensions (CRX) file directly from the google chrome web store. | |
Referred from http://chrome-extension-downloader.com/how-does-it-work.php | |
""" | |
from __future__ import division | |
import argparse | |
import requests |
" ---------------------- USABILITY CONFIGURATION ---------------------- | |
" Basic and pretty much needed settings to provide a solid base for | |
" source code editting | |
" don't make vim compatible with vi | |
set nocompatible | |
" turn on syntax highlighting | |
syntax on | |
" and show line numbers |
! modify CapsLock to Control, and Shift+CapsLock to CapsLock | |
! https://wiki.archlinux.org/index.php/Xmodmap#Modifier_keys | |
clear lock | |
clear control | |
clear mod1 | |
add control = Caps_Lock Control_L Control_R | |
keycode 66 = Control_L Caps_Lock NoSymbol NoSymbol | |
! swap right control and right alt | |
! http://askubuntu.com/questions/237564/remap-right-alt-to-behave-as-right-ctrl |
" Vim syntax file | |
" Language: HTML (version 5) | |
" Maintainer: Rodrigo Machado <[email protected]> | |
" URL: http://rm.blog.br/vim/syntax/html.vim | |
" Last Change: 2009 Aug 19 | |
" License: Public domain | |
" (but let me know if you liked it :) ) | |
" | |
" Note: This file just adds the new tags from HTML 5 | |
" and don't replace default html.vim syntax file |
# nihtvision | |
# https://raw.githubusercontent.com/pjhalsli/configs/master/colorschemes/nightvision | |
# https://www.reddit.com/r/unixporn/comments/56r2qr/bspwm_having_fun_with_colors/ | |
#[colors] | |
# special | |
#foreground = #3f3f3f | |
#foreground_bold = #3f3f3f | |
#cursor = #3f3f3f | |
#background = #111010 | |
# black |
#!/bin/bash | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the active virtualenv | |
# * the branch/status of the current git repository | |
# * the return value of the previous command | |
# * the fact you just came from Windows and are used to having newlines in | |
# your prompts. |
#!/usr/bin/env python2 | |
# coding: utf-8 | |
import os,socket,threading,time | |
#import traceback | |
allow_delete = False | |
local_ip = socket.gethostbyname(socket.gethostname()) | |
local_port = 8888 | |
currdir=os.path.abspath('.') |
#include <stdio.h> | |
#include <string.h> | |
#include <openssl/rsa.h> | |
#include <openssl/applink.c> | |
void print_buf_hex( unsigned char *buf, int len ) | |
{ | |
int i; | |
for( i = 0; i < len; i++ ) |