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
@EventBusHandler(RefreshHistorySyncListEvent.class) | |
public void $refreshHistorySyncList() { | |
doGetHistorySyncLastTen(); | |
} | |
// @Override | |
// protected void onBind() { | |
// super.onBind(); | |
// addRegisteredHandler(RefreshHistorySyncListEvent.getType(), new | |
// RefreshHistorySyncListHandler() { |
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
// Server serialization | |
public class MServerSerializationStreamWriter extends AbstractSerializationStreamWriter | |
{ | |
@Override | |
public void writeObject(Object object) throws SerializationException | |
{ | |
if (object instanceof HibernateProxy) | |
{ | |
HibernateProxy proxyId = (HibernateProxy)object; |
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
// [GENERATED] | |
package pim.integ.mandarine.associationnaire; | |
import javax.annotation.Resource; | |
import javax.ejb.SessionContext; | |
import javax.ejb.Stateless; | |
import javax.persistence.EntityManager; | |
import javax.persistence.PersistenceContext; | |
import fr.mm.foundation.core.component.AbstractCrudHibernateEnterpriseBusinessComponent; |
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
# ------------------------------------------------------------------------------ | |
# SCREEN KEYBINDINGS | |
# ------------------------------------------------------------------------------ | |
startup_message off | |
deflogin on | |
autodetach on | |
# turn visual bell on | |
vbell on |
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
# set to yes if you want Conky to be forked in the background | |
background no | |
cpu_avg_samples 2 | |
net_avg_samples 2 | |
out_to_console no | |
# X font when Xft is disabled, you can pick one with program xfontsel | |
#font 7x12 |
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
#!/usr/bin/groovy | |
/** | |
* \o/ Canal+ VOD 4 Linux \o/ | |
* | |
* @date 06/11/2011 | |
* @version 1.0 | |
* @author thb | |
*/ | |
import static Constants.* |
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
#!/usr/bin/groovy | |
import org.htmlcleaner.* | |
import static C.* | |
class C { | |
static trucks = ['vito', 'transporter', ''] | |
static cats = ['utilitaires', 'caravaning'/*, 'voitures'*/] | |
static kmMax = "200000" |
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
#!/bin/bash | |
# | |
# rsync.sh /media/miam/photos [email protected]:/media/miam/sync_patate/photos | |
SRC=$1 | |
DEST=$2 | |
# rsync -e ssh -avz --delete-after | |
rsync -e ssh -avz $SRC $DEST |
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
import static Constants.* | |
class Constants { | |
static final wsName = "mandarine" | |
static final serverPath= "c:\\\\xxxx\\\\yyyy\\\\server\\\\profil\\\\deploy"; | |
static final wsPath = "c:\\\\xxxx\\\\ws\\\\$wsName\\\\.metadata\\\\.plugins\\\\org.eclipse.core.resources\\\\.projects" | |
} | |
// WS status |
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
#!/usr/bin/groovy | |
map = [ 3:"Foo", 5:"Bar", 7:"Qix" ] | |
for (i in 1..100) { | |
r = "" | |
map.each{ k, v -> r += isDiv(i, k, v) } | |
map.each{ k, v -> r += has(i, k, v) } | |
println i + " -> " + ((r == "") ? i : r) | |
} |
OlderNewer