Skip to content

Instantly share code, notes, and snippets.

View johannes-weber's full-sized avatar
💭
I may be slow to respond.

Johannes Weber johannes-weber

💭
I may be slow to respond.
View GitHub Profile
@ziadoz
ziadoz / awesome-php.md
Last active July 13, 2024 05:29
Awesome PHP — A curated list of amazingly awesome PHP libraries, resources and shiny things.
@DAddYE
DAddYE / hack.sh
Created March 19, 2012 11:31
OSX For Hackers
#!/bin/sh
##
# This is a script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# Run in interactive mode with:
# $ sh -c "$(curl -sL https://raw.github.com/gist/2108403/hack.sh)"
#
# or run it without prompt questions:
@staltz
staltz / introrx.md
Last active July 27, 2024 04:59
The introduction to Reactive Programming you've been missing
@joshbuchea
joshbuchea / get-url-params.js
Last active October 11, 2022 23:13
JavaScript - Get URL Query Params
/**
* Returns a bare object of the URL's query parameters.
* You can pass just a query string rather than a complete URL.
* The default URL is the current page.
*/
function getUrlParams (url) {
// http://stackoverflow.com/a/23946023/2407309
if (typeof url == 'undefined') {
url = window.location.search
}
@doismellburning
doismellburning / userstories.md
Last active October 30, 2017 16:25
Conference User Stories
@gitnik
gitnik / mapping.js
Created November 17, 2015 15:53
Frontend <-> Backend Mapping
export default class HeardModel extends AbstractModel {
@ApiField('ApiConfidence')
private confidence: string = '';
@ApiField('heardType')
private type: string = '';
@ApiField('tradedOnDate', (dateString: string) => new Date(dateString), (date: Date) => date.getTime())
private traded: Date = new Date();
}
@andreruffert
andreruffert / README.md
Last active March 27, 2017 20:40
Angular Camp 2016 Barcelona
@adamterlson
adamterlson / Propsal.md
Last active October 24, 2021 16:59
Lightning talk proposal for the Reactive 2016 Conference: Reconceptualizing react applications as a function

Lightning talk proposal for the Reactive 2016 Conference. Here's a handy retweet link

If you want to hear this talk, or if you just want to support me, please star ⭐ the Gist!

When I started writing React apps, I approached components as if they were “just the V in MVC!” Seriously, we’ve all heard it.

I have found this to be an inferior way of thinking about and building React applications. It makes people treat React as a drop-in replacement for something like a Backbone or Angular 1.x View. In other words, people treat it like a glorified template system with partials and don’t harness the power of its functional paradigms.

This talk is about a functional way to write and conceptualize entire React applications.

how to download a video from the orf tvthek

  • open the tvthek page with the video you want to download
  • open the dev tools
    • open the network tab
    • search for 'playlist'
    • open playlist.m3u8, and open the 'response' tab
    • look for the highest given bandwidth (usually at the bottom, e.g. #EXT-X-STREAM-INF:BANDWIDTH=3192000)
    • copy the url below that, open it in a new browser tab and download it (e.g. https://apasfiis.sf.apa.at/ipad/cms-worldwide_abr/.../chunklist.m3u8&ip=...)
  • open bash