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
tell application "Finder" | |
set _bounds to bounds of window of desktop | |
set _height to item 4 of _bounds | |
end tell | |
tell application "Safari" | |
make new document at end of documents with properties {URL:"https://llamalife.co/tasks"} | |
set bounds of front window to {0, 0, 300, _height} | |
end tell |
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
[gd_resource type="EditorSettings" load_steps=7 format=3] | |
[sub_resource type="InputEventKey" id="InputEventKey_royfo"] | |
physical_keycode = 84 | |
[sub_resource type="InputEventKey" id="InputEventKey_4gnok"] | |
meta_pressed = true | |
physical_keycode = 84 | |
[sub_resource type="InputEventKey" id="InputEventKey_xxe3q"] |
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
// ==UserScript== | |
// @name Force Godot Docs to latest english | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description When opening the godot docs, always show the page in english and the latest version | |
// @author DATADEER | |
// @match https://docs.godotengine.org/* | |
// @icon https://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Godot_icon.svg/2048px-Godot_icon.svg.png | |
// @grant none | |
// ==/UserScript== |
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": "SHIFT ARROWS", | |
"rules": [ | |
{ | |
"description": "SHIFT LEFT_ARROW", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { |
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": "OPTION ARROWS", | |
"rules": [ | |
{ | |
"description": "OPTION LEFT_ARROW", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { |
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": "COMMAND ARROWS", | |
"rules": [ | |
{ | |
"description": "COMMAND LEFT_ARROW", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { |
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
{ | |
"%%true": { | |
"%function": { | |
"name": "canReadWritePartition", | |
"arguments": [ | |
"%%partition" | |
] | |
} | |
} | |
} |
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 | |
# Locks a pdf with a custom password via pdftk. | |
# ONLY LOCKS EDITING. CAN STILL BE OPENEND WITHOUT PASSWORD | |
# HOW TO: | |
# pdftk has to be globally accessible. https://www.pdflabs.com/ | |
# run sh lock.sh [filename_without_filetype] [password] | |
filename=$1 | |
password=$2 | |
echo locking "$filename".pdf && |
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
# parses and sums up durations of each episode from the designacademy.io course | |
# paste into console on https://www.designacademy.io/lesson/welcome-to-the-course/ | |
Array.from(document.querySelectorAll('.note')) | |
.map((elem) => elem.innerText) | |
.map((text) => text.split('|')[1]) | |
.filter((exists)=>exists) | |
.map((text)=> text.trim().split(':') | |
.map((number) => parseInt(number)) | |
.reduce((acc,curr,i)=>i===0 ? acc + (curr * 60): acc + curr ,0)) |
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": "ARROWS", | |
"rules": [ | |
{ | |
"description": "LEFT_ARROW", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { |
NewerOlder