I hereby claim:
- I am julienroubieu on github.
- I am julienroubieu (https://keybase.io/julienroubieu) on keybase.
- I have a public key ASA49g6oVDZnieWYIqAZyNvmzr2p_IaIKhd824_ZxTdNHQo
To claim this, I am signing this object:
find . -maxdepth 1 -type d \( ! -name . \) -exec bash -c "cd '{}' && npm install" \; |
// | |
// Copyright 2012 Google | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software |
I hereby claim:
To claim this, I am signing this object:
# | |
# The original Ionic $ionicScrollDelegate does not work for views in modals. | |
# This decorator fixes the issue by getting the handle globally instead of from the active scope. | |
# https://github.com/driftyco/ionic/issues/2754 | |
# | |
$ionicScrollDelegateDecorator = ($provide) -> | |
decorateService = ($delegate) -> | |
$delegate.$getByHandle = (name) -> |
# | |
# The original Ionic $ionicListDelegate does not work for views in modals. | |
# This decorator fixes the issue by getting the handle globally instead of from the active scope. | |
# https://github.com/driftyco/ionic/issues/2754 | |
# | |
$ionicListDelegateDecorator = ($provide) -> | |
decorateService = ($delegate) -> | |
$delegate.$getByHandle = (name) -> |
angular.module('ion-google-place', []) | |
.directive('ionGooglePlace', [ | |
'$ionicTemplateLoader', | |
'$ionicBackdrop', | |
'$q', | |
'$timeout', | |
'$rootScope', | |
'$document', | |
'$window', | |
function($ionicTemplateLoader, $ionicBackdrop, $q, $timeout, $rootScope, $document, $window) { |
import java.util.Optional | |
/** | |
* Conversions between Scala Option and Java 8 Optional. | |
*/ | |
object JavaOptionals { | |
implicit def toRichOption[T](opt: Option[T]): RichOption[T] = new RichOption[T](opt) | |
implicit def toRichOptional[T](optional: Optional[T]): RichOptional[T] = new RichOptional[T](optional) | |
} |
// Surrounding div is only printed when optional.isDefined() | |
@for(someValue <- optional) { <div class='value'>@someValue</div> } |
#!/bin/bash | |
dossier_ok=~/Desktop/Importes | |
for filepath in "$@" | |
do | |
((n++)) | |
filename=$(basename $filepath) | |
IFS='_' read -a array <<< "$filename" | |
year=${array[0]} |