Skip to content

Instantly share code, notes, and snippets.

View robertpostill's full-sized avatar

Robert Postill robertpostill

View GitHub Profile
@robertpostill
robertpostill / cve-search.rkt
Last active July 19, 2020 08:42
A quickscript script to get the details of CVEs
#lang racket/base
(require quickscript)
(require racket/string)
(require net/url)
(require json)
(define LAST-30-CVES-ENDPOINT "https://cve.circl.lu/api/last")
(define SPECIFIC-CVE-ENDPOINT "https://cve.circl.lu/api/cve/") ; e.g. https://cve.circl.lu/api/cve/CVE-2010-3333
(define CVE-REGEXP #px"CVE-\\d{4}-\\d{4}")
#!/bin/sh
#
# Run an arbitary script on the machine
# Where the git repo is, optionally could be set from outside ENV? Not sure how that would work in cron
GIT_DIR=<put your code location here>
cd $GIT_DIR
exit 0
@robertpostill
robertpostill / git_update.sh
Last active May 12, 2019 09:30
git update script
#!/bin/sh
#
# Go and get the latest from git
# Where the git repo is, optionally could be set from outside ENV? Not sure how that would work in anacron
GIT_DIR=<put your code location here>
# if git dir exists update it otherwise exit with a bad status
cd $GIT_DIR
@robertpostill
robertpostill / ynomia_job_ad.md
Last active July 13, 2019 17:49
Ynomia job Advert

Jobs At Ynomia

Hi, we're Ynomia (https://www.ynomia.io).

I'm Robert (I still try even though I lost the battle of being called Rob a long time ago :) Postill and I'm the CTO at Ynomia. I've been in the ruby community for a long time. I mentor and I talk... a lot ;) I've worked around Melbourne for over ten years; at places like Dius, Sensis, and MYOB. So you can ask around and find people who know me easily. You can find me on https://github.com/robertpostill or https://www.linkedin.com/in/robertpostill/. So you can do some due diligence on me before working with me.

What do we do?

We track things and provide real-time location services. Like all over the world. For construction businesses. With our own IoT devices feeding real-time data to a platform that were building! Although in the fullness of time... well let's not get ahead of ourselves :)

@robertpostill
robertpostill / ynomia_job_ad.md
Created April 26, 2019 05:00
Ynomia job Advert

Organic Ad

Hi, we're Ynomia (https://www.ynomia.io).

I'm Robert (I still try even though I lost the battle of being called Rob a long time ago :) Postill and I'm the CTO at Ynomia. I've been in the ruby community for a long time. I mentor and I talk... a lot ;) I've worked around Melbourne for over ten years; at places like Dius, Sensis, and MYOB. So you can ask around and find people who know me easily. You can find me on Ahttps://github.com/robertpostill or https://www.linkedin.com/in/robertpostill/. So you can do some due diligence on me before working with me.

What do we do?

We track things and provide real-time location services. Like all over the world. For construction businesses. With our own IoT devices feeding real-time data to a platform that were building! Although in the fullness of time... well let's not get ahead of ourselves :)

Keybase proof

I hereby claim:

  • I am robertpostill on github.
  • I am robertpostill (https://keybase.io/robertpostill) on keybase.
  • I have a public key ASB3TuTrg1VCB8u7C6LERA3zGUR_SwdsNbS6DUDQZQuZZwo

To claim this, I am signing this object:

[DoneSafe] (https://donesafe.com) is a startup in Health and Safety and we’re looking for a developer friend 👍 👍 to work with us. We're based in Sydney and Melbourne. This role will be based in Melbourne.

Who are we? DoneSafe aims to make people happy with the H&S experience, which takes dedication and thought but we’re excited to help. The core of our business is six people but we're expecting to pick up speed pretty quickly. We call ourselves the people’s safety software because we think it’s important to look after people through H&S. We have revenue and clients so we’re not just running on investor capital. We’ve made a bunch of sales mostly to businesses who have between ten and a thousand employees. Now we’re starting to take a hard look at some bigger customers and they need things we don’t have currently. We've sold one big ASX-listed customer and now it's time to do more. Which is where you come in 😄

What’s the role? Essentially we need someone to help build upon t

@robertpostill
robertpostill / developer_sydney_job.md
Last active November 3, 2016 04:24
Donesafe job ad

[DoneSafe] (https://donesafe.com) is a startup in Health and Safety and we’re looking for a developer friend 👍 👍 to work with us. We're based in Sydney and Melbourne. This role will be based in Sydney.

Who are we? DoneSafe aims to make people happy with the H&S experience, which takes dedication and thought but we’re excited to help. The core of our business is six people but we're expecting to pick up speed pretty quickly. We call ourselves the people’s safety software because we think it’s important to look after people through H&S. We have revenue and clients so we’re not just running on investor capital. We’ve made a bunch of sales mostly to businesses who have between ten and a thousand employees. Now we’re starting to take a hard look at some bigger customers and they need things we don’t have currently. We've sold one big ASX-listed customer and now it's time to do more. Which is where you come in 😄

What’s the role? Essentially we need someone to help build upon the

@robertpostill
robertpostill / copy.sql
Created August 30, 2016 05:00
COPY STATEMENT
COPY (SELECT string_agg(quote_ident(column_name) ||
CASE udt_name
WHEN 'timestamp' THEN '::timestamp(0)'
WHEN 'timestamptz' THEN '::timestamptz(0)'
WHEN 'text' THEN '::varchar(6000)'
ELSE ''
END,
','
)
FROM information_schema.columns
swagger: '2.0'
info:
version: 0.2.0
title: 'donesafe_visitor'
paths:
/visits:
post:
description: Create a visit record
parameters:
- name: visit