This file contains hidden or 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
hashExApp.controller("AlertCtrl", ['$scope', 'notificationService', function($scope, notificationService) { | |
$scope.addSuccessAlert = function (msg) { | |
notificationService.success(msg) | |
}; | |
$scope.addErrorAlert = function (msg) { | |
notificationService.error(msg) | |
}; | |
$scope.standardErrorCallback = function (data, status) { | |
if (data == "") | |
$scope.addErrorAlert(Messages('criticalFailure')); |
This file contains hidden or 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] Building debian package with native implementation | |
[error] dpkg-deb: error: control directory has bad permissions 750 (must be >=0755 and <=0775) | |
java.lang.RuntimeException: Failure packaging debian file. Exit code: 2 | |
at scala.sys.package$.error(package.scala:27) | |
at com.typesafe.sbt.packager.debian.NativePackaging$$anonfun$debianNativeSettings$4.apply(NativePackaging.scala:76) | |
at com.typesafe.sbt.packager.debian.NativePackaging$$anonfun$debianNativeSettings$4.apply(NativePackaging.scala:70) | |
at scala.Function9$$anonfun$tupled$1.apply(Function9.scala:35) | |
at scala.Function9$$anonfun$tupled$1.apply(Function9.scala:34) | |
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47) | |
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42) |
This file contains hidden or 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
member --> member_connection --> connection <-- member_connection <-- connection |
This file contains hidden or 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
pacakge xxx | |
import java.lang.reflect.Modifier | |
import com.iterators.model.db.user.User | |
import com.iterators.services.AuthenticationService | |
import shapeless.{HList, HNil, ::} | |
import spray.http.StatusCodes._ | |
import spray.routing._ |
This file contains hidden or 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.foobar.core.routing.directives | |
import com.iterators.config.CakeConfig | |
import shapeless.{HNil, ::} | |
import spray.http.DateTime | |
import spray.routing._ | |
import scala.concurrent.ExecutionContext | |
import scala.reflect.ClassTag | |
import scala.reflect.runtime.{currentMirror => cm} | |
import scala.reflect.runtime.universe._ |
This file contains hidden or 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
sealed trait PaymentMethod | |
case object Cash extends PaymentMethod | |
case object BankTransfer extends PaymentMethod | |
object PaymentMethod { | |
val values = Set(Cash, BankTransfer) | |
def apply(s: String): PaymentMethod = { | |
fromString(s) | |
} |
This file contains hidden or 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
kage com.iterators.registries.types | |
import com.iterators.config.Unicorn.driver.simple._ | |
sealed trait VatRate | |
case object VatRate23 extends VatRate | |
case object VatRate8 extends VatRate | |
case object VatRate5 extends VatRate | |
case object VatRate0 extends VatRate | |
case object VatRateEx extends VatRate //exempt - zwolniony |
This file contains hidden or 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
{ | |
"data": [ | |
{ | |
"name": "lager", | |
"photo": "http://hobbista.atrax.pl/text_pictures/image/KULINARIA/wino/9.jpg", | |
"background": "81B5E3", | |
"description": "<p>lorem ipsum </p>", | |
"uuid": "286c775d-9c85-429e-b069-26ef26e0b806", | |
"code": "lager500", | |
"symbol": "http://www.skarbnica-win.pl/wp-content/uploads/2011/06/kieliszek-wino-czerwone-pinot-chateau.jpg", |
This file contains hidden or 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
Dixrad Marcin Gosk | |
Marcin Gosk | |
ul. Chmielna 2 lok. 31 | |
00-020 Warszawa | |
NIP 7221576653 |
This file contains hidden or 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
Glownym celem wprowadzenia ponizszych zasad jest poprawienie czytelnosci trello. | |
1. Ograniczona liczba list | |
Chcemy organizaować taski na trello w duchu kanbana, dlatego ilosć list powinna być organiczona. Dlatego proponuje nastpujce listy: | |
* ICEBOX - taski czekajace na rozpatrzenie | |
* TODO - long distance | |
* TODO - short distance | |
* DOING | |
* DONE - w done poiwnnimy mieć tylko kilka ostanio skonczonych tasków, te starsze powinny być archiwizowane lub przenoszone na inny board |
OlderNewer