Recommended Books
A list of useful books to improve your skills
Recommendations from others are noted in (parentheses). The rest are my personal recommendations.
Programming
Building your core
- The Pragmatic Programmer - Hunt & Thomas
const fs = require('fs'); | |
const readline = require('readline'); | |
const https = require('https'); | |
const reqOptions = { | |
timeout: 1000, | |
}; | |
function get(url) { | |
// console.log(url); |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
<style type="text/css"> | |
html { height: 100% } | |
body { height: 100%; margin: 0; padding: 0 } | |
#map_canvas { height: 100% } | |
</style> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> |
<?php | |
/** | |
* Wrapper to get terms in a nested fashion. | |
* This gets a little complicated. Basically, we're creating a placeholder in | |
* $children to hold the child terms of each parent term. Then we create a | |
* reference to that element in the parent term. So nesting happens via magic. | |
*/ | |
public function get_terms_nested($args) | |
{ | |
$temp_terms = $this->get_terms($args); |
#!/usr/bin/python | |
# Exports a CSV of repo names, readme files, and the license of the project. | |
from __future__ import print_function | |
import requests | |
import json | |
import settings | |
from urlparse import urlparse, parse_qs | |
import sys |
Recommendations from others are noted in (parentheses). The rest are my personal recommendations.
//============================================================================= | |
// Multitle Events | |
// Version: 1.0.0 | |
//============================================================================= | |
var Imported = Imported || {}; | |
Imported.Kru_MultitileEvents = "1.0.0"; | |
//============================================================================= | |
/*: | |
* @plugindesc 1.0.0 Allows for events that are bigger than 1 tile. | |
* |
## | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2014 Ryan Morrissey | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is |
# ######################################################## | |
# s3filefield.py | |
# Extended FileField and ImageField for use with Django and Boto. | |
# | |
# Required settings: | |
# AWS_BUCKET_NAME - String, represents the default bucket name to use if one isn't provided | |
# AWS_ACCESS_KEY - String | |
# AWS_SECRET_KEY - String | |
# | |
# From here: http://djangosnippets.org/snippets/1976/ |
'use strict'; | |
/* Promises.all but uses an Object instead of an array. | |
* | |
* Usage: | |
* | |
* PromiseMap({ | |
* 'a': new Promise((resolve, reject) => resolve(1)), | |
* 'b': new Promise((resolve, reject) => resolve(2)) | |
* }).then(result => console.log('done', result)); |