Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
#!/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: |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
/** | |
* 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 | |
} |
Would you like to contribute? Please add a comment. This list is in no way exhaustive!
No guarantee that they'll be used, but all input is appreciated!
A common "template" is As a X, I want Y, so that Z
, but use whatever feels most appropriate.
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(); | |
} |
Lightning talk proposal for the Reactive 2016 Conference. Here's a handy retweet link
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.
how to download a video from the orf tvthek
playlist.m3u8
, and open the 'response' tab#EXT-X-STREAM-INF:BANDWIDTH=3192000
)https://apasfiis.sf.apa.at/ipad/cms-worldwide_abr/.../chunklist.m3u8&ip=...
)