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
| ;;; stardate.el --- insert stardate into a file -*- lexical-binding: t -*- | |
| ;; Copyright (C) 1988 Mark W. Eichin | |
| ;; Author: Mark W. Eichin <eichin@athena.mit.edu> | |
| ;; This file is not part of GNU Emacs. | |
| ;; This package is free software: you can redistribute it and/or modify | |
| ;; it under the terms of the GNU General Public License as published by |
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
| ;;; bc.el --- bc shell buffer -*- lexical-binding: t -*- | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ; Copyright (C) 1996 Ming-Jen Chan (mjchan@cs.cmu.edu) | |
| ; | |
| ; File: bc.el | |
| ; RCS: $Header: g:/home/mjchan/lib/lisp/comint-hack/RCS/bc.el,v 1.4 1997-06-16 09:38:35-04 mjchan Exp mjchan $ | |
| ; Abstract: make a shell buffer running bc | |
| ; Author: Ming-Jen Chan (mjchan@cs.cmu.edu) | |
| ; Created: Mon Jun 09 10:07:33 1997 |
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
| const app = Application.currentApplication() | |
| app.includeStandardAdditions = true | |
| function getJSON(path) { | |
| const fullPath = path.replace(/^~/, app.pathTo('home folder')) | |
| const contents = app.read(fullPath) | |
| return JSON.parse(contents) | |
| } | |
| function run() { |
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
| #!/bin/bash | |
| # Let's "secure" even the script for you :) | |
| sudo -v | |
| function ok() { | |
| echo -e "[OK] "$1 | |
| } | |
| function bot() { |