Skip to content

Instantly share code, notes, and snippets.

@teddywing
teddywing / firefox-nightly-unbranded.sh
Last active June 18, 2023 18:27 — forked from KwanEsq/unbranded.js
Download the latest unbranded release build from the Firefox Nightly channel
#!/bin/sh
# download-nightly2
# Download the latest release build of Firefox Nightly for Mac OS.
#
# Ported from KwanEsq's JavaScript user script:
# https://gist.github.com/KwanEsq/0959333d8c8781f6582fe3988af4d483
macos_type_name='build-macosx64-add-on-devel%2Fopt'
@teddywing
teddywing / nextmeeting
Created November 26, 2021 09:06
Open the next videoconference meeting
#!/bin/bash
# nextmeeting
# Output a link to the next upcoming or currently ongoing meeting.
# The '-o' flag opens the meeting URL in a new Google Chrome window.
# Copyright 2021 Teddy Wing
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@teddywing
teddywing / Example 1.png
Last active April 2, 2021 17:39
Fix pkg.go.dev CSS styles
Example 1.png
@teddywing
teddywing / index.ts
Last active December 1, 2020 18:10
@material/tooltip 8.0.0 build error with Webpack and Typescript example
import { MDCTooltip } from '@material/tooltip';
new MDCTooltip(document.querySelector('.mdc-tooltip')!);
@teddywing
teddywing / Example.png
Last active March 17, 2023 23:24
Restore key GitHub styles to their early-2020.06 look
Example.png
@teddywing
teddywing / podcast x86_64-apple-darwin.log
Created August 12, 2019 20:12
njaremko/podcast TravisCI deploy to GitHub Releases test logs
travis_fold:start:worker_info
Worker information
hostname: eb512047-1b85-4e9a-a98d-120df1af98a2@1.worker-com-79d58db94b-8sj5n.macstadium-prod-1
version: v6.2.0 https://github.com/travis-ci/worker/tree/5e5476e01646095f48eec13196fdb3faf8f5cbf7
instance: 09ad5918-3dcd-4699-9d71-935e9b368932 travis-ci-macos-10.13-xcode9.4.1-1529955246 (via amqp)
startup: 1m7.451474465s
travis_fold:end:worker_info
travis_fold:start:system_info
Build system information
@teddywing
teddywing / curl-ssl-error-35-fix.md
Last active December 4, 2018 22:16
Mac OS X 10.8 Mountain Lion Curl SSL error 35 fix

A fix for this error on Mac OS X 10.8 Mountain Lion:

[35] SSL connect error (error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure)
	cd /usr/lib
	mv libcurl.4.dylib libcurl.4.dylib~
	sudo mv libcurl.4.dylib libcurl.4.dylib~
	sudo ln -s /usr/local/lib/libcurl.4.dylib 
@teddywing
teddywing / Cargo.toml
Last active October 31, 2018 16:52
Rust Combine error propagation
[package]
name = "parser-error-test"
version = "0.1.0"
[dependencies]
combine = "3.6.1"
@teddywing
teddywing / hstore_accessor-integer-cast-research.txt
Last active November 14, 2017 22:29
Research into a bug with the `hstore_accessor` Ruby gem, where it typecasts before performing validations
Enquête hstore_accessor
La gem s'intègre avec `ActiveRecord` dans :
https://github.com/devmynd/hstore_accessor/blob/v1.1.0/lib/hstore_accessor.rb
Quand on appele `hstore_accessor` dans un modèle, la méthode dans
https://github.com/devmynd/hstore_accessor/blob/v1.1.0/lib/hstore_accessor/macro.rb
est executé.
Une module est créée qui définit des méthodes inclus dans le modèle :
@teddywing
teddywing / space-to-hyphen.bash
Last active November 11, 2017 20:41
Toggle spacebar to output " " or "-" (for writing Git branch names)
# Copyright © 2017 Teddy Wing
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,