Skip to content

Instantly share code, notes, and snippets.

View cgudea's full-sized avatar
🦑
slapping keyboards

cg cgudea

🦑
slapping keyboards
View GitHub Profile
#!/bin/sh
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@cgudea
cgudea / geodesy_regex.py
Created August 28, 2014 19:38
regular expressions for verifying common coordinate systems
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
@cgudea
cgudea / gauth_automated.sh
Last active August 29, 2015 14:07
Automates the process of creating a google-authenticator-apache-module user token
#!/bin/bash
GAUTH=ubuntu
unset user
unset password
unset secret
function getPass {
getpass=true
while [ "$getpass" = true ]
do
<!-- See original blog post: https://www.phyramid.com/blog/monitoring-servers-at-phyramid/ -->
<!-- See my implementation live: http://jsfiddle.net/bp7kp1ts/3/ -->
<html>
<style>
body {
background: #161616 url("https://keymetrics.io/assets/images/pattern.png");
height: 100%;
}
.Absolute-Center {
margin: 4em;
@cgudea
cgudea / keybase.md
Last active September 29, 2017 06:25

Keybase proof

I hereby claim:

  • I am cgudea on github.
  • I am pula (https://keybase.io/pula) on keybase.
  • I have a public key ASDzUv-ap4F1R7rZneZ7RRV5T6ztGS_sHTFs5OhzmtesSQo

To claim this, I am signing this object:

<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"
>
<size
android:width="64dp"
android:height="4dp"/>
<corners
android:topLeftRadius="6dp"