Skip to content

Instantly share code, notes, and snippets.

View ab-gh's full-sized avatar
💻
shouting at computers

ash ab-gh

💻
shouting at computers
View GitHub Profile
# CLOCK Btn0
Time -> Day -> Date
Demo pattern ->
# ENVIRO Btn1
Temp -> Brightness -> Air Quality
@ab-gh
ab-gh / pledge.md
Created February 12, 2018 21:40
Young Coders Forum Participant Pledge

PARTICIPANT PLEDGE

The Young Coders Conference asks all volunteers, mentors, exhibitors, participants, and their parents and carers, to respect the South London Raspberry Jam ethos of welcoming everybody without prejudice regardless of background, personal characteristics or needs, and to making the event as accessible and comfortable for everyone as possible.

The South London Raspberry Jam is dedicated to creating opportunities that are open to any and all young people and to the belief that technology is for and can be created

__authors__ = 'electric-blue-green'
__license__ = 'MIT'
import discord
from discord.ext import commands
import sqlite3
import os
import subprocess
import time
class deskcog:
@ab-gh
ab-gh / error.txt
Created December 6, 2019 17:12
err
Traceback (most recent call last):
File "/home/mbp/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1356, in _do_call
return fn(*args)
File "/home/mbp/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1341, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/home/mbp/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1429, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.NotFoundError: generator/gpt2/models/model_v5/model-550.data-00000-of-00001; No such file or directory
[[{{node save/RestoreV2}}]]
#include <stdio.h>
#include <cs50.h>
// Prototypes
long get_card_no(void);
bool checksum_pass(long card_no);
string get_card_type(long card_no);
// Main
int main(void)
#include <stdio.h>
#include <cs50.h>
#include <string.h>
#include <ctype.h>
#include <math.h>
int check_key(string key);
void encrypt(string key);
int main(int argc, string argv[])

Ex 1

12.694505576656235


[[ 89.  96. 101. 104.]
 [177. 192. 205. 216.]
 [233. 256. 277. 296.]
 [257. 288. 317. 344.]]
[[[ 0. 0. 0. 0.]

Ex 1

Length: 30
23rd Element: Vanadium

Ex 2

['Sodium', 'Silicon', 'Sulphur', 'Scandium']
['Neon', 'Iron', 'Zinc']
@ab-gh
ab-gh / guidelines.md
Last active December 4, 2020 06:11
Guidelines for DMA Articles

Article Standards for DMA

This is a brief overview of how you should approach writing an article for the Discord Moderator Academy syllabus.

First of all - thank you for contributing! The contributions to DMA have come almost entirely from the community, which gives us the broadest set of experience and knowledge we could hope for.

This document is a set of guidelines and standards, not a set of rules. The most important thing to consider is what you want the reader to take away from your article, and so sometimes you may not follow the rules to the letter - and thats okay. The best advice I can give you is to ask questions. Asking for help - whether to proofread a finished submission, or to help you brainstorm your outline - isn’t a sign of weakness, it shows a commendable desire to collaborate.

The second most important thing is that these guidelines are not set in stone. If we’ve missed something, or made a mistake, tell us and we’ll improve where necessary.

The Goal

@ab-gh
ab-gh / resume.json
Last active December 19, 2020 22:58
resume.json
{
"meta": {
"theme": "flat"
},
"basics": {
"name": "Ash ~ Curriculum Vitae",
"label": "Multidisciplinary aspiring developer",
"picture": "",
"email": "[email protected]",
"website": "https://ash.pm",