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
import 'dart:convert'; | |
enum ApiParam { | |
foo('FOO_KEY'), | |
bar('BAR_INFO'), | |
baz('BAZ_THING'), | |
; | |
final String param; | |
const ApiParam(this.param); |
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
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"meta": { "theme": "even" }, | |
"basics": { | |
"name": "Ritchie Argue", | |
"label": "Virtual Production Display Specialist", | |
"image": "", | |
"email": "ritchie@doequalsglory.com", | |
"phone": "+1 512 394 4569", | |
"url": "", |
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
! Title: repentsinner's earplugs for algorithms | |
! Description: Earplugs against algorithmic recommendation engines - | |
! clean excessive recommendations from social media. Wish | |
! these worked in the respective apps as well | |
! Expires: 4 days | |
! Licence: | |
! Homepage: | |
! | |
! GitHub issues: | |
! GitHub pull requests: |
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
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Flutter Demo', |
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/sh | |
# Install Homebrew (macOS package manager) | |
# consider using spack (https://spack.io/) when it better supports fish | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew update | |
# Install fish (A better shell) | |
curl -Lo ~/Downloads/fish-3.0.2.pkg https://github.com/fish-shell/fish-shell/releases/download/3.0.2/fish-3.0.2.pkg | |
sudo installer -pkg ~/Downloads/fish-3.0.2.pkg -target / |
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
// set an id of 'subscribe' on the form element in Webflow | |
// add an embedded object that contains hidden inputs with the same data | |
// that ActiveCampaign generates from their form builder | |
document.getElementById('subscribe').onsubmit = function (event) { | |
try { | |
// hide previous errors | |
this.closest('.w-form').querySelector('.w-form-fail').style.display = 'none'; | |
// jsonp nastiness to account for an inability to configure CORS origins in activecampaign 😠 |
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
/* Unfortunate hack to address https://github.com/mitro-co/mitro/issues/15 */ | |
/*eslint-env browser */ | |
/*eslint no-console:0, no-undef:0 */ | |
delete console.log; // unbreak the redirected log | |
var secrets = document.querySelectorAll("[data-secret-id]"); | |
function removeSecret(i) { | |
"use strict"; | |
if (i < secrets.length) { | |
var id = parseInt(secrets[i].attributes["data-secret-id"].value); | |
background.removeSecret(id, |