Skip to content

Instantly share code, notes, and snippets.

/**
* Gets the sponge that the player will modify.
*
* @param p
* @return
*/
public TrackerSponge getSponge(Player p) {
TrackerSponge closest = null;
for (TrackerSponge sponge : sponges) {
if (closest != null) {
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package net.og_mc.mattsponge;
import org.bukkit.Location;
import org.bukkit.block.Block;
import org.bukkit.util.Vector;

Keybase proof

I hereby claim:

  • I am simplyianm on github.
  • I am ianm (https://keybase.io/ianm) on keybase.
  • I have a public key whose fingerprint is CFB1 601F E5DC C24D 2023 A36E D190 1FC9 36DB 282F

To claim this, I am signing this object:

app.get('/test', function(req, res) {
var fine = true;
fields.filter(function(name) {
if (thiz.restricted.indexOf(name) !== -1) {
fine = false;
return res.error(401, 'Field is restricted.');
}
query.where(name).equals(val);
});
{"suggestedFilters":{"header":"Tap to show:","filters":[{"name":"Open now","key":"openNow"}]},"geocode":{"what":"","where":"paris","center":{"lat":48.85341,"lng":2.3488},"displayString":"Paris, France","cc":"FR","geometry":{"bounds":{"ne":{"lat":49.03356694704047,"lng":2.6042489194755207},"sw":{"lat":48.670322030624696,"lng":2.1084049608796893}}},"slug":"paris","longId":"72057594040916443"},"headerLocation":"Paris","headerFullLocation":"Paris","headerLocationGranularity":"city","totalResults":120,"suggestedBounds":{"ne":{"lat":48.897207616691325,"lng":2.398436665534973},"sw":{"lat":48.82904075746345,"lng":2.2817176580429077}},"groups":[{"type":"Recommended Places","name":"recommended","items":[{"reasons":{"count":1,"items":[{"summary":"Lots of people like this place","type":"general","reasonName":"globalInteractionReason"}]},"snippets":{"count":1,"items":[{"reason":{"text":"Lots of people like this place"}}]},"venue":{"id":"4adcda21f964a520f23921e3","name":"Shakespeare & Company","contact":{"phone":"+33143714
@macalinao
macalinao / .gitignore
Last active August 29, 2015 14:05
Really simple REST backend using Preston, Mongoose, and Express
node_modules/
curl 'http://kissanime.com/Mobile/GetEpisode' --data 'eID=44624'
$ jake test
/home/ian/p/sesquis/node_modules/sesquis-emails/src/templates.coffee:25
if (!fs.existsSync(TEMPLATE_DIR)) {
^
ReferenceError: TEMPLATE_DIR is not defined
at new Templates (/home/ian/p/sesquis/node_modules/sesquis-emails/src/templates.coffee:16:26)
at Object.<anonymous> (/home/ian/p/sesquis/node_modules/sesquis-emails/exports.js:9:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (/home/ian/p/sesquis/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
li $t0, 0 # Initialize
loop: # Start loop
la $a0, ($t0)
li $v0, 1
syscall
addi $t0, $t0, 1 # Increment
blt $t0, 10, loop # Check condition
\documentclass{article}[10pt]
\usepackage[margin=1in]{geometry}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{enumitem}
\begin{document}
\section*{Part 1 -- Functions}