Skip to content

Instantly share code, notes, and snippets.

{
"visas": [
{
"country": "CN",
"count": 1
},
{
"country": "US",
"count": 4
},
### Keybase proof
I hereby claim:
* I am trofimovilya on github.
* I am trofimov (https://keybase.io/trofimov) on keybase.
* I have a public key ASDzCLI4Ftlt-UXLZEiQwDsTBwOZiBQW-n5spceceiPk9wo
To claim this, I am signing this object:
@trofimovilya
trofimovilya / PowerSaver.sh
Created May 2, 2014 20:54
Kills DropBox app when on battery and runs it again when on AC Power
#!/bin/bash
#
# Author: Ilya Trofimov
# Email: ilyatrofimov@outlook.com
while true
do
energy=$(pmset -g batt)
@trofimovilya
trofimovilya / gist:11092888
Created April 19, 2014 18:22
AStyle settings
--style=java --indent=spaces=4 --align-pointer=type --align-reference=type --attach-namespaces --attach-classes --attach-inlines --attach-extern-c --indent-modifiers --indent-cases --break-blocks --pad-oper --pad-header --unpad-paren --close-templates --add-brackets --convert-tabs --mode=c
@trofimovilya
trofimovilya / e4_default_mac.css
Created February 1, 2014 13:28
Eclipse dark color scheme without bottom bar
.MTrimmedWindow {
background-color: #444444;
}
.MPartStack {
font-size: 10;
swt-simple: false;
swt-mru-visible: false;
swt-tab-renderer: url(bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering);
swt-unselected-tabs-color: #333333 #333333 #333333 100% 100%;