Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<title>Clock App</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<h1>Clock App</h1>
@simoneloru
simoneloru / meld
Last active September 5, 2019 08:45
git config --global merge.tool meld &&
git config --global diff.tool meld &&
git config --global mergetool.meld.path “C:\Program Files (x86)\Meld\meld.exe”
List<Object> objects = this.getObjects();
BeanComparator comparator = new BeanComparator("descr");
Collections.sort(objects, comparator);
@simoneloru
simoneloru / rid_of_adobe_updater
Last active August 29, 2015 13:58
This is how I get rid of adobe updater
#!/bin/bash
cd ~/Library/LaunchAgents
launchctl list | grep com.adobe.AR | awk -F " " '{print $3}' | xargs -I adobe launchctl remove adobe
launchctl list | grep com.adobe.AA | awk -F " " '{print $3}' | xargs -I adobe launchctl remove adobe
rm com.adobe.A*
# Color Reset
Color_Off="\033[0m" # Text Reset
# Regular Colors
Black="\033[0;30m" # Black
Red="\033[0;31m" # Red
Green="\033[0;32m" # Green
Yellow="\033[0;33m" # Yellow
Blue="\033[0;34m" # Blue
Purple="\033[0;35m" # Purple
@simoneloru
simoneloru / gist:7821447
Last active December 30, 2015 11:19
tomcat parameters - platform
-Xms400m -Xmx2000m -XX:MaxPermSize=2000m -XX:-DoEscapeAnalysis -Dsun.io.serialization.extendedDebugInfo=false
-Xms512m -Xmx1024m -XX:MaxPermSize=512m -XX:-DoEscapeAnalysis -Dsun.io.serialization.extendedDebugInfo=true
@simoneloru
simoneloru / full_content.xml
Last active December 28, 2015 21:49
Content with all attributes
<contenttype typecode="CNT" typedescr="Generic Content" viewpage="**NULL**" listmodel="**NULL**" defaultmodel="**NULL**">
<attributes>
<attribute name="Attach" attributetype="Attach" />
<attribute name="Boolean" attributetype="Boolean" />
<attribute name="CheckBox" attributetype="CheckBox" />
<attribute name="Composite" attributetype="Composite">
<attributes>
<attribute name="Attach" attributetype="Attach" />
<attribute name="Boolean" attributetype="Boolean" />
<attribute name="CheckBox" attributetype="CheckBox" />
@simoneloru
simoneloru / filter-development-unix.properties
Created June 27, 2013 12:05
my database configuration
# --------------------- Database Configuration: DERBY ---------------------
#profile.database.hostname=localhost
#profile.database.port=1527
#profile.database.username=agile
#profile.database.password=agile
#usually no need to change the following group of 3 properties:
#profile.database.driverClassName=org.apache.derby.jdbc.EmbeddedDriver
#profile.database.url.portdb=jdbc:derby:${project.build.directory}/derby/production/${profile.application.name}Port;create=true
#profile.database.url.servdb=jdbc:derby:${project.build.directory}/derby/production/${profile.application.name}Serv;create=true