mouseover
mousemove (2ms)
mousedown (421ms)
mouseup (157ms)
click (1ms)
mousemove
mouseout (15ms)
This file contains 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
apt-get install aptitude | |
# Remove recommended packages in aptitude | |
echo 'aptitude ""; | |
aptitude::Keep-Unused-Pattern ""; | |
aptitude::Delete-Unused-Pattern ""; | |
APT ""; | |
APT::Install-Recommends "false";' > ~/.aptitude/config | |
# Latest Docker |
by Sebastian Hoogenberk on April 9, 2015
For security reasons you might want to disable the #parse and the #include directives in Apache Velocity altogether, e.g. when users should be allowed to modify templates. The way to do this is via an event handler named IncludeEventHandler.
To disable #include and #parse, you first have to implement the IncludeEventHandler interface, and then you have to register your class in the Velocity configuration.
The class:
This file contains 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
FROM tomcat:7-jre7 | |
MAINTAINER Paul Wellner Bou "<[email protected]>" | |
ENV SOLR_VERSION 4.7.2 | |
# ADD http://central.maven.org/maven2/org/apache/solr/solr/${SOLR_VERSION}/solr-${SOLR_VERSION}.war /usr/local/tomcat/webapps/solr.war | |
ADD solr-${SOLR_VERSION}/dist/solr-${SOLR_VERSION}.war /usr/local/tomcat/webapps/solr.war | |
ADD solr-home /opt/solr | |
ADD solr-${SOLR_VERSION}/dist/solrj-lib/slf4j-api* /usr/local/tomcat/lib/ |
This file contains 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 | |
PROJECTKEYS="PROJ1|PROJ2" | |
JIRABASEURL="http://jira.example.com/" | |
# Put here your tag names, branches or just revision hashes | |
FROMREV="release-1.0" | |
TOREV="origin/master" | |
# Unfortunately I didn't manage to get the variable $PORJECTKEYS replaced within gawk's gensub() |
This file contains 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
package de.wellnerbou.gitjira.jgit; | |
import org.eclipse.jgit.api.Git; | |
import org.eclipse.jgit.api.errors.GitAPIException; | |
import org.eclipse.jgit.lib.ObjectId; | |
import org.eclipse.jgit.lib.Ref; | |
import org.eclipse.jgit.lib.Repository; | |
import org.eclipse.jgit.revwalk.RevCommit; | |
import java.io.IOException; |
This file contains 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
/* If this function is imported, you can import scss files using: | |
@if not-imported("your-file") { @import "your-file"; } | |
*/ | |
$imported-once-files: () !default; | |
@function not-imported($name) { | |
$imported-once-files: $imported-once-files !global; | |
$module_index: index($imported-once-files, $name); | |
@if (($module_index == null) or ($module_index == false)) { |
This file contains 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/sh | |
mkdir $1 | |
cd $1 | |
git clone ~/src/fazcore | |
mv fazcore $1 | |
cd $1 | |
git filter-branch --subdirectory-filter $2 --prune-empty -- --all | |
git remote remove origin | |
git remote add origin ssh://[email protected]/opt/git/repository/$1.git |
NewerOlder