I hereby claim:
- I am jkelol111 on github.
- I am jkelol111 (https://keybase.io/jkelol111) on keybase.
- I have a public key ASAibMXKguaiM71tVV9Y6JjRYe4FHeEJcRVx0SzgVHs3gQo
To claim this, I am signing this object:
{ | |
"title": "Home & End for macOS", | |
"rules": [ | |
{ | |
"description": "Make the Home & End key behave like they would on PCs", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "end" |
const iCloudData = importModule("Scriptable iCloud Data"); | |
const logFileName = "water.json"; | |
let waterData = args.shortcutParameter; | |
if (waterData) { | |
iCloudData.writeJSONFile(logFileName, waterData); | |
} else { | |
if (iCloudData.doesFileExist(logFileName)) { | |
waterData = iCloudData.readJSONFile(logFileName); | |
} |
const fileManager = FileManager.iCloud(); | |
const dataDirectoryPath = fileManager.joinPath(fileManager.documentsDirectory(), "data"); | |
if (!fileManager.isDirectory(dataDirectoryPath)) fileManager.createDirectory(dataDirectoryPath); | |
function concatPath(fileName) { | |
return fileManager.joinPath(dataDirectoryPath, fileName); | |
} | |
module.exports.doesFileExist = (fileName) => { |
import AppKit | |
import ScriptingBridge | |
@objc public protocol SBObjectProtocol: NSObjectProtocol { | |
func get() -> Any! | |
} | |
@objc public protocol SBApplicationProtocol: SBObjectProtocol { | |
func activate() | |
var delegate: SBApplicationDelegate! { get set } |
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width,user-scalable=no"> | |
<title>"Pages" in KaiOS</title> | |
<link rel="stylesheet" href="./window.css"> | |
</head> | |
<body> | |
<header class="header"> |
from gpiozero import MCP3008, LED, Button | |
from time import localtime, sleep | |
from lcddriver import lcd | |
from json import load | |
from os import getcwd | |
from os.path import join | |
from pyowm import OWM | |
print("-------------------------------------------------------------") | |
print("-------------------------------------------------------------") |
var optionMenuOpen = false; | |
var optionMenuIndex = 0; | |
document.addEventListener("DOMContentLoaded", () => { | |
}); | |
function backHandler() { | |
if(optionMenuOpen) { | |
document.getElementById("optionMenu-blur").style.display = "none"; | |
document.getElementById("optionMenu").style.display = "none"; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1"> | |
<title>Runner</title> | |
<link rel="stylesheet" href="/css/window.css"/> | |
<link rel="stylesheet" href="/css/home.css"/> | |
<link rel="manifest" href="/manifest.webapp"/> | |
<link rel="localization" href="/locales/runner.{locale}.properties"/> |