I had this idea a minute ago, the rustacean logo "Ferris the Crab" has about the same colors as the firefox-fox. So why not integrate it into the firefox logo to make a Rustish/Firefoxish servo logo.
What do you think?
<!-- | |
This document intends to include all stops used by the DVB as of December 2015. | |
It was created by manually combining multiple DVB documents and improved by using a reverse engineered autocompletion API. | |
It is preformatted as PropertyList and can easily be handled as XML. | |
Consider this document as public domain, mentioning my name in your project would make me happy though. | |
Created by Richard Neitzke. | |
--> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
fn main() { | |
let a = [1,2,3,4,5,6,7,8,9,0]; | |
let b = "hello world!"; | |
let slice_a = &a[6..]; // [7,8,9,0] | |
let slice_b = &b[6..11]; // "world" | |
let slice_c = &slice_b[..2]; // "wo" | |
println!("{:?}", a); println!("{:?}", slice_a); |
#[derive(Debug)] | |
struct Pair(i32,i32); | |
fn eat(y:&mut Pair) { y.0 = 1; y.1 = 2} | |
//fn replace(y:&mut Pair) { y = Pair(1,2)} // no? why not? | |
fn replace(y:&mut Pair) { let Pair(x,z) = Pair(1,2); y.0 = x; y.1 = z} | |
fn main(){ | |
*.swp |
GIMP Palette | |
Name: Favorite Colors, exported 2013/11/11 | |
Columns: 0 | |
39 40 34 #272822 | |
102 217 239 #66d9ef | |
117 113 94 #75715e | |
144 144 138 #90908a | |
166 226 46 #a6e22e | |
174 129 255 #ae81ff | |
230 219 116 #e6db74 |
#!/bin/bash | |
function cget(){ | |
curl $* --silent --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0" | |
} | |
# | xargs wget -nc -q -P /home/hendrik/roboton | |
station=${@:-https://www.sputnik.de/programm/programmschema} | |
#showpage="http://www.sputnik.de/musik/sendungen/sputnik-roboton-mi-22-00-23-00-cet" | |
showpage=$(cget $station --silent | sed -n 's/.*href="\(http[^"]*\).*/\1/p' | grep roboton) | |
shows=$(cget $showpage --silent | sed -n 's/.*href="\(http[^"]*\).*/\1\n/p' | grep mp3) |
[12:40:57] *** joerg is now Offline | |
*** 2015-12-10 | |
[12:40:46] <joerg> ACTION=="add", SUBSYSTEM=="block", ENV{ID_PART_TABLE_UUID}=="819fbbd8-9b21-4cd6-aa7e-9c81cae2e37c", TAG+="systemd", ENV{SYSTEMD_WANTS}="backup.service" | |
[12:40:57] *** Contact has been switched: joerg@higgsboson.tk/turingmachine | |
[12:40:57] *** joerg is now Online [50] | |
[12:41:05] *** Unverified conversation started | |
[12:41:20] <joerg> /etc/udev/rules.d/99-backup.rules |
tested on archlinux
# setup a special virtenv for python, e.g. here:
sudo mkdir /var/opt/virtenv/libavg
virtualenv -p /usr/bin/python2 /var/opt/virtenv/libavg --system-site-packages
# hopefully your virtualenv version is later than this https://github.com/pypa/virtualenv/pull/798
#!/bin/env ruby | |
require "net/http" | |
require "nokogiri" | |
puts Nokogiri::HTML(Net::HTTP.get(URI("https://en.wikipedia.org/wiki/Nicolas_Cage_filmography"))) | |
.css("table.wikitable.sortable tr") | |
.map{|line| line.css("td i a").text} | |
.keep_if{|e|!e.strip.empty?} | |
.sample |