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
// NOTE: This expects a few things to be stored in a .env file: | |
// FBKEY=xxxxxxxxx | |
// FIGMAPERSONALTOKEN=xxxxxxxxxxx | |
// GOOGLE_APPLICATION_CREDENTIALS=/users/your.name/googlekeys/firebase-storage.json | |
const axios = require('axios'); | |
const dotenv = require('dotenv'); | |
const Storage = require('@google-cloud/storage'); |
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
#!/bin/bash | |
# The purpose of this script is to churn through a directory with a bunch of | |
# files in it that have been misnamed. It will rename files similar to a find | |
# and replace. | |
#Find this string | |
FINDTHIS="--" | |
#Replace it with this string | |
REPLACEWITH="-" |
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
#target photoshop | |
// This script cycles through files in a directory (hard coded) and converts them to thumbnail png's. | |
// Only currently works on portrait orientation images. | |
app.bringToFront(); | |
app.preferences.rulerUnits = Units.PIXELS; | |
// A hard coded path to a directory 'pc style' | |
var folderToProcess = 'h:\\source\\file'; | |
var processFolder = Folder(folderToProcess); |
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
// This script will loop through layers in the first two layer groups | |
// in a photoshop file toggling them one by one and exporting a png of | |
// each flattened combination | |
// NOTE: Start the file with all the grouped layers set invisible, | |
// but the groups themselves visible, and any non-grouped layets you want | |
// to put in all the files visible. | |
#target photoshop |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<!-- meta --> | |
<title>Scrolling table - CSS only sticky headers - example</title> | |
<style type="text/css"> | |
/* Probably some standard styles */ | |
*, *:before, *:after{ |