- ChromeLauncher - launch Google Apps
- f.lux - better lighting
- LibreOffice - alternate
- PasswordSafe - password manager
- ProcessExplorer - windows process management
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header('Content-Type: text/xml'); | |
$result = $_GET['Twiml']; | |
foreach($_REQUEST as $k => $v) { | |
if ($k === 'Twiml') { continue; } // avoid infinite loop | |
$result = str_replace('${' . $k . '}', $v, $result); | |
}//end for: replaced all the tokens | |
echo $result; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
html, body { margin: 0; } | |
canvas { | |
position: absolute; | |
height: 100%; | |
width: 100%; | |
margin: 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (factory) { | |
'use strict'; | |
if ('function' === typeof define && define.amd) { | |
define(['jquery'], factory); // register anonymous AMD module | |
} else { factory(jQuery); } // browser globals | |
}(function (jQuery) { | |
'use strict'; | |
var | |
$ = jQuery, | |
orig = $.fn.removeClass, |
Class "Hello World" app with a bit of canvas thrown in for good measure.
- MDN: Basic usage of Canvas
- Codelab 2: Create Basic App
Until [app_shell] is created, here is a workaround for building, installing, and running a standalone [Chrome App] for Windows.
- Use
chrome://extensions
to package your app. The approach we're outlining here doesn't work for unpacked apps. - You should have a
.crx
file that is your packaged app.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
youtube-dl --batch-file $1 --extract-audio --output '%(autonumber)s-%(title)s-%(id)s.%(ext)s' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html><head> | |
<title>wordeck - words in a deck</title> | |
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" /> | |
<link rel="stylesheet/less" href="wordeck.less" /> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/less.js/1.7.0/less.min.js"></script> | |
</head><body class="mode-edit"> | |
<nav class="navbar navbar-default" role="navigation"> | |
<div class="navbar-header"> | |
<a class="navbar-brand" href="#">wordeck</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Based on: http://stackoverflow.com/a/5072145/12815 | |
Object.filter = function(obj, predicate) { | |
var result = {}, key; | |
for(key in obj) { | |
if (obj.hasOwnProperty(key) && predicate.call(obj, key, obj[key])) { | |
result[key] = obj[key]; | |
}//end if: key added to result | |
}//end for: iterated over the object | |
return result; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container-fixed { | |
bottom: 0; | |
position: fixed; | |
left: 0; | |
right: 0; | |
top: 0; | |
} | |
.container-fixed .col { | |
height: 100%; |