This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (player == null) return res.send({error: 'Secret no existy.'}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
passport.use(new BasicStrategy( | |
function(username, password, done){ | |
// TODO: Check if the credentials are correct. | |
// TODO: If not: done(null, false) | |
// TODO: Else done(null, userObject) | |
} | |
)); | |
// Exchange resource owner credentials for an oauth key. | |
// FOR USE BY FIRST-PARTY APPS ONLY | |
server.exchange(oauth2orize.exchange.password( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($_GET['order_status'] == 'false') | |
$order->update_status('cancelled'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background-image: url(http://assets-cloud.enjin.com/themes/1420195376_Untitled-1.png); | |
background-position: center bottom; | |
background-repeat: no-repeat; | |
background-attachment: fixed; | |
background-size: cover; | |
} | |
.whitebtn { | |
background: white !important; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <regex.h> | |
#include <string.h> | |
#include <stdlib.h> | |
/** | |
* This is an enumeration of day. | |
*/ | |
enum day { | |
SATURDAY = 1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <regex.h> | |
#include <string.h> | |
#include <stdlib.h> | |
/* The following is the size of a buffer to contain any error messages | |
* encountered when the regular expression is compiled. */ | |
#define MAX_ERROR_MSG 0x1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var BoardSchema = new Schema({ | |
logo: String, | |
info: String, | |
people: [{ | |
name: String, | |
extra: String, | |
imageFile: String, | |
date: Date, | |
honour: String | |
}], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
argv._.forEach( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns fireballz.core | |
(:gen-class | |
:extends org.bukkit.plugin.java.JavaPlugin | |
)) | |
(defn -onEnable | |
"Runs when the plugin is started" | |
[] | |
(println "Hello, I am a plugin") | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns chickenz.core | |
(:require [bukkure.logging :as log] | |
[bukkure.bukkit :as bk] | |
[bukkure.items :as i] | |
[bukkure.events :as ev] | |
[bukkure.entity :as ent] | |
[bukkure.world :as world]) | |
(:import [org.bukkit ChatColor] | |
[org.bukkit.inventory.meta ItemMeta])) |