This file contains hidden or 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
With a German passport you can travel to all the same countries | |
without a special visa as with a Swedish one plus those | |
20 additional: | |
- Faroe Islands | |
- Gibraltar | |
- Guernsey | |
- Isle of Man | |
- Jersey | |
- Anguilla |
This file contains hidden or 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
#!/usr/bin/env python2 | |
import gmail # from https://github.com/charlierguo/gmail | |
from datetime import datetime, timedelta, date | |
print "Logging in inte GMail ...", | |
g = gmail.login("foo", "test") | |
print "done." | |
d = date(2018, 10, 30) |
This file contains hidden or 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
➜ jeena@jugulator t (master✗) ./mf2.rb https://commentpara.de/comment/43.htm | |
{ | |
"items": [ | |
{ | |
"type": [ | |
"h-entry" | |
], | |
"properties": { | |
"author": [ | |
{ |
This file contains hidden or 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 "github.com/mikkyang/id3-go" | |
import "log" | |
import "strings" | |
func main() { | |
a, err := id3.Open("/tmp/music/01 Completement fou.mp3") | |
name1 := strings.TrimSpace(a.Artist()) | |
if err != nil { |
This file contains hidden or 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
-- A script to select the next random Call of Duty map | |
repeat with usermap in shuffle(getMaps()) | |
display dialog "Next map: " & usermap giving up after 3600 * 10 | |
nextMap(usermap) | |
end repeat | |
on split(theString, theDelimiter) | |
set oldDelimiters to AppleScript's text item delimiters | |
set AppleScript's text item delimiters to theDelimiter |
This file contains hidden or 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
#!/usr/bin/env python3 | |
# A script to copy the next random Call of Duty map into the c&p buffer. | |
import os | |
import random | |
def is_map(str): | |
return str.startswith("mp_") |
This file contains hidden or 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 gross() { | |
document.getElementById("bild").width++; | |
if (document.getElementById("bild")["width"] < 100) { | |
setTimeout("gross()", 6); | |
} | |
} | |
function klein() { | |
document.getElementById("bild").width--; | |
if (document.getElementById("bild")["width"] > 30) |
This file contains hidden or 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
#!/usr/bin/env ruby -wU | |
# | |
# This script uses the command line twitter client https://github.com/twitter/twurl | |
# You have to authorize Twurl one time before you can use ist, please read the | |
# README for Twurl which describes how to do it. | |
# What it basically does is it sets the flag that you don't want to see | |
# any retweets of any users at all. | |
require 'json' |
This file contains hidden or 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
#!/usr/bin/env ruby | |
(1..20).each do |i| | |
if i % 3 == 0 && i % 5 == 0 | |
puts "FizzBuzz" | |
elsif i % 3 == 0 | |
puts "Fizz" | |
elsif i % 5 == 0 | |
puts "Buzz" | |
else |
This file contains hidden or 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
Melody: Un-break my heart (Toni Braxton / Diane Warren) | |
Text by: Tobias Olausson | |
Don't leave before it compiles | |
Don't code in any weird styles | |
Come back and patch all this code | |
Come and take errors awaaaay | |
I need your patch, to run this joint | |
Upstream is so behiiiiiind |
NewerOlder