Part 1: Understanding plugin basics
Part 2: Creating a "button frame" plugin
- Adobe XD API Reference
- Finished code from this part
ruby '2.7.1' | |
gem 'rails', github: 'rails/rails' | |
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
# Action Text | |
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
gem 'okra', github: 'basecamp/okra' | |
# Drivers |
Part 1: Understanding plugin basics
Part 2: Creating a "button frame" plugin
# compare fonts with ttx | |
ttdiff () { | |
if [ "$#" -lt 2 ] | |
then | |
echo "Usage: ttdiff FONT1.ttf FONT2.ttf [tables ...]" | |
return 1 | |
fi | |
first="$1" | |
if [ ! -f "$first" ]; then | |
echo "File $first not found" |
# Turn on Notifications | |
do shell script "defaults -currentHost write com.apple.notificationcenterui doNotDisturb -bool FALSE; defaults -currentHost delete com.apple.notificationcenterui doNotDisturbDate; osascript -e 'quit application \"NotificationCenter\" ' && killall usernoted" -- this set 'Do not disturb' to false in the pref | |
# Show Desktop | |
do shell script "defaults write com.apple.finder CreateDesktop -bool true; killall Finder" | |
# Show all windows | |
tell application "System Events" | |
set visible of (every process) to true | |
end tell |
#!/usr/bin/env python3 | |
''' | |
Program: s3_full_delete.py | |
Author: https://github.com/vsx-gh | |
Created: 20170920 | |
Program finds S3 objects with delete markers and deletes all versions | |
of those objects. |
The best way to safely and securely use local domains pointing to 127.0.0.1 is to edit your local settings (/etc/hosts) and add your own settings. Keep in mind if you want to use subdomains, you need to enter all variations.
Example:
# Adding bottom of your current file /etc/hosts
################# MY LOCAL DOMAINS
127.0.0.1 local.com admin.local.com
127.0.0.1 domain1.com
# For Windows users# Note: <> denotes changes to be made | |
#Create a conda environment | |
conda create --name <environment-name> python=<version:2.7/3.5> | |
#To create a requirements.txt file: | |
conda list #Gives you list of packages used for the environment | |
conda list -e > requirements.txt #Save all the info about packages to your folder |
Since macOS High Sierra sips --addIcon
is no longer supported.
An easier way to add and image to a file/folder is to use fileicon
npm package.
The new syntax is:
fileicon set foo img.png