I hereby claim:
- I am jeci-sarl on github.
- I am itair (https://keybase.io/itair) on keybase.
- I have a public key ASDy_ioiP8dNqhca_eKWXiyIIwAmM2IwJ9ATqoofhzNfvwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
version: '2' | |
services: | |
alfresco: | |
image: jeci/alfresco-platform:5.2.f | |
environment: | |
CATALINA_OPTS: "-Xmx1G -XX:+UseConcMarkSweepGC" | |
depends_on: | |
- postgresql | |
networks: |
<ivysettings> | |
<settings defaultResolver="alfresco" /> | |
<include url="${ivy.default.settings.dir}/ivysettings-public.xml" /> | |
<include url="${ivy.default.settings.dir}/ivysettings-shared.xml" /> | |
<include url="${ivy.default.settings.dir}/ivysettings-local.xml" /> | |
<include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml" /> | |
<resolvers> | |
<chain name="alfresco"> | |
<ibiblio name="alfresco-public" | |
root="https://artifacts.alfresco.com/nexus/content/groups/public/" |
<ivy-module version="2.0"> | |
<info organisation="fr.jeci" module="alfresco-demo" /> | |
<dependencies> | |
<dependency org="org.alfresco" name="alfresco-core" rev="4.2.e" /> | |
<dependency org="org.alfresco" name="alfresco-data-model" rev="4.2.e" /> | |
<dependency org="org.alfresco" name="alfresco-repository" rev="4.2.e" /> | |
<dependency org="org.alfresco" name="alfresco-web-client" rev="4.2.e" /> | |
<dependency org="org.alfresco" name="alfresco-share" rev="4.2.e" /> | |
</dependencies> | |
</ivy-module> |
/** http://www.benmccann.com/dev-blog/easy-java-bean-tostring-using-beanutils/ **/ | |
public String toString() { | |
try { | |
return BeanUtils.describe(this).toString(); | |
} catch (Exception e) { | |
Logger.getLogger(this.getClass()).error("Error converting object to String", e); | |
} | |
return super.toString(); | |
} |
#! /bin/bash | |
path=/usr/lib/ | |
slash="${path//[^\/]/}" | |
echo "Depth : $(expr ${#slash} - 1)" |
# -c for class : 0 for none, 1 for real time, 2 for best-effort, 3 for idle. | |
/usr/bin/ionice -c3 du -sh /home/* |
/** http://xstream.codehaus.org/tutorial.html **/ | |
public class DemoXstreal { | |
public class Person { | |
private String firstname; | |
private String lastname; | |
private PhoneNumber phone; | |
private PhoneNumber fax; | |
// ... constructors and methods | |
} | |