Skip to content

Instantly share code, notes, and snippets.

Alex Rydzak alexrydzak

View GitHub Profile
@alexrydzak
alexrydzak / wp-api-plugver.py
Created Mar 14, 2016
Grab the latest version number of a plugin from the Wordpress plugin API.
View wp-api-plugver.py
#!/usr/bin/python
# Alex Rydzak - <adrydzak@syr.edu>
# import necessary libraries
import requests
#==========================================================================
# set plugin name (usually something-something- no extension on the end)
plugin = "akismet"
# hit the Wordpress plugin information API for our plugin
wpquery = "http://api.wordpress.org/plugins/info/1.0/%s" % (plugin)
result = requests.get(wpquery)
View alexrydzak-public-key.txt
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.1.5
Comment: Hostname: pgp.mit.edu
mQINBFTnU/cBEADYTPjKmA4NBxbyoBodC6dOD+MxCENAK6hN+NWASmXedWCmWNKnPxTHs48K
O7K1nnx3rxAY7K/lu/WF9hHDzgXWNy9HhI/4BUvnP3oOBXkok+2K3Z9GikavBtv2FN6Qs2un
y0x13yoIFMoYiTyD6/z/mESNPLdURbBqjiRXCJ3OmsLAazYHPeXFO8zMbmegRd9IgxpExFz8
+p8uGhZLdOdyh7qXmqm9OdOt/CuHxq5xBa8vx3tbkObCdWqE3Odo/JhNc0KCU12iJlhAiZci
NDH1JiMFFy4QWvs5ZihUq8468hAGH/GicF9LhCsdogLlzEBEU9W1nnf7+i54JsVPM1zJe2r3
GHufM+pG2370Xg4t+spI7/h3WV+/s6MzUYfc2+Hutxdzy+yN7rL6cOexKLvuHBiTV+G4rUhE
View ez-lamp.sh
#!/bin/bash
# EZ-LAMP
# by Alex Rydzak <adrydzak@syr.edu>
# Defining functions here...
# ==================================================================================================
art() {
cat <<"EOT"
@alexrydzak
alexrydzak / exp2-groupadd.sh
Created Jul 29, 2016
Add yourself to any groups matching a regex pattern.
View exp2-groupadd.sh
#!/bin/bash
#///////////////////////////////////////////////
# Expressions 2.0 - Group Auto Add
# by Alex Rydzak <adrydzak@syr.edu>
# purpose: add yourself to any Expressions 2.0 site groups you are not currently in.
#///////////////////////////////////////////////
echo "======================================="
echo "EXPRESSIONS 2.0 - Group Auto Add"
View keybase.md

Keybase proof

I hereby claim:

  • I am alexrydzak on github.
  • I am alexrydzak (https://keybase.io/alexrydzak) on keybase.
  • I have a public key whose fingerprint is BB23 D72A AF0D 775F 8E63 6CA3 F75B 8ED1 84C3 20E9

To claim this, I am signing this object:

You can’t perform that action at this time.