A Pen by rektide de la fey on CodePen.
This file contains hidden or 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
const $frequency = Symbol.for("Overthruster:frequency") | |
export class Overthruster | |
{ | |
constructor({frequency}={}){ | |
this[$frequency]= frequency | |
} | |
get frequency(){ | |
return this[ $frequency] | |
} |
This file contains hidden or 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
import { makeFoo, makeBar } from "./providers.js" | |
/** | |
* Create property `name` on `obj` that will run `provider`'s factory method the first time | |
*/ | |
function makeLazyGetter(obj, name, provider){ | |
let value | |
Object.defineProperty(obj, name, { | |
get: function(){ | |
if(!value){ |
This file contains hidden or 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
Downloading libc v0.2.43 | |
Downloading bitflags v1.0.4 | |
Downloading udev v0.2.0 | |
Downloading libudev-sys v0.1.4 | |
Downloading pkg-config v0.3.14 | |
Compiling pkg-config v0.3.14 | |
Compiling input-sys v1.9.0 (file:///home/rektide/src/archive/input.rs/input-sys) | |
Compiling libc v0.2.43 | |
Compiling bitflags v1.0.4 | |
Compiling libudev-sys v0.1.4 |
This file contains hidden or 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
$ xpra start --start=xlogo --start-via-proxy=yes | |
2018-01-04 22:39:09,965 server failure: disconnected before the session could be established | |
2018-01-04 22:39:09,966 server requested disconnect: server error (error accepting new connection) | |
2018-01-04 22:39:09,971 Error: printing disabled: | |
2018-01-04 22:39:09,971 No module named cups | |
xpra initialization error: | |
failed to start-via-proxy: unknown general failure | |
$ sudo journalctl -xef -u xpra | |
Jan 04 22:39:09 nanomachine xpra[17604]: New unix-domain connection received on /run/xpra/system |
This file contains hidden or 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
$ xpra start :99 | |
Warning: invalid option: 'shadow-fullscreen' | |
Warning: cannot use the system proxy for 'start' subcommand, | |
failed to connect to '/run/xpra/system': | |
[Errno 111] Connection refused | |
Warning: invalid option: 'shadow-fullscreen' | |
InitException: cannot open log file '${HOME}/.xpra/:99.log': [Errno 2] No such file or directory: '${HOME}/.xpra/:99.log' | |
xpra initialization error: | |
cannot open log file '${HOME}/.xpra/:99.log': [Errno 2] No such file or directory: '${HOME}/.xpra/:99.log' |
This file contains hidden or 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
wget -O - https://atlassian.artifactoryonline.com/atlassian/api/gpg/key/public | sudo apt-key add - | |
--2017-08-02 16:01:43-- https://atlassian.artifactoryonline.com/atlassian/api/gpg/key/public | |
Resolving atlassian.artifactoryonline.com (atlassian.artifactoryonline.com)... 34.225.205.210, 52.44.119.99 | |
Connecting to atlassian.artifactoryonline.com (atlassian.artifactoryonline.com)|34.225.205.210|:443... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 1641 (1.6K) [text/plain] | |
Saving to: 'STDOUT' | |
- 100%[================================================>] 1.60K --.-KB/s in 0s |
This file contains hidden or 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
var promiseSource = new WeakMap() | |
(function(){ | |
const promiseConstructor = Promise.constructor | |
Promise.constructor = function(fn){ | |
console.log("monkeypatch successful") | |
promiseConstructor.call(this, fn) | |
promiseSource.set(this, new Error().stack) | |
} | |
}()) | |
var sample = new Promise(x => x(42)) // expecting: "monkeypatch successful" |
In the releases after Ansible 2.1, a vast amount of the expressivitiy in Ansible went away or broke.
I was in pain and hurting. I started trying to to upstream things I needed to continue on, but the templating situation post 2.1 was really bad with no signs of recovery to the once pristine state.
I somewhat dramatically opined, about what felt like a world I had built upon shattering,
Damnit Ansible could you have done any more to ruin it all.
Your fall has cast a horrible pall over all good things in this world. The birds no longer chirp. The grass is dead.
This file contains hidden or 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
// ==UserScript== | |
// @name CloudFormation Filter | |
// @namespace http://tampermonkey.net/ | |
// @version 0.99a | |
// @description add filterability to the CloudFormation URL template via a "term" query parameter in the hash | |
// @author rektide | |
// @match https://console.aws.amazon.com/cloudformation/home* | |
// @grant none | |
// ==/UserScript== |