Alfred
I have a "lights" workflow in Alfred, that is a little AppleScript
tell application "System Events"
tell appearance preferences
set dark mode to not dark mode
end tell
end tell
I have a "lights" workflow in Alfred, that is a little AppleScript
tell application "System Events"
tell appearance preferences
set dark mode to not dark mode
end tell
end tell
<?php | |
class ComplexNumber { | |
private $real; | |
private $imaginary; | |
public function __construct($real, $imaginary) { | |
$this->real = $real; | |
$this->imaginary = $imaginary; | |
} |
import UIKit | |
/** | |
* A vector space (!) | |
*/ | |
protocol VectorSpace { | |
var identity: Self { get } | |
var magnitude: CGFloat { get } |
'use strict'; | |
/** | |
* Let's talk about methodology | |
* | |
* I used to like require.js. I thought it was the bees knees as far as | |
* dependency management was concerned. After a reasonably lengthy email | |
* conversation with Kyle Simpson (@getify everywhere), I was forced to | |
* reconsider this opinion. | |
* |
I hereby claim:
To claim this, I am signing this object:
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
jQuery(function ($) { | |
$.event.special.hoverIntent = (function () { | |
var hoverIntentDelay = 200; | |
return { | |
'setup': function (data, namespaces) { | |
var namespace, | |
$el; | |
namespace = namespaces.length ? '.' + namespaces.join('.'): ''; | |
$el = $(this); |