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
var assert = require('assert'); | |
describe('Environment test', function(){ | |
it('It should not fail', function(){ | |
assert.equal(1,1); | |
}); | |
}); |
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
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
@function convert($value, $currentUnit, $convertUnit){ | |
@if $currentUnit == px{ | |
@if $convertUnit == ems{ | |
@return $value / 16+em; |
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
<?xml version="1.0"?> | |
<gpx | |
version="1.0" | |
creator="ExpertGPS 1.1 - http://www.topografix.com" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns="http://www.topografix.com/GPX/1/0" | |
xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd"> | |
<time>2002-02-27T17:18:33Z</time> | |
<bounds minlat="42.401051" minlon="-71.126602" maxlat="42.468655" maxlon="-71.102973"/> | |
<wpt lat="42.438878" lon="-71.119277"> |
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
<!doctype html> | |
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
<html> | |
<head> | |
<title>iOS 8 web app</title> | |
<!-- CONFIGURATION --> |
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
# Created by https://www.gitignore.io | |
### PhpStorm ### | |
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm | |
*.iml | |
## Directory-based project format: | |
.idea/ | |
# if you remove the above rule, at least ignore the following: |
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
var obj = { | |
a:1, | |
b: { | |
c:2 | |
}, | |
d: [1,2,3,4] | |
}; | |
function process(key,value) { | |
console.log(key,value) |
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
module Parallax { | |
export class ParallaxContainer { | |
private content: HTMLElement; | |
private perspective: number; | |
private surface: ParallaxSurface[]; | |
/** | |
* Creates a Container for a Parallax | |
* | |
* @param {HTMLElement} scrollableContent The container that will be parallaxed |
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
.... | |
features = [List-with-FeaturePoints-generated-on-the-client] | |
vectorSource = new ol.source.GeoJSON(({ | |
"object": | |
"type": "FeatureCollection" | |
"features": features | |
})); | |
vectorLayer = new ol.layer.Image({"source": new ol.source.ImageVector( |
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
<?php if ( ! defined( 'WPINC' ) ) die; | |
/** | |
* Represents the view for the public-facing component of the plugin. | |
* | |
* This typically includes any information, if any, that is rendered to the | |
* frontend of the theme when the plugin is activated. | |
* | |
* @package FlowFlow | |
* @author Looks Awesome <[email protected]> | |
* @link http://looks-awesome.com |
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
db.getCollectionNames().forEach( function (d) { | |
db[d].dropIndexes(); | |
}); | |
db.tilezoom_source.chunks.ensureIndex( { files_id: 1, n: 1 }, { unique: true } ); | |
db.tilezoom_artefacts.chunks.ensureIndex( { files_id: 1, n: 1 }, { unique: true } ); | |
db.mosaic_artefact.chunks.ensureIndex( { files_id: 1, n: 1 }, { unique: true } ); | |
db.mosaic_artefact_index.chunks.ensureIndex( { files_id: 1, n: 1 }, { unique: true } ); |