Skip to content

Instantly share code, notes, and snippets.

View fourside's full-sized avatar
😉
こんにちは

fourside fourside

😉
こんにちは
View GitHub Profile
@fourside
fourside / rec_radiko.sh
Created April 13, 2016 22:56 — forked from saiten/rec_radiko.sh
簡易radiko録音ツール。要swftools
#!/bin/sh
playerurl=http://radiko.jp/player/swf/player_4.1.0.00.swf
cookiefile=./cookie.txt
playerfile=./player.swf
keyfile=./authkey.png
if [ $# -eq 1 ]; then
channel=$1
output=./$1.flv
@fourside
fourside / angularScrollSpy.js
Last active February 1, 2016 13:51 — forked from nwpappas/angularScrollSpy.js
An AngularJS directive implementation of Twitter Bootstrap's ScrollSpy, ported and updated from https://gist.github.com/alxhill/6886760.
app.directive('scrollSpy', function($window){
return {
restrict: 'A',
controller: function($scope) {
$scope.spies = []; // array of spy object, made by spy directive
this.addSpy = function(spyObj) {
$scope.spies.push(spyObj);
};
$scope.spyChildren = [];