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
REPOS := user-service uc-service pep-service application-handler-service sms-service point-service mail-service message-dispatcher | |
ORG := LendoSTPGdansk | |
TARGET := wrk/lendo | |
default: clone run | |
clone: | |
@echo "[INFO] cloning repositories" | |
@for r in $(REPOS) ; do git clone git@github.com:$(ORG)/$$r.git ~/$(TARGET)/$$r ; done |
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/bash | |
# Step 1: Run the container | |
# Downloads an image from docker hub and runs it with access to hardware in privileged mode | |
# Note the PLATFORM=oc2 variable | |
docker run --rm --privileged -v $(pwd):/backup peelsky/arm-sdcard-builder -e PLATFORM=odroid-c2 download copy | |
# Step 2: Find disk identifier | |
# This is extremely important to get it right as the process will destroy | |
# the contents of a given disk |
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/bash | |
# Step 0: Run the container | |
# Downloads an image from docker hub and runs it with access to hardware in privileged mode | |
docker run --rm --privileged -v $(pwd):/backup peelsky/arm-sdcard-builder -e download copy | |
# Step 1: Find disk identifier | |
# This is extremely important to get it right as the process will destroy | |
# the contents of a given disk | |
# The disk identifier has a form of 'diskX', ie for the following output: |
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/bash | |
# Step 0: Clone repository | |
# The repository contains a VM to flash your SD card with | |
git clone https://github.com/peel/rpi-sdcard-builder.git | |
cd rpi-sdcard-builder/vagrant | |
# Step 1: Find disk identifier | |
# This is extremely important to get it right as the process will destroy | |
# the contents of a given disk |
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
/* font size for my old eyes */ | |
div.log div.row {font-size:18px; padding:20px 0 0 0;} | |
/* message log size */ | |
.time-12hr.time-noseconds div.log div.messageRow, | |
.time-24hr.time-seconds div.log div.messageRow {padding:0 10px 0 30px !important;} | |
/* date to the right */ | |
button.buffer.bufferLink.author.user.link {padding-top:5px;} | |
span.date {float:right; margin:10px 0 0 0 !important;} |
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
LOK001;Park Kuzniczki;54.382059;18.607072 | |
LOK002;Plac Wybickiego;54.384332;18.609666 |
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
function zengoal(){ | |
goal=${$1// /} | |
git checkout f-do-$goal | |
} | |
function zenexperiment(){ | |
branch=eval $(git branch | sed -n '/\* /s///p') | |
task=${$1// /} | |
git checkout -b $branch-$task | |
} | |
function zenrollback(){ |
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
function zengoal(){ | |
goal=${$1// /} | |
git checkout f-do-$goal | |
} | |
function zenexperiment(){ | |
branch=eval $(git branch | sed -n '/\* /s///p') | |
task=${$1// /} | |
git checkout -b $branch-$task | |
} | |
function zenrollback(){ |
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
# Aliases for managing github issues | |
# | |
# preconditions: | |
# gem install ghi | |
# marks task as in progress | |
# creates task if it does not exist | |
# | |
# usage: | |
# ghidoing 1234 # will mark task 1234 as "in progress" |
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
# To build vim against homebrew Python 2.7.3. | |
# You'll also need to adjust the symbolic link of the current | |
# system Python framework (cf. http://goo.gl/b66fs): | |
# | |
# cd /System/Library/Frameworks/Python.framework/Versions | |
# sudo rm Current | |
# sudo ln -sf /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/Current Current | |
require 'formula' |