Skip to content

Instantly share code, notes, and snippets.

@theomessin
theomessin / template.yaml
Last active March 18, 2020 19:44
Argo Workflows volume ingress/egress using Google Cloud Storage
---
# This workflow template provides basic Google Cloud Storage I/O.
# Easily transfer data from Cloud Storage into Volumes and vice-versa.
apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
name: google-cloud-storage
spec:
templates:
#include <iostream>
using namespace std;
int main() {
cout << "Hello from gaccat" << endl;
return 0;
}

Keybase proof

I hereby claim:

  • I am theomessin on github.
  • I am theomessin (https://keybase.io/theomessin) on keybase.
  • I have a public key whose fingerprint is A003 1F7A 8537 51EF BD8C 4138 2817 1075 559C F2F7

To claim this, I am signing this object:

@theomessin
theomessin / quiz.cpp
Last active January 16, 2019 14:08
Solution to a job application quiz.
#include <iostream>
using namespace std;
int main() {
int a = 18, b = 43, c = -14;
int cipher[] = {90,144,94,126,154,30,50,110,97,128,146,100,115,159,103,126,140,102,123,154,96,133,75,88,129,157,18,133,154,94,136,148,96,121,75,102,122,144,18,89,140,95,116,148,102,50,142,90,115,151,94,119,153,89,119,89,18,98,151,87,115,158,87,50,158,87,128,143,18,139,154,103,132,75,101,129,151,103,134,148,97,128,75,83,128,143,18,85,129,18,134,154,18,123,142,83,128,142,97,118,144,50,121,140,95,116,148,102,132,144,101,119,140,100,117,147,32,117,154,95,50,156,103,129,159,91,128,146,18,132,144,88,119,157,87,128,142,87,76,75,86,75,144,84,119,141,38,68,144,39,64};
int size = 151;
char message[size];
@theomessin
theomessin / RSA Tester.py
Last active August 29, 2015 14:19
This python program will allow you to see how RSA works!
import random
import math
import Queue
def isPrime(n):
if n == 2 or n == 3: return True
if n < 2 or n%2 == 0: return False
if n < 9: return True
if n%3 == 0: return False
r = int(n**0.5)