^_^
^.^
| //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 | |
| */ |
| #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 ); |
| <!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 |
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)
| 'use strict'; | |
| /** | |
| * Module dependencies. | |
| */ | |
| var crypto = require('crypto'); | |
| /** | |
| * Calculates the MD5 hash of a string. | |
| * |
| // C++ | |
| #include <stdio.h> | |
| #include <sstream> | |
| using namespace std; | |
| int main() | |
| { | |
| stringstream seq; | |
| int next; |
What you need:
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 |