Skip to content

Instantly share code, notes, and snippets.

@phobal
Created December 29, 2018 03:02
Show Gist options
  • Select an option

  • Save phobal/b589b019e47e672fbb5b74665d96229e to your computer and use it in GitHub Desktop.

Select an option

Save phobal/b589b019e47e672fbb5b74665d96229e to your computer and use it in GitHub Desktop.
free use sketch
#!/bin/bash
date 0102030405
# open /Applications/Sketch.app
open /Applications/Sketch.app
# open ~/Downloads/Sketch.app
ntpdate -u time.apple.com
# how to use
# 1. copy this file to anywhere in your macbook
# 2. chmod +x ./sketch.sh
# 3. sudo ./sketch.sh
@phobal
Copy link
Author

phobal commented Oct 28, 2019

In the latest macOS version (Mojave 10.14 Beta) the ntpdate tool has been removed.

please use sntp -sS time.apple.com instead of ntpdate -u time.apple.com

https://apple.stackexchange.com/questions/329222/the-ntpdate-command-was-removed-from-mojave-what-to-use-now?noredirect=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment