togm
- Timber.d("<> called")togd
- Timber.d("<<>>")toge
- Timber.e("<<>>")togw
- Timber.w("<<>>")togi
- Timber.i("<<>>")
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
ZSH=$HOME/.oh-my-zsh | |
ZSH_THEME="robbyrussell" | |
plugins=(git tmux wd tig) | |
ZSH_TMUX_AUTOSTART=true | |
TERM="screen-256color" | |
source $ZSH/oh-my-zsh.sh |
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
syn on | |
set nocompatible | |
set number | |
set encoding=utf-8 | |
set lazyredraw | |
set ruler | |
set noshowmode | |
set laststatus=2 | |
:nmap <Space> i_<Esc>r |
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
from tweepy import OAuthHandler | |
from tweepy import API | |
from tweepy import Status | |
from threading import Thread | |
import RPi.GPIO as GPIO | |
import feedparser | |
import time | |
import commands | |
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
from cv2 import * | |
from os import listdir | |
from os.path import isfile, join | |
reference_path = "reference.png" | |
reference = imread(reference_path) | |
reference = cvtColor(reference, COLOR_BGR2GRAY) | |
all_images = [f for f in listdir("./") if isfile(join("./", f)) and f.endswith(".png")] | |
results = [] |
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
# "Qi" by PHILDEL | |
shift = 0 | |
intervals_major = [4, 7, 12, 16, 19, 24, 19, 16, 26, 19, 16, 28] | |
intervals_minor = [3, 7, 12, 15, 19, 24, 19, 15, 26, 19, 15, 27] | |
minor = false | |
live_loop :accord do | |
intervals = minor ? intervals_minor : intervals_major | |
intervals.each do |k| | |
play 45+k+shift |
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
var express = require('express'); | |
var routes = require('./routes'); | |
var http = require('http'); | |
var path = require('path'); | |
var socketio = require('socket.io'); | |
var crypto = require('crypto'); | |
var app = express(); | |
var expressserver = http.createServer(app).listen(app.get('port'), function() { |
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
# LCDd.conf -- configuration file for the LCDproc server daemon LCDd | |
# | |
# This file contains the configuration for the LCDd server. | |
# | |
# The format is ini-file-like. It is divided into sections that start at | |
# markers that look like [section]. Comments are all line-based comments, | |
# and are lines that start with '#' or ';'. | |
# | |
# The server has a 'central' section named [server]. For the menu there is | |
# a section called [menu]. Further each driver has a section which |
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
public class MagicalLand { | |
public static void main(String[] args) { | |
for(int i = 0; i < (Math.random() * 500) + 2; i++) { | |
if(Unicorn.pat()) { | |
System.out.println("UNICORN #1: PAT THIS UNICORN ONCE"); | |
} | |
} | |
for(int i = 0; i < (Math.random() * 500) + 2; i++) { | |
if(Unicorn.pat()) { | |
System.out.println("UNICORN #2: PAT THIS UNICORN ONCE"); |
NewerOlder