This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
This version of the Comprehensive Python Cheatsheet was generated by ChatGPT after it was provided with the Dictionary section of the original and grilled about the formatting of the generated String and Set sections with approximately 10 queries. The rest were generated using the '<title>?' query.
<list> = [] # Creates an empty list.
<list> = [<el>, ...] # Creates a list with elements.
<el> = <list>[<index>] # Accesses the element at index. Raises IndexError if out of bounds.
<list>[<index>] = <el> # Assigns element at index. Raises IndexError if out of bounds.| #!/usr/bin/python2.7 | |
| # -*- coding: utf-8 -*- | |
| ''' | |
| Defaults Monitor - tool to sniff defaults keys and values using unified log | |
| to launch use standard python 2.7, eg python2.7 ./defsmon.py | |
| ''' | |
| import os |
| #!/bin/sh | |
| basename=`basename $0` | |
| if [ -z "$*" ]; then | |
| echo "usage: ${basename} <dot> [ -o | -r | <file> | - ]" | |
| echo "" | |
| echo "options:" | |
| echo " -o open dot in window with keyboard focus" | |
| echo " -r read contents of dot" |
| cask_args appdir: "/Applications" | |
| tap "homebrew/cask-fonts" | |
| brew "mas" | |
| #### LAPTOPS #### | |
| #cask "tripmode" | |
| #### LAPTOPS #### | |
| mas "Boop", id: 1518425043 |
| javascript:void(open('http://archive.today/?run=1&url='+encodeURIComponent(document.location))) |
| #!/usr/local/bin/node | |
| // Michael Steinbaugh | |
| // 2018-02-01 | |
| // | |
| // This script requires node | |
| // brew install node | |
| // | |
| // Copied from Steven Schobert | |
| // https://github.com/stevenschobert/dotfiles/blob/master/.bbedit/Text%20Filters/.reverse_lines.js |
| #NoEnv | |
| SetBatchLines, -1 | |
| #MaxHotkeysPerInterval 200 | |
| #Include <VA> | |
| ; Create the slider window | |
| Gui, Add, Progress, w100 h20 x0 y0 Range0-100 vVolSlider, 0 | |
| Gui, Add, Text, w100 h20 x0 y0 vVolText BackgroundTrans Center +0x200, 0 | |
| Gui, +AlwaysOnTop -Caption +ToolWindow | |
| Gui, Show, Hide w100 h20 x0 y0, Volume |
This is a bash script that will automatically turn your wifi off if you connect your computer to an ethernet connection and turn wifi back on when you unplug your ethernet cable/adapter. If you decide to turn wifi on for whatever reason, it will remember that choice. This was improvised from this mac hint to work with Yosemite, and without hard-coding the adapter names. It's supposed to support growl, but I didn't check that part. I did, however, add OSX notification center support. Feel free to fork and fix any issues you encounter.
Most the credit for these changes go to Dave Holland.