Skip to content

Instantly share code, notes, and snippets.

View eapostol's full-sized avatar
💭
Pretty busy at the moment, but check in anyway

Edward J. Apostol eapostol

💭
Pretty busy at the moment, but check in anyway
View GitHub Profile
@eapostol
eapostol / regex-example.md
Created June 7, 2022 20:26
Regular Expression Tutorial Gist

Summary

Briefly summarize the regex you will be describing and what you will explain. Include a code snippet of the regex. Replace this text with your summary.

Regex Components

Anchors

Quantifiers

Keybase proof

I hereby claim:

  • I am eapostol on github.
  • I am eapostol (https://keybase.io/eapostol) on keybase.
  • I have a public key ASBJpxpi4KtVTNOdFAhixtMxybLE-vGIqVy1BLKhcjd_Rgo

To claim this, I am signing this object:

@eapostol
eapostol / AnyConnect_SecurID
Created April 24, 2018 14:29 — forked from kevinberny/AnyConnect_SecurID
Mac OS X AppleScript to automate RSA SecurID pin & Cisco AnyConnect client connection. Leverages keychain. Cobbled together from several other previous postings
set the clipboard to ""
set appname to "SecurID"
set thePin to RsaTokenPin()
activate application appname
do shell script "networksetup -setairportpower en0 on"
tell application appname
activate
@eapostol
eapostol / gist:3ffef679d3f2cf2de2e9d31ab8f20feb
Created March 26, 2018 18:52 — forked from Atem18/gist:4696071
Tutorial to seting up a django website in production.

******************************************************************** Set up Django, Nginx and Gunicorn in a Virtualenv controled by Supervisor********************************************************************

Steps with explanations to set up a server using:

  • Virtualenv
  • Virtualenvwrapper
  • Django
  • Gunicorn
@eapostol
eapostol / nodereinstall.sh
Created July 12, 2017 02:35 — forked from brock/nodereinstall.sh
Complete Node Reinstall. I've moved this to a repo at http://git.io/node-reinstall
#!/bin/bash
# node-reinstall
# credit: http://stackoverflow.com/a/11178106/2083544
## program version
VERSION="0.0.13"
## path prefix
PREFIX="${PREFIX:-/usr/local}"