Skip to content

Instantly share code, notes, and snippets.

View maoo's full-sized avatar

Maurizio Pillitu maoo

View GitHub Profile
find . -name "*.jar" -exec sh -c 'jar -tf {}|grep -H --label {} 'NodeService.class'' \;
ps -edaf | grep something_to_grep | awk '{print $2}' | xargs kill -s 9
JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"
mvn -Dmaven.repo.local=/tmp/m2repo package
git clean -dxn > dry run, shows what to remove
git clean -dxf > do it
@maoo
maoo / ssf-ccla.md
Created July 14, 2016 09:46
Symphony Software Foundation CCLA

The Symphony Software Foundation

Corporate Contributor License Agreement (“Agreement”)

By signing below, You accept and agree to the following terms and conditions for Your present and future Contributions submitted to the Symphony Software Foundation (the "Foundation"). Except for the licenses granted herein to the Symphony Software Foundation and recipients of software distributed by the Foundation, You reserve all right, title, and interest in and to Your Contributions.

If you have not already done so, please complete and sign, then scan and email a pdf file of this Agreement to secretary@symphony.foundation. Alternatively, you may send an original signed Agreement to Symphony Software Foundation, 1117 California Ave., Palo Alto, CA 94304 USA. Please read this document carefully before signing and keep a copy for your records.

Definitions.

@maoo
maoo / ssf-icla.md
Created July 14, 2016 09:47
Symphony Software Foundation ICLA

The Symphony Software Foundation

Individual Contributor License Agreement (“Agreement”)

Thank you for your interest in The Symphony Software Foundation (the”Foundation”). In order to clarify the intellectual property license granted with Contributions from any person or entity,the Foundation must have a Contributor License Agreement (“CLA”) on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of the Foundation and its users; it does not change your rights to use your own Contributions for any other purpose. If you have not already done so, please complete and sign, then scan and email a pdf file of this Agreement to secretary@symphony.foundation. Alternatively, you may send an original signed Agreement toSymphony Software Foundation,

@maoo
maoo / keybase.md
Created August 4, 2016 11:14
keybase.md

Keybase proof

I hereby claim:

  • I am maoo on github.
  • I am maoo (https://keybase.io/maoo) on keybase.
  • I have a public key whose fingerprint is 913F D123 23D2 32A2 C7B8 B50E 2A66 4D8C 3D19 7A91

To claim this, I am signing this object:

@maoo
maoo / gentodo.md
Last active April 17, 2017 02:04
gentodo.md
  • Printer and scanner
  • Window Manager (xfce, gnome)
  • Text editor (sublime_text)
  • Browser (chrome)
  • IntelliJ Idea (idea)
  • Shell (terminator)
  • Skype (skype)
  • Keybase (run_keybase)
  • iStat (gnome system monitor)
  • Dropbox (dropbox)
@maoo
maoo / gist:c41d6ebb48af5165812f74d264c14d4e
Last active April 7, 2018 12:06
Hubspot - Multiple columns in blog listing
{% set items = contents|length %}
{# Change '3' with the number of columns you'd like to display #}
{% set itemsPerColumn = items|divide(3) %}
{% for row in contents|batch(itemsPerColumn, ' ') %}
<div class="column span{{ itemsPerColumn }}">
{% for content in row %}
<div class="post-item">
....
</div>