I hereby claim:
- I am allyouaskfor on github.
- I am canibeanartist (https://keybase.io/canibeanartist) on keybase.
- I have a public key ASD1IFaSmwsjau0IatTEvbPCjPYiTnLXB1porwwaUsRI9Ao
To claim this, I am signing this object:
// ==UserScript== | |
// @name Example | |
// @supportURL https://stackoverflow.com/a/33176845/6369424 | |
// @description Fix GM_addStyle undefined. | |
// ==/UserScript== | |
function GM_addStyle(css) { | |
const style = document.getElementById("elytSdda_MG") || (function() { | |
const style = document.createElement('style'); | |
style.type = 'text/css'; |
#!/bin/python3 | |
# Copied from https://bit.ly/4aZvn5B | |
############################################################################### | |
# Script uploading files to Dropbox and receiving Dropbox links | |
# ------------------------------------------------------------- | |
# Every target file/folder is passed as argument to the script. | |
# Two preparation steps are needed: | |
# 1. Register a Dropbox application and put the application key as value of |
# Name: Install .exe without admin privileges | |
# on Windows 10 | |
# Create a .bat file in same directory as the .exe you want to install | |
Set __COMPAT_LAYER=RunAsInvoker | |
Start <filename>.exe |
// Original: https://jsfiddle.net/ux84votz/ | |
const formBuilder = {}; | |
formBuilder.buildForm = (options) => { | |
// validate the options parameter | |
options = options || {}; | |
if (typeof options !== 'object' || options == null) { | |
console.error('options is not a valid object'); | |
return null; | |
} |
#!/usr/bin/env perl | |
# | |
# http://daringfireball.net/2007/03/javascript_bookmarklet_builder | |
use strict; | |
use warnings; | |
use URI::Escape qw(uri_escape_utf8); | |
use open IO => ":utf8", # UTF8 by default | |
":std"; # Apply to STDIN/STDOUT/STDERR |
#!/bin/bash | |
# cd & ls with just "cd" | |
# Original solution found on StackOverflow. I do not have the direct link. | |
# Modified/adjusted by myself to work in line with my own expectations. | |
# Tested and used regularly on macOS with ZSH and Raspberry Pi with BASH. | |
altercd() { | |
cd() { | |
unset -f cd |
I hereby claim:
To claim this, I am signing this object:
Although it is no longer actively developed, TotalTerminal by BinaryAge continues to work on macOS 10.15 Catalina. This defaults setting will allow you to use TotalTerminal without any visual indicator such as dock icon or menu bar icon.
defaults write com.apple.Terminal TotalTerminalHideStatusItemRegardless -bool 1
/* | |
xn+1 = sin(a yn) + c cos(a xn) | |
yn+1 = sin(b xn) + d cos(b yn) | |
*/ | |
#include <iostream> | |
#include <cmath> | |
#include <vector> | |
using namespace std; |
on-off->20DF10EF | |
energy->20DFA956 | |
av. mode->20DF0CF3 | |
input->20DFD02F | |
tv/rad->20DF0FF0 | |
1->20DF8877 | |
2->20DF48B7 | |
3->20DFC837 | |
4->20DF28D7 | |
5->20DFA857 |