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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.google.common</groupId> | |
<artifactId>google-guava</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>Google Guava</name> | |
<build> | |
<sourceDirectory>src/</sourceDirectory> |
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
div.header-chrome { | |
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #00346e), color-stop(100%, #001c3b)); | |
background-image: -webkit-linear-gradient(#00346e, #001c3b); | |
background-image: -moz-linear-gradient(#00346e, #001c3b); | |
background-image: -o-linear-gradient(#00346e, #001c3b); | |
background-image: -ms-linear-gradient(#00346e, #001c3b); | |
background-image: linear-gradient(#00346e, #001c3b); | |
} |
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 -e | |
# Confluence startup script | |
#chkconfig: 2345 80 05 | |
#description: Confluence | |
#original found at: http://confluence.atlassian.com/display/DOC/Start+Confluence+automatically+on+Linux+and+UNIX | |
# Define some variables | |
# Name of app ( JIRA, Confluence, etc ) | |
APP=confluence | |
# Name of the user to run as |
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
cd ~/Library/Application\ Support/Skype/ | |
if [ ! -d ChatStyles ]; then mkdir ChatStyles; fi | |
if [ ! -d ChatStyles/sources-by-github ]; then mkdir ChatStyles/sources-by-github; fi | |
cd ChatStyles/sources-by-github | |
git clone https://github.com/miekd/Brief.git | |
cd ~/Library/Application\ Support/Skype/ChatStyles | |
ln -s sources-by-github/Brief/Brief.SkypeChatStyle |
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
(function(){ | |
var fn = function(){ | |
$('video').each(function(i, video){ | |
var $video = $(video); | |
if (!$video.attr('x-webkit-airplay')) { | |
$video.attr({ | |
'x-webkit-airplay' : 'allow', | |
'airplay' : 'allow', | |
'controls' : 'controls' | |
}); |
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 | |
# Routing the 192.168.1.0/24 net via the gateway at 192.168.0.101 | |
sudo route -n add 192.168.1.0 192.168.0.101 255.255.255.0 |
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
# USER := your username | |
USER ALL=NOPASSWD: /path/to/your/script |
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
# Removes write access for all users (avoids injecting code) | |
sudo chmod -w /path/to/your/script | |
# Transfers the script to root (owned by) | |
sudo chown root /path/to/your/script |
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
# This extension makes the SASS function "application_resources_url" available, which will return the absolute path within a spring mvc managed application. | |
# | |
# The implementation relays on a central java properties file located at src/main/resources/application.properties. It should contain at least following keys | |
# webapp.version -- a string, e.g. 1.0.0 | |
# webapp.build -- a string, e.g. 45 | |
# webapp.context -- a string, e.g. app (optional, if empty only / will be used) | |
# | |
# Version 1.0 (2012-05-23, Jan Philipp <[email protected]>) | |
# Under MIT License | |
# |
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
<copy file="${basedir}/target/jslint4java/jslint.xml" tofile="${basedir}/target/jslint.xml" overwrite="false" /> |
OlderNewer