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
'use strict'; | |
var fs = require('fs'); | |
var path = require('path'); | |
var _ = require('underscore'); | |
var exec = require('child-process-promise').exec; | |
var Compiler = require('traceur').NodeCompiler; | |
var traceurOptions = { | |
sourceMaps : 'inline', |
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 React = require('react'); | |
var GeoJsonEditor = require('./GeoJsonEditor'); | |
var LineStringEditor2 = require('./LineStringEditor2'); | |
var FancyLineStringEditor = React.createClass({ | |
propTypes: { | |
value: React.PropTypes.object, | |
onChange: React.PropTypes.func.isRequired | |
}, |
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
iwconfig | |
IWCONFIG(8) Linux Programmer’s Manual IWCONFIG(8) | |
NAME |
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
<?php | |
namespace Spatial; | |
class Extension extends \Bolt\BaseExtension | |
{ | |
function info() | |
{ | |
$data = array( |
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 field.type in app.extensions.getFields|keys %} | |
+ {% include 'custom/fields/' ~ field.type ~ '.twig' %} | |
+ {% endif %} |
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
<?php | |
namespace Spatial; | |
use CrEOF\Spatial\DBAL\Types\BinaryParser; | |
use CrEOF\Spatial\PHP\Types\Geometry\LineString; | |
use CrEOF\Spatial\PHP\Types\Geometry\Point; | |
class GeometryParser { |
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
<?php | |
/** | |
* Pluck an array of values from an array. | |
* | |
* @param array $array | |
* @param string $value | |
* @param string $key | |
* @return array | |
*/ | |
function array_pluck($array, $value = null, $key = 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
alias gds='dir=`pwd`; for f in `ls -d */`; do echo "\nRunning git status for: $f" && cd $dir/$f && git --no-pager status; done; cd $dir' | |
alias gdd='dir=`pwd`; for f in `ls -d */`; do echo "\nRunning git diff for: $f" && cd $dir/$f && git --no-pager diff; done; cd $dir' |
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 function action_objectinfos($id) | |
{ | |
$asso = Asso::find($id); | |
if(Auth::guest()){ | |
return Redirect::back(); | |
} | |
elseif(Auth::user()->id == $asso->user_id){ |