sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
-- 1. Hae keveimmän punaisen osan toimittajien nimet käänteisessä | |
-- aakkosjärjestyksessä [Tantola, Kiirola, Karola Oy] | |
SELECT tnimi | |
FROM toimittaja | |
WHERE ttun IN | |
(SELECT ttun -- toimitukset joissa mukana osa | |
FROM toimitus | |
WHERE otun IN | |
(SELECT otun -- Osat jotka.. |
import web | |
from oauthlib.oauth1 import Server | |
from oauthlib.common import safe_string_equals | |
urls = ("/.*", "hello") | |
app = web.application(urls, globals()) | |
class OAuthProvider(Server): | |
''' https://oauthlib.readthedocs.org/en/latest/server.html ''' |
#!/bin/bash | |
while : ; do | |
true | |
done |
/* | |
========== GPIO WIRING ========== | |
===== INPUT ===== | |
0 Battery input voltage (halved) (TODO: stop robot if voltage < 6.8V) | |
1 Bump (unused) | |
2 | |
3 | |
4 | |
5 |
#!/usr/bin/env python3 | |
# Download all zip files from a single bbp page eg: | |
# ./djbb.py http://www.breakbeat-paradise.com/samplesite/bb_synth.php | |
import requests | |
import re | |
import shutil | |
import sys |
========== | |
Making Money is Killing Your Business (Blakeman, Chuck;Seeling, Caleb) | |
- Added on Thursday, June 19, 2014 10:07:49 AM | |
We’re too busy making money to get to the important stuff. As a result everything is backwards. We build a business and take whatever lifestyle that business happens to throw off for us, which at best usually involves having money, but rarely a lot of time, and almost never significance.This isn’t surprising because “he who makes the rules wins,” and we too often let our business and the business world around us make the rules for us. | |
========== | |
- Added on Thursday, June 19, 2014 10:23:04 AM | |
If we gain clarity about where we are and where we want to go, and a measure of clarity about the first few steps to get there, that gives us hope. Not hope in the modern sense of wishing, but hope in the correct sense of the word—believing with conviction that I can do it. | |
========== |
########## Install NGINX ############## | |
# Install software-properties-common package to give us add-apt-repository package | |
sudo apt-get install -y software-properties-common | |
# Install latest nginx version from community maintained ppa | |
sudo add-apt-repository ppa:nginx/stable | |
# Update packages after adding ppa |
The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 12 Feb 2014 13:09:28 GMT till Thu, 12 Feb 2015 13:09:28 GMT.
Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:
githubUsers
.filter((user) -> user.followers > 11)
# record frames from a public camera in jyväskylä city centre for timelapse purposes etc | |
# uses threads, probably to not miss any frames, non threaded version commented in bottom | |
# written in 2016 during random student event happening in the city centre | |
# demo video https://youtu.be/tMSrBDwmtUo compiled with ffmpeg. | |
# stutters a bit cause duplicate frames are not processed | |
import requests | |
from io import open as iopen | |
from urlparse import urlsplit |