Skip to content

Instantly share code, notes, and snippets.

View kaecy's full-sized avatar
🌄
I'm awake.

Eris kaecy

🌄
I'm awake.
  • Freelancer
  • England
View GitHub Profile
@kaecy
kaecy / TelegramBotFramework.py
Last active February 12, 2022 18:12
Simple Telegram Bot API for Python. (requires python 3)
# Version: 0.3.0
# Rewrite: Incomplete
import re
import mpf # post file support
import utils
import enum
import jnet
import json
@amirkdv
amirkdv / oop.md
Last active December 15, 2022 22:56
Object Oriented Programming in Python, A Graded Knowledge Check
# makegist.py - v2
# create a gist from a file on your computer
# you'll need a personal access key with the gists permissions to use it: https://github.com/settings/tokens
# this script makes use of windows' data streams and will only work on windows, feel free to modify it and use it for your own purpose
# init
# first off run
# script.py key <key>
# this will store your key
# then you can use

Code The Old Way With Android SDK

What you need:

  • JDK (Java Development Kit)
  • Ant (Build System)
  • ADK (Android Development Kit)

Download:

JDK (you can download OracleJDK or you can download an OpenJDK binary here https://github.com/ojdkbuild/ojdkbuild)

anonymous
anonymous / prob2.cpp
Created October 12, 2017 04:33
// C++
#include <stdio.h>
#include <sstream>
using namespace std;
int main()
{
stringstream seq;
int next;
@remarkablemark
remarkablemark / md5.js
Last active December 12, 2018 17:17
Calculate the MD5 hash of a string using Node.js
'use strict';
/**
* Module dependencies.
*/
var crypto = require('crypto');
/**
* Calculates the MD5 hash of a string.
*
@jesstelford
jesstelford / LEARNING_JS.md
Last active August 2, 2019 23:58
Learning JS links and suggestions

Learn by doing

If you're brand new to the language (welcome!) start here: http://jsforcats.com/ (Silly name, but excellent content)

If you've already got a little bit of coding under your belt, the ⁠⁠absolute best⁠⁠ place / way to learn is with https://nodeschool.io workshops (Full disclosure; I've written 2 of them)

They're all free open source at your own pace workshops where you are given a bit of info, a task, and you must code it up before you can move on (it runs unit tests over your code to verify you completed it)

#include <windows.h>
#include <stdio.h>
#pragma pack(push, 2)
#define RT_ICON MAKEINTRESOURCE(3)
#define RT_GROUP_ICON MAKEINTRESOURCE((ULONG_PTR)(RT_ICON) + 11)
/* Icon file header */
typedef struct
@jwill
jwill / MemeMaker.html
Last active January 23, 2024 23:33
Starter code for Meme Maker
<!DOCTYPE html>
<html>
<head>
<title>MemeMaker-Simple</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<style>
@nicolasramy
nicolasramy / momoticon.md
Last active February 10, 2017 12:10
Momoticon, another version of emoticons

Happy

^_^
^.^