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
@b-adams
b-adams / doxblox.c
Created March 19, 2012 07:05
Documentation and sample output for Linked List program.
//This documentation should be put with the appropriate class/method/function declarations.
//Remember to add file documentation blocks to all your files!
/**
Entry point for the program. Tests that list operations are working.
*/
/**
Represents a node in a singly linked list
*/
@whoo24
whoo24 / client.cpp
Created June 24, 2013 07:15
Basic Winsock Program
#include "stdafx.h"
#include <WinSock2.h>
#include <ws2tcpip.h>
#pragma comment(lib, "Ws2_32.lib")
void run_client()
{
WSADATA wsaData;
WSAStartup( MAKEWORD(2,2), &wsaData );
@nicolasramy
nicolasramy / momoticon.md
Last active February 10, 2017 12:10
Momoticon, another version of emoticons

Happy

^_^
^.^
@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>
#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
@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)

@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.
*
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;

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)

# 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