Skip to content

Instantly share code, notes, and snippets.

🎊
building fun things

Owen Williams ow

🎊
building fun things
Block or report user

Report or block ow

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ow
ow / Chromium flags for PWAs.md
Last active May 18, 2019
Chromium flags for PWAs
View Chromium flags for PWAs.md

Upcoming flags to enable link capturing and other PWA features. Enable these flags by copying and pasting the following, then searching for the below chrome://flags/

Enable full desktop integration:
chrome://flags/#enable-desktop-pwas

Capture URLs in their scope, such as twitter URLs for the Twitter PWA:
chrome://flags/#enable-desktop-pwas-link-capturing chrome://flags/#enable-desktop-pwas-stay-in-window

Get a pop-up that offers to allow the PWA to open certain URLs:

View Takedown_Luminary_Template
Hi,
I'm reaching out because it's come to my attention that Luminary is hosting an unauthorized copy of our copyrighted material, Charged Tech Podcast, without notification or consent.
The infringing feed is here: https://luminarypodcasts.com/listen/charged-tech-017/charged-tech-podcast/daffb3a3-92ae-424f-a3fa-86cbe8c50cc6
Copyright owner: Charged BV
RSS URL: https://feeds.simplecast.com/tbwR5Zjg
Not only do I own and control this podcast, I do not currently authorize you to use it, and think you're acting in pretty bad faith with the podcasting industry by just outright assuming my consent for your paid service.
View Hyper
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Inconsolata, Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
View photos.py
#!/usr/bin/env python
# install imagesize: pip install imagesize
import yaml, imagesize
from os import listdir, rename
from os.path import isfile, join, splitext, basename
# configuration
output_file = "prague.yml"
View Craft Language Switcher
<li class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{{ craft.i18n.getLocaleById(craft.locale).name }} <span class="caret"></span>
</button>
{# Configure and loop through selected site locales #}
{% set locales = ['en', 'da'] %}
{% for locale in locales %}
{% if loop.first %}<ul class="dropdown-menu lggnav">{% endif %}
{% set current = false %}
{# Check if locale equals the requested page locale #}
@ow
ow / es6.js
Created Mar 7, 2016 — forked from csarrazi/es6.js
ES6 classes
View es6.js
class Animal {
constructor(race) {
this.race = race;
}
}
class Cat extends Animal {
constructor(race) {
super(race);
}
View JS constants
const MY_SPECIAL_NUMBER = 100;
MY_SPECIAL_NUMBER = 101; //This will cause an error
View Constellations.markdown
View gist:deda3ef131b5bad90631
### Keybase proof
I hereby claim:
* I am hyperperforator on github.
* I am ow (https://keybase.io/ow) on keybase.
* I have a public key whose fingerprint is E5BB 1A77 9D4A C34B 4753 D75B 6407 8742 1517 C690
To claim this, I am signing this object:
You can’t perform that action at this time.