Skip to content

Instantly share code, notes, and snippets.

View aled1027's full-sized avatar

Alex Ledger aled1027

View GitHub Profile
https://docs.google.com/document/d/1RRvqZYiexaDH1LJ3R_MyJKK5jCrauX0IRY6JOS70wfg/edit?tab=t.0
[
{
"label": "KAP Kap",
"links": [
{ "label": "Game Portal", "link": "https://kap.gg/" },
{ "label": "About KAP Games", "link": "https://about.kap.gg/" },
{ "label": "Airtable", "link": "https://airtable.com/" },
{ "label": "Gdrive directory", "link": "https://drive.google.com/drive/folders/1DXeYMiht0bTRSVrzKOTcIkFyh5SIMrnZ" },
{ "label": "KAP AWS SSO", "link": "https://d-9a671bd167.awsapps.com/start" },
{ "label": "PGL AWS SSO", "link": "https://d-9a671f90cd.awsapps.com/start" }
name: Deploy
on:
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@aled1027
aled1027 / asgi.py
Last active March 5, 2023 16:44
Simple Django ASGI
"""
ASGI Config
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/4.1/howto/deployment/asgi/
"""
import os
@aled1027
aled1027 / Dockerfile
Created March 5, 2023 16:05
Fly Python Dockerfile
FROM python:3.10
# set work directory
WORKDIR /usr/src/app
# set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
COPY . .
@aled1027
aled1027 / vigenere.md
Created August 5, 2019 18:43
Vigenere

mzhgkabtxhzngkhxwwmfptygglggkpxzxmxtgmyxwbnrhgmatmgmblyxaygtxekexiykeaeylgmtxhktzimlxhtxttgmmdtgldalpwxmkxvkuxxmatixnzhgkhattmuhftmklgbfxmhahhbxhxmhmutxmeaxlmatbmhhepkkxeffpmrtmyhmaxprrhghxxfxgpbxglatfzzatxykfaenlegdnbelellglgahaagkhnhbaptxhbhbtivrktnblugxewgxmvhabtgxkhaxkktxagbktemakymfxhimemxpmbxgtxmtxgbtwgezwaodagmgrpxlxtnbawmldrxlyzzbnrezwgtmemxdbohklxbiapwxgzhehgggeffglmblmmkxtymfakrxxakhgktraaglbndmlmwabtmkrgrayxkrlmmtlftvkxvmkkbbvxaxlmahytuhmxettatbxxmwxaantpwmaptghdkxapkptkaxmxfldnlkaykhhlwbulgagbxmgettbpwlftrnvhkalmxlvxmaxhnttgulgxepaluhlgmy ovioalvszpphsjmplpolusaljpnashahyoupsbvdawkkzshhtarzulvmlmncllasyvlffllazaviyddzalmokruvaznpvaunollvlukolkbkvsyolwpzwzvhvmlzzdlyhkvlhaawksklymuitkpvovzspaaallhzzoampuzhfallvzailpmvldhsadkbmcluktsmialsblzlyuaalhkyhlpmzjllavzozavtvpvfwuyulszduzoszylpfaanabpyhlnpalphaznlibluhkfulhdpsyoaabsavulorohuowzrzyozspzzukaoihlahhoavwtaduzhlazoljffhaoyavkldpuszompalhoolazluvyvlkpuankslbpoouapolybtaltpvkytltappvahkcrzuklzlljuyzhaplphaklzzavlahfhvhlxvkoydwoalgmklkodruukuuyhspslk

@aled1027
aled1027 / cole.java
Created December 12, 2016 01:07
Cole Java stuff
static int input_eg(char[] in) {
int d,f=1;
char a;
a = StdIn.readChar();
d = 0;
System.out.printf("%c mark!!!", d);
while (f==1) {
in[d] = a;
@aled1027
aled1027 / tech_cc.md
Last active August 8, 2016 18:57
A Reponse to "What can a technologist do about climate change? (A personal view)"

What can a technologist do about climate change? (A personal view)

Bret Victor wrote a [nice, comprehsive post on climate change] [1]. I encourage you all to read it, and I've written my thoughts on the post.

Overall

[What can a technologist do about climate change? (A personal view)] [1] is a well-written blog post with many links and cool formatting (Control-F "Blinder's Proposal" for an example). The post is written for technologists in response to the question, "how can the tech community contribute to climate change efforts?" As such, the post has a tone of being a call to action for technologists. It recognizes that technologists may struggle with finding good, useful, climate-related problems to work on, and answers the concern in full by giving examples of successful technology projects.

@aled1027
aled1027 / tesla.md
Last active August 5, 2016 23:20
Doing Something

Telsa's Iterative, Unsexy Strategy

Ten years ago, when Tesla was still in its infancy, Elon Musk concluded a blog post with a summation of Tesla's strategy:

  1. Build sports car
  2. Use that money to build an affordable car
  3. Use that money to build an even more affordable car
  4. While doing above, also provide zero emission electric power generation options
  5. Don't tell anyone.
@aled1027
aled1027 / image_processing_overview.md
Last active July 5, 2016 20:02
Image Processing Overview

Image Processing Overview

This is meant to be a list of image processing techniques. Hopefully this list will be a valuable resource as one embarks on working on new image processing problem.

What this is and is not

This is not a tutorial or explanation of any algorithms, and this is not going to give links to explanations or code. The point of this is to simply list all available options so that the programming/thinker can imagine possible algorithms to use to analyze the image.

List