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
brew cask install xquartz | |
brew tap osgeo/osgeo4mac | |
brew unlink python && brew link --force python | |
brew reinstall ninja gsl python qt osgeo-sip osgeo-pyqt osgeo-pyqt-webkit osgeo-qscintilla2 six bison flex pkg-config | |
brew link --overwrite osgeo-pyqt | |
brew unlink gettext && brew link --force gettext | |
ulimit -n 2048 | |
brew install osgeo-qgis |
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
``` | |
# /etc/hosts | |
127.0.0.1 node.server.local | |
``` | |
``` | |
# httpd.conf |
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
/** | |
* Converts an RGB color value to HSL. Conversion formula | |
* adapted from http://en.wikipedia.org/wiki/HSL_color_space. | |
* Assumes r, g, and b are contained in the set [0, 255] and | |
* returns h, s, and l in the set [0, 1]. | |
* | |
* @param Number r The red color value | |
* @param Number g The green color value | |
* @param Number b The blue color value | |
* @return Array The HSL representation |
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 THREE = require( 'three' ); | |
var OrbitControls = require( 'three-orbit-controls' ); | |
var ColladaLoader = require( '../../libs/loaders/ColladaLoader' ); | |
import * as dat from '../../libs/utils/dat.gui.min'; | |
const SIZE = 256; | |
const vertexShader = ` | |
precision highp float; |
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
$('.ProfileCard.js-actionable-user').each( function(index){ | |
if ( !$( this ).find('.FollowStatus').length ) { | |
$( this ).find('.user-actions-follow-button.js-follow-btn.follow-button').click(); | |
} | |
}); |
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 inspect = require('util-inspect'); | |
var wordNet = require('util') | |
var wordNet = require('wordnet-magic') | |
var wn = wordNet(__dirname + '/sqlite-31.db', false) | |
var input = 'the cat is patiently waiting at some of the best hospitals in Los Angeles' | |
var words = input.split(' ') | |
var sort = { nouns:[], verbs:[], adjectives:[], adverbs:[] } | |
processWord(0) |
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 inspect = require('util-inspect'); | |
var wordNet = require('util') | |
var wordNet = require('wordnet-magic') | |
var wn = wordNet(__dirname + '/sqlite-31.db', false) | |
var input = 'the cat is patiently waiting at some of the best hospitals in Los Angeles' | |
var words = input.split(' ') | |
var sort = { nouns:[], verbs:[], adjectives:[], adverbs:[] } | |
processWord(0) |
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
package com.samere | |
{ | |
import flash.display.Loader; | |
import flash.display.Sprite; | |
import flash.events.Event; | |
import flash.events.EventDispatcher; | |
import flash.events.IOErrorEvent; | |
import flash.events.ProgressEvent; | |
import flash.net.URLRequest; | |
import flash.system.ApplicationDomain; |
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
<script>alert('XSS');</script> |
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
alert('XSS'); |
NewerOlder