- Run
osascript -l JavaScript emoji-replacements.js - Or using Applications -> Utilities -> Scripteditor.app
- New script
- Select JavaScript as language from the dropdown below the top toolbar
- Paste content below
- Press the Run button in the toolbar
- The script will ask for access to the preferences in question
- It writes a plist to your Desktop.
- Open System Preferences -> Keyboard -> Text Replacements (the script should open it automatically for you)
- Drop the
Emoji Text Substitutions.plistonto the list
The script will
- Convert all ARW files to DNG for compatibility (Apple does not support the 7C II yet and I prefer DNG anyway)
- Sort the new DNGs into a YYYY/MM/DD based folder structure (and set creation date)
- Rename *.HIF to *.heic so the pictures are correctly rotated when imported into Apple Photos
- Move the original files to your Trash
It will not
This file contains hidden or 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
| // Variables used by Scriptable. | |
| // These must be at the very top of the file. Do not edit. | |
| // icon-color: deep-gray; icon-glyph: sticky-note; | |
| const strategies = ["Abandon normal instruments","Accept advice","Accretion","A line has two sides","Allow an easement (an easement is the abandonment of a structure)","Are there sections? Consider transitions","Ask people to work against their better judgement","Ask your body","Assemble some of the instruments in a group and treat the group","Balance the consistency principle with the inconsistency principle","Be dirty","Breathe more deeply","Bridges -build -burn","Cascades","Change instrument roles","Change nothing and continue with immaculate consistency","Children's voices -speaking -singing","Cluster analysis","Consider different fading systems","Consult other sources -promising -unpromising","Convert a melodic element into a rhythmic element","Courage!","Cut a vital connection","Decorate, decorate","Define an area as 'safe' and use it as an anchor","Destroy -noth |
This file contains hidden or 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
| // Forked from Keven Kub. | |
| // See https://gist.github.com/kevinkub/46caebfebc7e26be63403a7f0587f664 | |
| // Licence: Robert Koch-Institut (RKI), dl-de/by-2-0 | |
| const apiUrl = ({ longitude, latitude }) => | |
| `https://services7.arcgis.com/mOBPykOjAyBO2ZKk/arcgis/rest/services/RKI_Landkreisdaten/FeatureServer/0/query?where=1%3D1&outFields=GEN,cases7_per_100k&geometry=${longitude.toFixed( | |
| 3 | |
| )}%2C${latitude.toFixed( | |
| 3 | |
| )}&geometryType=esriGeometryPoint&inSR=4326&spatialRel=esriSpatialRelWithin&returnGeometry=false&outSR=4326&f=json`; |
This file contains hidden or 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
| // Variables used by Scriptable. | |
| // These must be at the very top of the file. Do not edit. | |
| // icon-color: orange; icon-glyph: stopwatch; | |
| // mite.yo.lk API key | |
| let apikey = ''; | |
| let account = ''; | |
| // --- | |
| async function loadEntries() { |
This file contains hidden or 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
| module.exports = { | |
| defaultBrowser: 'Safari', | |
| handlers: [ | |
| // Anything localhost should open in Edge | |
| { | |
| match: finicky.matchHostnames(['localhost']), | |
| browser: 'Microsoft Edge', | |
| }, | |
| // Launch Google Meet on my third user account |
This file contains hidden or 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
| { | |
| "version": 2, | |
| "name": "your-ember-app-name", | |
| "builds": [{ "src": "package.json", "use": "@now/static-build" }], | |
| "routes": [ | |
| { "handle": "filesystem" }, | |
| { "src": ".*", "dest": "/index.html" } | |
| ] | |
| } |
This file contains hidden or 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
| import UIKit | |
| extension UIImage { | |
| func edgeColor(_ insets: UIEdgeInsets = UIEdgeInsets(top: 10.0, left: 10.0, bottom: 10.0, right: 10.0), defaultColor: UIColor = .black) -> UIColor { | |
| guard let pixelData = self.cgImage?.dataProvider?.data else { | |
| return defaultColor | |
| } | |
| let data: UnsafePointer<UInt8> = CFDataGetBytePtr(pixelData) | |
| let width = Int(self.size.width * self.scale) |
NewerOlder
