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
Ich muss einfach mal sagen: Mobiles Internet von bestimmten Anbietern in Deutschland ist ein leidensvoller Tanz. | |
Das fängt schon beim Stick an, der sich erstmal als Datenträger meldet. | |
An sich ist das eine grandiose Idee.. aber: Die Software, die besagtes Speichermedium anbietet, scheint unter Mac OSX nur ein erklärtes Ziel zu haben: Mitsamt nettem Stack-Trace abzustürzen - nach erquicklich langer Denkpause beim Start. | |
Software für Linux fehlt vollständig. Sehr gut. | |
Hat man dann die funktionsfähige Version der Software, mit der man schliesslich ins Internet gelangen könnte, aus selbigem heruntergeladen (welch herrliche Ironie!), so grüsst der mobile Sozius mit einem hübschen Fenster. | |
Oftmals steht dort dann die liebevoll dahinphilosophierte Poesie "Gerät nicht erkannt oder nicht vorhanden", obgleich der Stick am USB Port prangt und mit bunten Lichtern Einsatzwillen suggeriert. | |
Ein Abziehen und Wiederanstecken scheint dem besagten Partner im Kampfe um einen Platz an der digitalen Informationssonne so schnöd |
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 | |
### functions | |
f() { echo "Failed."; exit; } | |
setup_net() | |
{ | |
echo "Configuring network" | |
while :; do |
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 | |
### functions | |
f() { echo "Failed."; exit; } | |
setup_net() | |
{ | |
echo "Configuring network" | |
while :; do |
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
<b>Fatal error</b>: Cannot redeclare get_user_metavalues() (previously declared in \\192.168.0.100\LOCALUSER\maffia\wp-includes\user.php:1072) in <b>\\192.168.0.100\LOCALUSER\maffia\wp-includes\deprecated.php</b> on line <b>2664</b><br /> |
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
require 'json' | |
data = JSON.parse(File.read("location_history.json")) | |
num_locations = data["locations"].length | |
accuracy_sum = 0 | |
activities = {} | |
total_activities = 0 | |
puts "Number of locations: #{num_locations}" |
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 | |
mkdir leeenux | |
cd leeenux | |
lb config --packages "openssh-client acpid acpi cpufrequtils pm-utils eeepc-acpi-scripts git-core vim gcc g++ libstdc++6 wpasupplicant xserver-xorg xserver-xorg-input-synaptics xserver-xorg-video-intel xserver-xorg-video-fbdev libgl1-mesa-dri pciutils firmware-iwlwifi firmware-atheros linux-sound-base alsa-base alsa-utils xfce4 xfce4-terminal xfce4-mixer xinit wireless-tools dhcpcd locate x11-xserver-utils gajim chromium-browser openoffice.org luvcview vlc okular xtightvncviewer netbeans-ide" --hostname moon --binary-images usb-hdd --bootappend-live "acpi_osi=Linux nomodeset locales=de_DE.UTF-8 keyboard-layouts=de" --apt-recommends false --binary-indices false --language de --distribution squeeze --archive-areas "main contrib non-free" | |
echo "deb http://ftp.debian.org/debian/ squeeze main contrib non-free" >> config/chroot_sources/full.chroot | |
echo "deb-src http://ftp.debian.org/debian/ squeeze main contrib non-free" >> config/chroot_sources/full.chroot | |
mkdir -p config/chr |
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
### Keybase proof | |
I hereby claim: | |
* I am avgp on github. | |
* I am g33konaut (https://keybase.io/g33konaut) on keybase. | |
* I have a public key whose fingerprint is C6C5 0090 A5BD DA3A BA52 26DA 78C5 C26F 75B1 EB5E | |
To claim this, I am signing this object: |
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
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
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
package main | |
import( | |
"fmt" | |
"math/rand" | |
"time" | |
"net/http" | |
) | |
func main() { |
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 getAngle(currentHeading, target) { | |
if(currentHeading > 180) { | |
target += 360; | |
} | |
return Math.abs(currentHeading - target); | |
} |