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
# Variables | |
LOGFILE=/root/blogengine_install.log | |
echo | |
echo | |
echo "Preparing Server for ASP.NET" | |
echo "############################" | |
echo |
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
iMac:R-SBB-timetables-spider philippkueng$ rake station:set_bounds bounds=8.53,47.41,8.61,47.46 --trace | |
** Invoke station:set_bounds (first_time) | |
** Execute station:set_bounds | |
rake aborted! | |
undefined method `path' for #<StringIO:0x007fcbdbbb7480> | |
/Users/philippkueng/Documents/Programming/Ruby/R-SBB-timetables-spider/scripts/station.rb:153:in `findStationsInArea' | |
/Users/philippkueng/Documents/Programming/Ruby/R-SBB-timetables-spider/Rakefile:131:in `block (2 levels) in <top (required)>' | |
/Users/philippkueng/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call' | |
/Users/philippkueng/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute' | |
/Users/philippkueng/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each' |
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
<html> | |
<head> | |
<title></title> | |
<script type="text/javascript" language="JavaScript"> | |
function toggleMe02(a){ | |
AlleAus02(); |
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
source "https://rubygems.org" | |
gem "rake", ">= 0.9.2.2" | |
gem "roo", "1.11.1" | |
gem "mechanize", "2.6.0" |
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
echo "this shell script is going to setup a running ckan instance based on the CKAN 2.0 packages" | |
echo "switching the OS language" | |
locale-gen | |
export LC_ALL="en_US.UTF-8" | |
sudo locale-gen en_US.UTF-8 | |
echo "updating the package manager" | |
sudo apt-get update |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "precise64" | |
config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
config.vm.synced_folder ".", "/vagrant" | |
end |
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 | |
# Before running | |
# -------------- | |
# | |
# 1. Clone this repo | |
# 2. Mount smb://c206.hsr.ch/skripte on a Mac | |
# HS13 | |
# rsync -avz /Volumes/skripte/Informatik/Fachbereich/Computernetze_1/ . |
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
(ns the-namespace.core | |
(:require [clj-http.client :as client] | |
[clojure.java.io :as io])) | |
(defn- fetch-photo! | |
"makes an HTTP request and fetches the binary object" | |
[url] | |
(let [req (client/get url {:as :byte-array :throw-exceptions false})] | |
(if (= (:status req) 200) | |
(:body req)))) |
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
#cloud-config | |
coreos: | |
etcd: | |
# generate a new token for each unique cluster from | |
# https://discovery.etcd.io/new | |
discovery: https://discovery.etcd.io/293340d67522b11a847438c45a4ee7b5 | |
# multi-region and multi-cloud deployments need to use $public_ipv4 | |
addr: $private_ipv4:4001 | |
peer-addr: $private_ipv4:7001 |
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
#cloud-config | |
coreos: | |
etcd: | |
# generate a new token for each unique cluster from | |
# https://discovery.etcd.io/new | |
discovery: https://discovery.etcd.io/f3b743dac73a950101567222fe38620e | |
# multi-region and multi-cloud deployments need to use $public_ipv4 | |
addr: $private_ipv4:4001 | |
peer-addr: $private_ipv4:7001 |
OlderNewer