Skip to content

Instantly share code, notes, and snippets.

Christian Heilmann codepo8

Block or report user

Report or block codepo8

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@codepo8
codepo8 / devrelsummit.md
Last active Nov 3, 2018
Live Notes on DevRelSummit Asia 2018
View devrelsummit.md

devrel-summit

DevRel Summit Asia 2018 Live Notes

These are my notes of the DevRel summit 2018 on 2nd of November in Singapore. They are by no means complete and I may have rushed a few bits. I'm looking forward to the videos and slide releases by the different presenters to fill in gaps and welcome comments on that. I hope this helps getting an idea what was covered.

Keynote Nicole Zhu, GoJek

devrel-in-10-years

@codepo8
codepo8 / ai-for-humans.md
Last active Jun 4, 2019
Link collection for the "AI for humans" talk
View ai-for-humans.md

Slides

Intro and history of ML on the web

  • Autodraw by Google is a tool that allows you to doodle what you want to paint and turns it into a proper icon by detecting the outline and making an ML based assumption what it could be.
  • Quickdraw by Google is a game they created a few years before Autodraw to train the model.
  • ReCaptcha is a CAPTCHA engine that feeds the data back into Google's ML systems. For example, currently being asked to detect street signs or cars is a good indicator that this data will go into the self-driving cars project.
View mobile-era.md
@codepo8
codepo8 / names.json
Created Apr 19, 2017
MST3K names of the "Space Mutiny" episode
View names.json
[
'Beat PunchBeef',
'Big, Brave Brick of Meat',
'Big McLargeHuge',
'Blast HardCheese',
'Blast ThickNeck',
'Bob Johnson',
'Bold BigFlank',
'Bolt VanderHuge',
'Brick HardMeat',
View player.php
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Audio archive</title>
<style>
body {
font-family: helvetica,arial,sans-serif;
color: #333;
View tweet-this.php
<p class="tweetthis">
<a href="http://twitter.com/share?url=<?php urlencode(the_permalink());?>&amp;text=<?php echo ( get_the_title());?>&amp;via=codepo8"
target="blank">
<svg class="svg-icon" viewBox="0 0 20 20">
<path fill="none" d="M14.467,6.707c-0.34,0.198-0.715,0.342-1.115,0.419c-0.318-0.335-0.775-0.545-1.279-0.545c-0.969,0-1.754,0.773-1.754,1.727c0,0.135,0.015,0.267,0.045,0.394C8.905,8.628,7.612,7.94,6.747,6.896C6.596,7.151,6.509,7.448,6.509,7.764c0,0.599,0.31,1.128,0.78,1.438C7.002,9.192,6.732,9.115,6.495,8.985c0,0.007,0,0.014,0,0.021c0,0.837,0.605,1.535,1.408,1.694c-0.147,0.04-0.302,0.06-0.462,0.06c-0.113,0-0.223-0.011-0.33-0.031c0.223,0.687,0.871,1.186,1.638,1.199c-0.6,0.464-1.356,0.739-2.179,0.739c-0.142,0-0.281-0.007-0.418-0.023c0.777,0.489,1.699,0.775,2.689,0.775c3.228,0,4.991-2.63,4.991-4.913c0-0.075-0.002-0.149-0.004-0.223c0.342-0.244,0.639-0.547,0.875-0.894c-0.316,0.137-0.652,0.23-1.008,0.272C14.057,7.448,14.336,7.11,14.467,6.707 M10,0.594c-5.195,0-9.406,4.211-9.406,9.406c0,5.195
View download-jsconf-eu-videos.sh
#!/bin/sh
# requires youtube-dl https://rg3.github.io/youtube-dl/
ids=(lJ1kY-CSpBk znwWYR1mzzw 6evp7YLDJrg cRTko6m6U4A 6Qx5ZAbfqjo 4dwZ-WIJCSo YuezRMnwyeI xzBloghQhO4 2ypYniQa7_o oUVT1HXlnls PA139CERNbc 1sLjWlWvCsc d0pOgY8__JM c5GlZp6L9P4 zvG97aOfAJM VxxTkhSTJbA rw8Q9ZLDkEs rw8Q9ZLDkEs 5mcyUUf20Ng Mju-k0yxLnk 6FRURtW5qXI 2sZsBf-oUj8 ltMCrW9JCEE VHbnuNng0M8 aQSz4KnSFvk biJXpv-6XVY Sq4havIoQOo 9oGQucDOaoY SmE4OwHztCc Ju8x3z1LuCg pKtG4dO-9Tw EEF2DlOUkag MptY6ff4tOQ 18s7jJEJeOc c9kkqSgxqxQ raJcug_vW0c sloddfX9jLE 3fNEkYJIXhc CzxQn78uO6c UqSQbS7rltU fuXuirjR5NM UcPCAYpgB7k GPce5lNUhtc 4Qs5mqa4ioU BRbcoXq_x2M Xvdnewmdokc zKLkHbcjwsc 57fth5EZl8E 2BdFg5JT9lg ani_MOZt5_c)
for i in "${ids[@]}"
do
youtube-dl "https://www.youtube.com/watch?v="$i
done
@codepo8
codepo8 / redirect
Last active Jun 17, 2019
Simple redirect of hotlinked images in .htaccess
View redirect
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
# allowed domains, add as needed
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?christianheilmann.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?wait-till-i.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?mozilla.org [NC]
# search engines and social sites and stuff
You can’t perform that action at this time.