Skip to content

Instantly share code, notes, and snippets.

View homer6's full-sized avatar

Steve Sperandeo homer6

View GitHub Profile
###########################################################
# Automation of Everything #
# How To Combine Argo Events, Workflows, CD, and Rollouts #
# https://youtu.be/XNXJtxkUKeY #
###########################################################
# Requirements:
# - k8s v1.19+ cluster with nginx Ingress
# Replace `[...]` with the GitHub organization or the username
### Keybase proof
I hereby claim:
* I am homer6 on github.
* I am ssperandeo (https://keybase.io/ssperandeo) on keybase.
* I have a public key whose fingerprint is 309C BBFF 4C14 2DE1 9E4A BFB9 42A4 C779 9D75 10A1
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am homer6 on github.
  • I am ssperandeo (https://keybase.io/ssperandeo) on keybase.
  • I have a public key whose fingerprint is A49E 8640 FFD4 6037 8056 502C F8C6 D82E E15A 137E

To claim this, I am signing this object:

@homer6
homer6 / gist:1367465
Created November 15, 2011 16:15
Answer to a stackoverflow question
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
<script>
$(function(){
$( '.submit_button' ).click(function(){
var form_values = {};
$( this ).closest( 'tr' ).find( 'input, select' ).each(function(){
@homer6
homer6 / gist:1361380
Created November 13, 2011 00:49
Memory Maps of two different process
Server 1:
cat /proc/28889/maps
00400000-0043b000 r-xp 00000000 ca:01 2516648 /services/geoipd/geoipd
0063a000-0063b000 r--p 0003a000 ca:01 2516648 /services/geoipd/geoipd
0063b000-0063c000 rw-p 0003b000 ca:01 2516648 /services/geoipd/geoipd
0214d000-219d7000 rw-p 00000000 00:00 0 [heap]
7f0038000000-7f0038021000 rw-p 00000000 00:00 0
7f0038021000-7f003c000000 ---p 00000000 00:00 0
7f003ed31000-7f003ed32000 ---p 00000000 00:00 0
@homer6
homer6 / gist:1361344
Created November 13, 2011 00:07
Comparing two processes.
Server 1:
cat /proc/28889/status
Name: geoipd
State: S (sleeping)
Tgid: 28889
Pid: 28889
PPid: 1
TracerPid: 0
Uid: 1004 1004 1004 1004