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
#======================================================================== | |
# Conky-Serdar | |
#---------------------------------------------------------------------- | |
#sudo apt-get install conky | |
#extract the zip file and move files to .conky in your home folder | |
#---------------------------------------------------------------------- | |
#Run(Terminal): | |
# conky -c ~/.conky/conkyrc | |
#---------------------------------------------------------------------- | |
#Autostart(Openbox): |
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 | |
# | |
# Copyright (c) 2013 Izumi Tsutsui. All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions | |
# are met: | |
# 1. Redistributions of source code must retain the above copyright | |
# notice, this list of conditions and the following disclaimer. | |
# 2. Redistributions in binary form must reproduce the above copyright |
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
/* Querying your ledger through Kraken's API only return 50 results... */ | |
var KrakenClient = require('kraken-api'); // https://github.com/nothingisdead/npm-kraken-api | |
var kraken = new KrakenClient('api_key', 'api_secret'); | |
var ledger = []; | |
var offset = 0; | |
function getLedgerEntries (error, data) { | |
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
--- | |
- name: Test split | |
hosts: localhost | |
gather_facts: false | |
vars: | |
- facter_blockdevices: "sda,sdb,sdc,sdd,sde,sdf" | |
tasks: | |
- name: Let's split | |
debug: var=item | |
with_items: "facter_blockdevices.split(',')" |
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
# fix for gvim border | |
style "vim-fix" { | |
bg[NORMAL] = "#002B36" # this matches my gvim theme 'Normal' bg color. | |
fg[NORMAL] = "#ffffff" | |
} | |
style "vim-fix-tabs" { | |
bg[NORMAL] = shade(1.02, "#656565") | |
bg[ACTIVE] = shade(1.25, "#878787") | |
fg[ACTIVE] = "#323232" |
NewerOlder