Skip to main content

All Questions

Tagged with
10 votes
2 answers
1k views

Wi-fi scheduler written in C

I'm new to C and programming in general (some minimal prior exposure to JS and python). This is also my first time working with shell commands, scripts, and cron. This program works on my macOS and ...
NNNComplex's user avatar
8 votes
4 answers
3k views

Reporting new USB storage devices on Linux and macOS with Python

Synopsis: I wanted something for macOS (and Linux; maybe eventually Windows) that would simply wait for the user to connect a storage device and automatically select, or otherwise output the ...
voices's user avatar
  • 767
2 votes
1 answer
89 views

Check SMART status on MacOS and pop up alert

So I don't know much about bash scripting. I am just a beginner. I made this script which checks the SMART status of my root volume and if it is failing then it immediately throws a pop up alert if ...
Doe's user avatar
  • 21
4 votes
2 answers
69 views

Create and open a file to take lecture notes depending on day and time

I am just wondering what, if any, more elegant ways might exist to write a script to accomplish the task that the script below accomplishes. The script works, so I don't need it to be debugged, but I ...
dlk0606's user avatar
  • 43
5 votes
1 answer
154 views

Bash manual page selection menu (version 3)

This is an interactive script for selecting and reading the manual pages from the terminal command line. This is the 3rd version of this script. If you want to see the evolution of this script, follow ...
I0_ol's user avatar
  • 379
3 votes
0 answers
54 views

Bash manual page selection menu (version 2)

This is update to a previously asked question Bash manual page selection menu. This script generates a menu for the user to select which manual page he/she would like to read. ...
I0_ol's user avatar
  • 379
2 votes
2 answers
88 views

Opening programs from a simple spot

This is a simple program that opens programs from a simple spot: ...
ethan lee's user avatar
4 votes
1 answer
91 views

Search and merge split-archive backup parts

I wrote some code which searches parts of a split-archive backup (it's an Android backup, I used flashfire to backup) and rejoins them. As you can easily see, I've achieved this by ...
chris's user avatar
  • 85
5 votes
1 answer
3k views

Python script using distutils to copy files on a Mac

I have a Python script I have written to copy files to a mounted Windows SMB share on a Mac. ...
John Harris's user avatar
4 votes
1 answer
287 views

Change whether file is executable

This is a cocoa app that adds a right click menu option to change whether a file is executable. It works by executing the system command chmod on each of the files. ...
kyle k's user avatar
  • 1,517