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
// intended as a Violentmonkey script (you'll need "// @grant GM_addStyle") so that it automatically runs | |
// update: now re-runs even as you click around other tabs and projects within Asana | |
// update: now auto-scrolls to the subtasks section and adds a back button there for easier task hierarchy navigation | |
// update: a second back button also appears at the bottom for convenience. it breaks the "Add Subtask" button, but | |
// as a workaround you can just click in the last subtask and hit Enter | |
// fix: back button also works after drilling until there are no more subtasks | |
// fix: escaping out of a task and going back into the same task scrolls to subtasks | |
// fix: work with apparent change from 'small' to 'medium' buttons 2020Dec10 (but backwards-compatible) |
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
javascript:(function () { | |
const notification_element = document.getElementById('notification'); | |
notification_element.style.cssText = 'position: static; left: 0;'; | |
const set_errors_huge = (a,b) => { | |
const huge_css = ` | |
display: block; | |
min-width: 100%; | |
max-width: 100%; |
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
javascript:(function () { | |
const set_time_to_midnight = (a,b) => { | |
if (!document.querySelector('.js-open-move-from-header') | |
|| document.querySelector('.js-open-move-from-header').innerText === 'Meetings' | |
|| !document.querySelector('.js-dpicker-time-input')) return; | |
document.querySelector('.js-dpicker-time-input').value = '11:59 PM' | |
}; | |
const config = { childList: true, subtree: true }; |
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
Computer Information: | |
Manufacturer: Unknown | |
Model: Unknown | |
Form Factor: Laptop | |
No Touch Input Detected | |
Processor Information: | |
CPU Vendor: GenuineIntel | |
CPU Brand: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz | |
CPU Family: 0x6 |
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
pragma solidity ^0.4.18; | |
import '../node_modules/zeppelin-solidity/contracts/token/ERC20Basic.sol'; | |
import '../node_modules/zeppelin-solidity/contracts/token/SafeERC20.sol'; | |
/** | |
* @title Ownable | |
* @dev The Ownable contract has an owner address, and provides basic authorization control | |
* functions, this simplifies the implementation of "user permissions". | |
*/ |
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/bash | |
echo "Welcome to word-realms-mods version 0.995" | |
checkfile () { | |
if [ ! -f "$1" ]; then | |
echo "$1 not found! We need that." | |
return 1 | |
fi | |
return 0 | |
} | |
p () { |
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
-- | |
-- PostgreSQL database dump | |
-- | |
-- | |
-- TOC entry 185 (class 1255 OID 5154394) | |
-- Name: in_month(date, date); Type: FUNCTION; Schema: public; Owner: - | |
-- | |
CREATE FUNCTION in_month(d date, month_start date) RETURNS boolean |
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
git clone (my fork url here) | |
cd (repo name here) | |
git remote add (upstream url here) | |
pr() { git fetch upstream pull/$1/head:pr$1 && git merge --commit pr$1; } | |
# now you're set. Pick your PRs, say 1, 2, and 55: | |
pr 1 # fetch, merge, and autocommit upstream's Pull Request #1 | |
pr 2 # same for PR #2 | |
pr 55 # etc. |