I hereby claim:
- I am alexo on github.
- I am alexobjelean (https://keybase.io/alexobjelean) on keybase.
- I have a public key ASCp9R9DNyrOutxR8SV3nBqDvAQ15Yj7SuztDZHYu2WGrgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am alexo on github. | |
* I am alexobjelean (https://keybase.io/alexobjelean) on keybase. | |
* I have a public key ASCp9R9DNyrOutxR8SV3nBqDvAQ15Yj7SuztDZHYu2WGrgo | |
To claim this, I am signing this object: |
$ git branch -r --merged | | |
grep origin | | |
grep -v '>' | | |
grep -v master | | |
xargs -L1 | | |
awk '{split($0,a,"/"); print a[2]}' | | |
xargs git push origin --delete |
package org.jboss.arquillian.extension.deployment.impl; | |
import java.io.File; | |
import java.util.Arrays; | |
import java.util.Collections; | |
import java.util.List; | |
import org.apache.maven.model.Model; | |
import org.jboss.arquillian.container.spi.client.deployment.DeploymentDescription; | |
import org.jboss.arquillian.container.test.spi.client.deployment.DeploymentScenarioGenerator; |
import ro.isdc.wro.model.resource.* | |
import ro.isdc.wro.extensions.processor.js.* | |
buildscript { | |
repositories { mavenCentral() } | |
dependencies { | |
classpath "ro.isdc.wro4j:wro4j-extensions:${versions.wro4j}" | |
} | |
} |
/*! | |
* Bootstrap v2.2.2 | |
* | |
* Copyright 2012 Twitter, Inc | |
* Licensed under the Apache License v2.0 | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Designed and built with all the love in the world @twitter by @mdo and @fat. | |
*/ |
myModule.directive('myComponent', function(mySharedService) { | |
return { | |
restrict: 'E', | |
controller: function($scope, $attrs, mySharedService) { | |
$scope.$on('handleBroadcast', function() { | |
$scope.message = 'Directive: ' + mySharedService.message; | |
}); | |
}, | |
replace: true, | |
template: '<input>' |
function AlbumCtrl($scope) { | |
scope.images = [ | |
{"thumbnail":"img/image_01.png", "description":"Image 01 description"}, | |
{"thumbnail":"img/image_02.png", "description":"Image 02 description"}, | |
{"thumbnail":"img/image_03.png", "description":"Image 03 description"}, | |
{"thumbnail":"img/image_04.png", "description":"Image 04 description"}, | |
{"thumbnail":"img/image_05.png", "description":"Image 05 description"} | |
]; | |
} |
<html ng-app> | |
<head> | |
<script src="http://code.angularjs.org/angular-1.0.0rc10.min.js"></script> | |
</head> | |
<body> | |
<div> | |
<label>Name:</label> | |
<input type="text" ng-model="yourName" placeholder="Enter a name here"> | |
<hr> | |
<h1>Hello, {{yourName}}!</h1> |
/* Adding ! as a method on int's */ | |
object ExtendBuiltins extends Application { | |
def fact(n: Int): BigInt = | |
if (n == 0) 1 else fact(n-1) * n | |
class Factorizer(n: Int) { | |
def ! = fact(n) | |
} | |
implicit def int2fact(n: Int) = new Factorizer(n) | |
println("10! = " + (10!)) |