Skip to content

Instantly share code, notes, and snippets.

@kliu
kliu / IPTV
Created January 7, 2021 12:08 — forked from liu246542/IPTV
Lust for life
#EXTM3U
#EXTINF:-1, group-title="中央频道", CCTV-3
http://223.110.245.165/ott.js.chinamobile.com/PLTV/3/224/3221225588/index.m3u8
#EXTINF:-1, group-title="中央频道", CCTV-5
http://223.110.245.165/ott.js.chinamobile.com/PLTV/3/224/3221226362/index.m3u8
#EXTINF:-1, group-title="中央频道", CCTV-7
http://121.31.30.90:8085/ysten-business/live/cctv-7/1.m3u8
#EXTINF:-1, group-title="中央频道", CCTV-8
http://121.31.30.90:8085/ysten-business/live/cctv-8/1.m3u8
#EXTINF:-1, group-title="中央频道", CCTV-9

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

So yesterday brought the sad news that Google Reader is being killed off. C’est la vie it seems, given it was a Google product. In my search for an alternative I rediscovered Fever and decided to see if I could run it up for free on Heroku. Onwards...

Personally I think the news about Reeder is quite sad, as I would quite happily have paid for it as a service. In fact I like RSS so much that I actually shelled out the $30 for Fever when it first came out years ago (I was also pretty massive Shaun Inman fanboy if I’m being honest).

I ended up setting Fever aside because screw having to manage self-hosting for PHP and MySQL, right?

If you’re new to Fever I recommend going and checking it out, but also reading the post in response to the Google Reader announcement by Fevers author, Shaun, for a good list of what Fever is and isn’t.

Enough jibba-jabba!

@kliu
kliu / gist:2310014
Created April 5, 2012 11:14 — forked from al3xandru/gist:1128606
nvALT Bookmarklet
javascript:(function({
var INSTAPAPER=true,w=window,d=document,pageSelectedTxt=w.getSelection?w.getSelection():(d.getSelection)?d.getSelection():(d.selection?d.selection.createRange().text:0),pageTitle=d.title,pageUri=w.location.href,tmplt="";
tmplt="From ["+pageTitle+"]("+pageUri+"):\n\n";
if(pageSelectedTxt!="") {
pageSelectedTxt=">%20"+pageSelectedTxt;
pageSelectedTxt=pageSelectedTxt.replace(/(\r\n|\n+|\r)/gm,"\n");
pageSelectedTxt=pageSelectedTxt.replace(/\n/g,"\n>%20\n>%20");
w.location.href="nvalt://make/?txt="+encodeURIComponent(tmplt+pageSelectedTxt)+"&title="+encodeURIComponent(pageTitle)
}
else {