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
public abstract class AbstractFlatTreeParser<T> implements Parser<T> { | |
/** | |
* Gets the tree reader. | |
* | |
* @param root | |
* the root | |
* @param path | |
* the path | |
* @return the tree reader |
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
--This script MUST be named "Switch to User.scpt", where User is the name of the user to switch to. | |
--You must first make a password item (a.k.a. a key) for the other user's password using Keychain Access, and call it "", where "user" is the other user's name and with the description "User Login". The script assumes that you make this key in your login.keychain, which is the default one. | |
--The first time you run this script, you will be prompted to allow Keychain Scripting to access the password of the key. | |
--This script requires "Enable access for assistive devices" to be enabled in the Universal Access system preference pane. | |
set username to word -1 of my findReplace(".scpt", "", (path to me as text)) | |
-- Invoke Fast User Switching. The `id -ur username` part gets the uid number that corresponds to the username and substitutes it at the end of the CGSession command | |
do shell script "/System/Library/CoreServices/'Menu Extras'/User.menu/Contents/Resources/CGSession -switchToUserID `id -ur " & username & "`" |
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
do shell script "'/System/Library/CoreServices/Menu Extras/User.menu/Contents/Resources/CGSession' -suspend" |
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
==> Downloading http://www.cairographics.org/releases/cairo-1.10.2.tar.gz | |
Already downloaded: /Users/Oliver/Library/Caches/Homebrew/cairo-1.10.2.tar.gz | |
==> ./configure --prefix=/usr/local/Cellar/cairo/1.10.2 --with-x --enable-xcb | |
==> make install | |
make install-recursive | |
Making install in src | |
make install-am | |
CC cairo-arc.lo | |
CC cairo-analysis-surface.lo | |
/bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -D_REENTRANT -I/usr/local/Cellar/pixman/0.24.4/include/pixman-1 -I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/local/Cellar/libpng/1.2.44/include/libpng12 -I/usr/X11/include -I/usr/X11/include -I/usr/X11/include -I/usr/X11/include -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Werror-implicit-function-declaration -Wnested-externs -Wpointer-arith -Wwrite-strings -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -Wpacked -Wswitch-enum -Wmissing-format-at |
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
Apr 16 10:05:31 schmendrick configd[14]: network configuration changed. | |
Apr 16 10:05:31 schmendrick UserEventAgent[11]: CaptiveNetworkSupport:CaptivePublishState:1211 en1 - PreProbe | |
Apr 16 10:05:31 schmendrick configd[14]: network configuration changed. | |
Apr 16 10:05:34 schmendrick applepushserviced[63]: <APSCourier: 0x10c837260>: Stream error occurred for <APSTCPStream: 0x7fc4fb519ca0>: The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 2.) | |
Apr 16 10:05:36 schmendrick loginwindow[50]: kCGErrorIllegalArgument: CGSGetDisplayBounds: Invalid display 0x042720c0 | |
Apr 16 10:05:36 schmendrick loginwindow[50]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. | |
Apr 16 10:05:36 schmendrick loginwindow[50]: _NXGetScreenRect: error getting display bounds (1001) | |
Apr 16 10:05:36 schmendrick loginwindow[50]: kCGErrorIllegalArgument: CGSGetCurrentDisplayMode: Invalid display 0x042720c0 | |
Apr 16 10:05:36 schmendrick Dropbox[255]: CPSGetFrontProcess(): This call is depreca |
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
info it worked if it ends with ok | |
verbose cli [ 'node', '/usr/local/bin/npm', 'install', '-g', 'webmake' ] | |
info using [email protected] | |
info using [email protected] | |
verbose /usr/local/bin/node node symlink | |
verbose config file /Users/Oliver/.npmrc | |
verbose config file /usr/local/etc/npmrc | |
verbose config file /usr/local/lib/node_modules/npm/npmrc | |
verbose cache add [ 'webmake', null ] | |
silly cache add: name, spec, args [ undefined, 'webmake', [ 'webmake', null ] ] |
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
import org.geotools.geometry.jts.JTS; | |
import org.geotools.geometry.jts.JTSFactoryFinder; | |
import org.geotools.referencing.CRS; | |
import org.geotools.referencing.crs.DefaultGeocentricCRS; | |
import org.geotools.referencing.crs.DefaultGeographicCRS; | |
import org.opengis.geometry.MismatchedDimensionException; | |
import org.opengis.referencing.FactoryException; | |
import org.opengis.referencing.crs.CoordinateReferenceSystem; | |
import org.opengis.referencing.operation.MathTransform; | |
import org.opengis.referencing.operation.TransformException; |
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
/* | |
* Adapted from <a | |
* href="http://www.movable-type.co.uk/scripts/latlong.html">JavaScript | |
* version</a> created by <a href="http://www.movable-type.co.uk/">Chris | |
* Veness<a/> under the <a | |
* href="http://creativecommons.org/licenses/by/3.0/">Create Commons Attribution | |
* 3.0</a> licencse. | |
*/ | |
package com.oschrenk.humangeo.calc; |
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
--This script MUST be named "Switch to <User>.scpt", where <User> is the name of the user to switch to. | |
--You must first make a password item (a.k.a. a key) for the other user's password using Keychain Access, | |
--and call it "<user>", where "<user>" is the other user's name.the field "Kind" must be "User Login" (without quotes). | |
--The script assumes that you make this key in your login.keychain, which is the default one. | |
--The first time you run this script, you will be prompted to allow Keychain Scripting to access the password of the key. | |
--This script requires "Enable access for assistive devices" to be enabled in the Universal Access system preference pane. | |
set username to word -1 of my findReplace(".scpt", "", (path to me as text)) | |
-- Invoke Fast User Switching. The `id -ur username` part gets the uid number that corresponds to the username and substitutes it at the end of the CGSession command |
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
program = clCreateProgramWithSource(context, 1, | |
new String[] { SOURCE }, null, null); | |
clBuildProgram(program, 0, null, null, null, null); | |
final int vertexCount = graph.getVertexCount(); | |
final int edgeCount = graph.getEdgeCount(); | |
final int[] vertexArray = graph.getVertexArray(); | |
final int[] edgeArray = graph.getEdgeArray(); |
OlderNewer