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
// Author: Brandon C Sammons | |
// https://github.com/bsamm | |
// 10/27/2020 | |
// Goal: Write a simple script to rename and normalize labels in gmail. | |
// API Reference: https://developers.google.com/apps-script/reference/gmail/gmail-app | |
function main() { | |
var labels = GmailApp.getUserLabels().slice(0, 50); // use .slice(0, 1) method to get first 1 label, if you just want to test | |
var processedLabels = []; |
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
Just type this in the url bar | |
chrome://cache |
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
ln -s /Applications/Atom.app/Contents/Resources/app/atom.sh /usr/local/bin/atom | |
may need to run in sudo, if you aren't the root |
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
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/sublime | |
If you get a error, you can just go to /usr/local/bin and rm sublime and try again. | |
http://olivierlacan.com/posts/launch-sublime-text-3-from-the-command-line/ |