Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Alex alext234

🎯
Focusing
  • Australia
Block or report user

Report or block alext234

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@alext234
alext234 / sample-api.py
Created Sep 26, 2019
Singapore NEA PSI API
View sample-api.py
import requests
from datetime import date
from datetime import timedelta
day = date.today()-timedelta(days=0)
dayStr = day.strftime("%Y-%m-%d")
rPsi = requests.get("https://api.data.gov.sg/v1/environment/psi?date=" + dayStr)
View testing-of-closestmatch.go
package main
import (
"fmt"
"github.com/schollz/closestmatch"
)
func main() {
wordsToTest := []string{"MERCEDES (ID000001)",
@alext234
alext234 / .gitignore
Created Jan 10, 2017
.gitignore for c++ with build directory and vim swap files included
View .gitignore
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
@alext234
alext234 / openwrt-cross-compile.md
Created Dec 14, 2016
cross-compile instruction for openwrt
View openwrt-cross-compile.md
@alext234
alext234 / Dockerfile
Last active Nov 10, 2019
A simple ubuntu container with gcc and cmake
View Dockerfile
FROM ubuntu:xenial
MAINTAINER alex
# update and install dependencies
RUN apt-get update \
&& apt-get install -y \
software-properties-common \
wget \
&& add-apt-repository -y ppa:ubuntu-toolchain-r/test \
&& apt-get update \
@alext234
alext234 / keybase.md
Last active Nov 24, 2016
My publicly-auditable identity
View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

You can’t perform that action at this time.