Some notes on AI / ML tools that seem interesting/useful (largely aiming to focus on open source tools)
A Beginners Guide To Things To Do After Installing Ubuntu.
sudo apt update && sudo apt upgrade
Ubuntu has several repositories from where it provides software for your system. Enabling all these repositories will give you access to more software and proprietary drivers.
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 python script will start AE and run a jsx file in Documents when AE has started. | |
| import subprocess, sys | |
| app = 'C:/Program Files/Adobe/Adobe After Effects CC 2018/Support Files/AfterFX.exe' | |
| subprocess.Popen([app, '-s', "var a = new File('C:/Users/bonsak/Documents/test.jsx'); a.open(); eval(a.read()); app.exitAfterLaunchAndEval = false;"]) |
###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
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
| CURRENCY_MAP = { | |
| '$': 'USD', | |
| '₽': 'RUB', // there is a missing character in editor font | |
| '€': 'EUR', | |
| '฿': 'THB' | |
| } | |
| function _formatToCurrency(formatString) { | |
| var currencyRegexp = /\[.*(.)\]/g; | |
| var currency = currencyRegexp.exec(formatString)[1]; |
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
| print("UPDATE AUG 2023: this script is beyond old and broken") | |
| print("You may find interesting and more up to date resources in the comments of the gist") | |
| exit() | |
| from slacker import Slacker | |
| import json | |
| import argparse | |
| import os | |
| # This script finds all channels, private channels and direct messages |
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
| <? | |
| ///////////////////// | |
| // slack2html | |
| // by @levelsio | |
| ///////////////////// | |
| // | |
| ///////////////////// | |
| // WHAT DOES THIS DO? | |
| ///////////////////// | |
| // |
Last updated: 2017-03-18
exiftool -filename -filemodifydate -createdate -r -if '(not $datetimeoriginal) and $filetype eq "JPEG"' .
###Output photos that don't have datetimeoriginal to a CSV### Note this can take a long time if you have a lot of jpgs
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
| /** | |
| * Retrieves all the rows in the active spreadsheet that contain data and logs the | |
| * values for each row. | |
| * For more information on using the Spreadsheet API, see | |
| * https://developers.google.com/apps-script/service_spreadsheet | |
| */ | |
| function readRows() { | |
| var sheet = SpreadsheetApp.getActiveSheet(); | |
| var rows = sheet.getDataRange(); | |
| var numRows = rows.getNumRows(); |
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
| Number.prototype.currency = function (format) { | |
| var amt = this, neg; | |
| // If no formatting string supplied | |
| // or amount is not a number, return as is | |
| if (!format || isNaN(amt)) return amt; | |
| // Extract placeholders from format string | |
| var formFig = format.match(/\#(.*)\#/g).pop(); | |
NewerOlder