Skip to content

Instantly share code, notes, and snippets.

View quicoto's full-sized avatar

Ricard Torres quicoto

View GitHub Profile
<?php
/**
* Plugin Name: Syntax-highlighting Code Comments
* Plugin URI: https://gist.github.com/westonruter/d35a909df087d90e0100d111eed77faa
* Description: Extension plugin for Syntax-highlighting Code Block to also add syntax highlighting to code in comments.
* Version: 0.1.1
* Author: Weston Ruter
* Author URI: https://weston.ruter.net/
* License: GPL2
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
#!/usr/bin/env sh
# Steps to fix Atom not updating properly on Mac OS, as described at
# https://discuss.atom.io/t/i-am-unable-to-update-to-the-latest-version-of-atom-on-macos-how-do-i-fix-this/40054
dirs=(/Applications/Atom.app/ ~/Library/Caches/com.github.atom.ShipIt ~/Library/Application\ Support/com.github.atom.ShipIt)
for dir in "${dirs[@]}"; do
echo "$dir"
if [ -d "$dir" ]; then
echo "Exists: $dir"