Skip to content

Instantly share code, notes, and snippets.

v_v basilboli

  • Paris
Block or report user

Report or block basilboli

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:06a0a1586f6d15f8cd01b4a888ce1ba3
### Keybase proof
I hereby claim:
* I am basilboli on github.
* I am basilboli ( on keybase.
* I have a public key ASANXs4SqHsixAblVdEMq3yhvBD0D-F8bhKBwCoCjRiHTgo
To claim this, I am signing this object:
View paste
class InvitationExpiredException(invitation: Invitation, i18nApi: I18nApi, lang: String = I18nApi.DefaultLangCode)
extends ForbiddenException(
s"Invitation to ${} is expired by date ${invitation.expiredDate}",
Some(i18nApi.message(lang, "invitation.error.expired"))
View paste
package io.xendera.framework.server.constraints
import{Forms, Mapping}
import{Constraint, Invalid, Valid, ValidationError}
object FormConstraints {
private val PasswordConstraint = "constraint.xendera.password"
private val MinLengthMessage = PasswordConstraint + ".error.minLength"
private val MinLength = 8
basilboli / python-threading-sample
Last active Aug 29, 2015
python threading sample
View python-threading-sample
import Queue
import threading
import multiprocessing
threads_count = 10
q = Queue.Queue()
def sum():
yet_not_finished = True
while yet_not_finished:
View designer.html
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../paper-slider/paper-slider.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<polymer-element name="my-element">
:host {
basilboli /
Last active Aug 3, 2018
vpn in 10 seconds
basilboli /
Created Oct 29, 2013
Running tests in parallel with testng
* Running tests in parallel with testng.
//Generate tests to be run in parallel
//Important! see paralell=true
@DataProvider(name = "dataProvider", parallel = true)
public Object[][] generateTets() throws Exception {
basilboli / dabblet.css
Created Apr 3, 2013
The first commented line is your dabblet’s title
View dabblet.css
* The first commented line is your dabblet’s title
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
You can’t perform that action at this time.