This file contains hidden or 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
public class Example : MonoBehaviour { | |
// Some other state / variables here | |
// Load the specified JSON resource as the DataSet | |
IEnumerator Load(string url) { | |
WWW json = new WWW(url); | |
yield return json; |
This file contains hidden or 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
package co.cantina.http; | |
import java.io.IOException; | |
import java.net.Socket; | |
import javax.net.ssl.SSLContext; | |
import javax.net.ssl.SSLSocket; | |
import org.apache.commons.logging.Log; | |
import org.apache.commons.logging.LogFactory; |
This file contains hidden or 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
# Pango Modules file | |
# Automatically generated file, do not edit | |
# | |
# ModulesPath = @executable_path/../lib/pango/1.8.0/modules | |
# | |
@executable_path/../lib/pango/1.8.0/modules/pango-arabic-lang.so ArabicScriptEngineLang PangoEngineLang PangoRenderNone arabic:* | |
@executable_path/../lib/pango/1.8.0/modules/pango-basic-coretext.so BasicScriptEngineCoreText PangoEngineShape PangoRenderCoreText common: | |
@executable_path/../lib/pango/1.8.0/modules/pango-basic-fc.so BasicScriptEngineFc PangoEngineShape PangoRenderFc common: | |
@executable_path/../lib/pango/1.8.0/modules/pango-indic-lang.so devaIndicScriptEngineLang PangoEngineLang PangoRenderNone devanagari:* | |
@executable_path/../lib/pango/1.8.0/modules/pango-indic-lang.so bengIndicScriptEngineLang PangoEngineLang PangoRenderNone bengali:* |
This file contains hidden or 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
(function($) { | |
/** | |
* Instantiates a new Map for the specified container. | |
* | |
* @param {String} selector The jQuery selector to target. | |
* @param {Object} options The Google Maps options. | |
* @param {String} uri The URI to load Properties from. | |
* | |
* @constructor |
This file contains hidden or 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
/*QUAKED ammo_cells (.4 .7 1) (-16 -16 -16) (16 16 16) triggered no_touch hover | |
Cells for the Hyperblaster. | |
-------- Keys -------- | |
team : The team name for alternating item spawns. | |
-------- Spawn flags -------- | |
triggered : Item will not appear until triggered. | |
no_touch : Item will interact as solid instead of being picked up by player. | |
hover : Item will spawn where it was placed in the map and won't drop the floor. |
This file contains hidden or 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
/* | |
* @brief Applies any configuration and tag alignment, populating the model-view | |
* matrix for the entity in the process. | |
*/ | |
static void R_SetMatrixForEntity(r_entity_t *e) { | |
vec_t *o = e->origin, *a = e->angles; | |
if (e->parent) { | |
vec3_t forward, tmp; |
This file contains hidden or 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
/* | |
* @brief Unwinds the surface, iterating all non-collinear vertices. | |
* | |
* @return The next winding point, or NULL if the face is completely unwound. | |
*/ | |
static const vec_t *R_UnwindBspSurface(const r_bsp_model_t *bsp, const r_bsp_surface_t *surf, | |
const vec_t *last) { | |
const int32_t *se = &bsp->surface_edges[surf->first_edge]; | |
const vec_t *v0 = R_BSP_VERTEX(bsp, *se)->position; |
This file contains hidden or 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
/* config.h. Generated from config.h.in by configure. */ | |
/* config.h.in. Generated from configure.ac by autoheader. */ | |
/* Define to 1 to build a client. */ | |
#define BUILD_CLIENT 1 | |
/* Set to the canonical name of the target machine */ | |
#define BUILD_HOST "x86_64-darwin13.1.0" | |
/* Define to 1 to build a master server. */ |
This file contains hidden or 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
Data *data = $(alloc(Data), initWithContentsOfFile, path); | |
Dictionary *dict = $$(JSONSerialization, objectFromData, data, 0); | |
Number *dataStoreInitConns = $$(JSONPath, objectWithPath, dict0, "$.web-app.servlet[0].init-param.dataStoreInitConns"); | |
assert(10 == (int) dataStoreInitConns->value); | |
release(data); | |
release(dict); |
OlderNewer