issmirnov / dotfiles Goto Github PK
View Code? Open in Web Editor NEWMy dotfiles.
License: MIT License
My dotfiles.
License: MIT License
Add:
set-option -g allow-rename off
to avoid pane names being overriden by commands
See https://github.com/chriskempson/base16-xresources/blob/master/xresources/base16-monokai.Xresources
#define mydpi 120
#define myfontface Hermit
#define myfontsize 10
#define mycursorsize 30
! https://github.com/chriskempson/base16-xresources/blob/master/xresources/base16-monokai.Xresources
#define base00 #272822
#define base01 #383830
#define base02 #49483e
#define base03 #75715e
#define base04 #a59f85
#define base05 #f8f8f2
#define base06 #f5f4f1
#define base07 #f9f8f5
#define base08 #f92672
#define base09 #fd971f
#define base0A #f4bf75
#define base0B #a6e22e
#define base0C #a1efe4
#define base0D #66d9ef
#define base0E #ae81ff
#define base0F #cc6633
*foreground: base05
*background: base00
*color0: base00
*color1: base08
*color2: base0B
*color3: base0A
*color4: base0D
*color5: base0E
*color6: base0C
*color7: base05
*color8: base03
*color9: base09
*color10: base01
*color11: base02
*color12: base04
*color13: base06
*color14: base0F
*color15: base07
Xft.dpi: mydpi
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintslight
Xft.hinting: true
Xft.antialias: true
Xft.rgba: rgb
rofi.dpi: mydpi
xterm*faceName: myfontface
xterm*faceSize: myfontsize
xterm*loginshell: true
xterm*savelines: 50000
xterm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
XTerm.termName: xterm-256color
XTerm.vt100.translations: #override \n\
Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
Ctrl Shift <Key>V: insert-selection(CLIPBOARD)
Xcursor.size: mycursorsize
Xcursor.theme: StarLabs
*cursorColor: base05
! vim: ft=xdefaults
Latest update breaks my config.
extract () {
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xvjf $1 ;;
*.tar.gz) tar xvzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar x $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xvf $1 ;;
*.tbz2) tar xvjf $1 ;;
*.tgz) tar xvzf $1 ;;
*.zip) unzip $1 ;;
*.Z) uncompress $1 ;;
*.7z) 7z x $1 ;;
*) echo "don't know how to extract '$1'..." ;;
esac
else
echo "'$1' is not a valid file"
fi
}
weather() {
echo BRISTOL:
curl -s "http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=${@:-BS8+1JG}" | perl -ne 's/°/°/g;/<title>([^<]+)/&&printf "%s: ",$1;/([^<]+)/&&print $1,"\n"';
}
see - https://www.quora.com/What-are-some-of-the-best-command-prompt-or-the-terminal-tricks
OSX Activity monitor is showing average energy impact as 73, which is double chrome's impact (34). This is pretty egregious.
My guess is that my polling frequency is way too high. Thoughts:
Cheat is now erroring out with: "could not locate config file"
Initial search points to cheat/cheat#501. Apparently we now have to generate a cheat config file:
cheat --init > ~/.dotfiles/cheat/conf.yml
Initial experiments show that the file is generated, but it's unclear where the community cheats are now located.
As of now, looks like there was a major breaking change to cheat, without warning. Shame :/
Sometimes I'm using a lightweight system that i don't want to ansible up. Set up a simple shell script to manually install what I need.
In e9da2a0, we add the foundation for remote clipboard management. We need to finish the integration.
Currently, the show
(defined here) assumes all results are files, and pipes them to bat.
Let's update the function to check if target is a directory, in which case we cd
to it
On load, zsh prompts for zlogout and other crap. Find the culprit
Tab autocompletion is really annoying - move zsh-syntax-highlighting submodule to zsh/syntax-highlighting submodule to make your life easier.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.