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 BFF | |
// @description Back and Forward, Finally… A userscript for Safari that enables mouse buttons for navigating back and forward. | |
// @namespace mailto:crazyrems@hey.com | |
// @author crazyrems | |
// @version 1 | |
// @match *://*/* | |
// @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
// Unity behavior | |
// When the `O` key is pressed, it opens an explorer window at the persistent data path. | |
private void Update() | |
{ | |
#if UNITY_STANDALONE_WIN | |
if (Input.GetKeyDown(KeyCode.O)) | |
{ | |
var explorerArgument = Application.persistentDataPath; | |
explorerArgument = ContactFormBehavior.csvDirectoryPath.Replace("/", "\\"); |
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
extension Optional { | |
var hasValue: Bool { | |
return self != nil | |
} | |
var value: Wrapped { | |
return self! | |
} | |
func value(orDefault defaultValue: Wrapped) -> Wrapped { |
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
identifier | description | |
---|---|---|
mr | Marathi | |
bs | Bosnian | |
ee_TG | Ewe (Togo) | |
ms | Malay | |
kam_KE | Kamba (Kenya) | |
mt | Maltese | |
ha | Hausa | |
es_HN | Spanish (Honduras) | |
ml_IN | Malayalam (India) |
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
function fullDescription(aTable, depth, descriptionString) | |
if depth == nil then | |
depth = 1 | |
end | |
if descriptionString == nil then | |
descriptionString = "" | |
end | |
local negSpace = "" | |
local tabSize = 4 |