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
gawk '/^[A-Za-zÄÖÜäöü ]+$/ {print; getline; getline; print $0 " 2022;True"}' abfall2022.html | sed -e 's/|Gebiet finden//g' | sed -e 'N;s/\n/;/' -e 's/Januar/01/' -e 's/Februar/02/' -e 's/März/03/' -e 's/April/04/' -e 's/Mai/05/' -e 's/Juni/06/' -e 's/Juli/07/' -e 's/August/08/' -e 's/September/09/' -e 's/Oktober/10/' -e 's/November/11/' -e 's/Dezember/12/g' -e 's/Montag, //g' -e 's/Dienstag, //g' -e 's/Mittwoch, //g' -e 's/Donnerstag, //g' -e 's/Freitag, //g' -e 's/Samstag//g' -e 's/Sonntag//g' -e 's/\. /./g' -e 's/\([0-9]\) \([0-9]\)/\1.\2/g' -e 's/;\([0-9]\)\./;0\1./g' -e 's/\([0-9]\{2\}\).\([0-9]\{2\}\).\([0-9]\{4\}\)/\3-\2-\1/g' -e 's/;/,/g' |
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
"""" Enable Vundle: vim plugin manager | |
" required before Vundle initialization | |
" set nocompatible " disable compatibility mode with vi | |
" filetype off " disable filetype detection (but re-enable later, see below) | |
" set the runtime path to include Vundle, and initialize | |
" set rtp+=~/.vim/bundle/Vundle.vim | |
" call vundle#begin() | |
" Plugin 'VundleVim/Vundle.vim' |
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 osa = require('osa2'); | |
var fs = require('fs'); | |
var chokidar = require('chokidar'); | |
var watcher = chokidar.watch('/Users/rup/Desktop/trolls', { | |
ignored: /(^|[\/\\])\../, | |
ignoreInitial: true, | |
persistent: true, | |
}); |
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 | |
# Inpiration: http://engineeringblog.yelp.com/2016/05/yelp-android-app-went-on-a-diet.html | |
# `-lossless` not used to give support for Android 4.0+ | |
# Make sure cwebp is installed. | |
if ! type "cwebp" > /dev/null; then | |
echo "Please install cwebp to continue:" | |
echo "brew install webp" | |
echo "-- or --" | |
echo "sudo port selfupdate" |
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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="your.package.name" > | |
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | |
<uses-permission android:name="android.permission.INTERNET" /> | |
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> | |
<application | |
android:allowBackup="true" |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |