application:about
application:show-preferences
application:show-settings
application:quit
application:hide
application:hide-other-applications
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0 | 20110126 | |
License: none (public domain) | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, |
#! /bin/sh - | |
# | |
# Install OpenVPN connections for all available | |
# regions to NetworkManager | |
# | |
# Important: | |
# This is a modified version of the official Ubuntu script PrivateInternetAccess.com | |
# released at https://www.privateinternetaccess.com/installer/install_ubuntu.sh | |
# Automatic installation of python and openvpn has been removed, and needs to be | |
# installed manually before installation. |
module.exports = { | |
'rules': { | |
'indent': [ | |
2, | |
2 | |
], | |
'quotes': [ | |
2, | |
'single' | |
], |
'use strict'; | |
module.exports.jsonResponseObject = function jsonResponseObject(err, data) { | |
return { | |
meta: { | |
status: err ? (err.status || 500) : 200, | |
message: err ? (err.message || 'Error') : 'OK' | |
}, | |
response: data || {} | |
}; |
'use strict'; | |
const _ = require('underscore'); | |
function Task(fn) { | |
this.fn = fn; | |
} | |
function Worker(interval, tasks) { | |
this.interval = interval; |
#!/bin/bash | |
# Get zero-padded hex string from date format | |
# Usage: f <format> | |
function f { | |
printf %02X $(date +$1) | |
} | |
h=$(f %-H) | |
m=$(f %-M) |
#!/bin/bash | |
# | |
# Set brightness of intel backlight | |
# Usage: | |
# setbrightness | |
# Print current brightness | |
# setbrightness <level> | |
# Set brightness to <level> 1-10 | |
# setbrightness less | |
# Set brightness to current level - 1 |
angular.module('ngApp') | |
.directive('soundCloudPlayer', function () { | |
return { | |
restrict: 'E', | |
template: '<iframe width="100%" height="465" scrolling="no" frameborder="no"></iframe>', | |
link: function (scope, element, attrs) { | |
var iframe = element.find('iframe'); | |
var settings = [ | |
'buying=false', | |
'liking=false', |
["red", "pink", "purple", "deep-purple", "indigo", "blue", "light-blue", "cyan", "teal", "green", "light-green", "lime", "yellow", "amber", "orange", "deep-orange", "brown", "grey", "blue-grey"] |