Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

424 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell Scripts

To get started, run:

source install

This will also install the following projects:

Also, all of the scripts contained in this project are added to the $PATH once installed.

Index of Scripts

  • base-linux-install Run with "sudo" on Linux systems; adds base components useful for software development et. al.

  • base-mac-install Run on MacOS systems to install base components needed for productive development.

  • codec-install Install all of the non-open Codec packages needed for multimedia access on Ubuntu Linux.

  • exodus Create a working local instance of one or more Pantheon sites; presumes target is using a LAMP stack.

  • gh-api-safe A read-only wrapper around gh api. Passes through all parameters for commands known to be read-only.

Add these instructions to $HOME/.claude/Claude.md:

- When you need to call `gh api`, run `gh-api-safe` instead (same arguments). It is a read-only safety wrapper that allows known-safe GET endpoints and blocks write operations. If `gh-api-safe` exits 77 (not allowed), fall back to `gh api` with normal prompting. Do not prompt the user before trying `gh-api-safe`; only prompt if the fallback to `gh api` is needed.
  • gsvn Provides an svn-like wrapper tool to access Git repositories using svn syntax.

  • remove-dbprefix Remove the db-prefix from a Drupal site that uses one, renaming the sql table names to match.

  • resetmysqladminpw Reset the admin password on a local mysql server

  • restore-macos-preferences.sh Configure the preferences on a MacOS system to match a base set of configuration

  • save-macos-preferences.php Write a new version of the restore-macos-preferences.sh capturing the current values of all of the preference settings that are saved by these scripts.

  • sourcelines Make an attempt to count how many lines of code, not including comments, are in a given project.

  • ssh-copy-id.sh A version of the ssh-copy-id tool to run on MacOS machines.

About

Useful shell scripts and configuration

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages