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
module.exports = (grunt) -> | |
'use strict' | |
# Grunt Initialize | |
grunt.initConfig | |
pkg: grunt.file.readJSON('package.json') | |
coffee: | |
options: | |
bare: true | |
souceMap: true |
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
{ | |
"name": "helloworld", | |
"version": "0.0.0", | |
"description": "Welcome to your Appcelerator Titanium Mobile Project", | |
"main": "Resources/app.js", | |
"scripts": { | |
"test": "tishadow spec" | |
}, | |
"author": "Shinosuke Ooyama", | |
"license": "MIT", |
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 misc.jpa; | |
import org.eclipse.persistence.config.SessionCustomizer; | |
import org.eclipse.persistence.sessions.Session; | |
public class JpaSessionCustomizer implements SessionCustomizer { | |
@Override | |
public void customize(Session sn) throws Exception { | |
sn.setSessionLog(new Slf4jSessionLogger()); |
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 web.resources; | |
import web.MyApplication; | |
import org.glassfish.jersey.test.DeploymentContext; | |
import org.glassfish.jersey.test.JerseyTest; | |
import org.junit.Test; | |
import static org.hamcrest.CoreMatchers.is; | |
import static org.junit.Assert.assertThat; |
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
brew install ffmpeg |
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
... | |
[Service] | |
... | |
Environment="HTTP_PROXY=YOUR.PROXY.HOST:PORT" | |
Environment="NO_PROXY=NO.PROXY.HOST1,NO.PROXY.HOST2" | |
ExecStart=/usr/bin/docker -d -s=btrfs -r=false -H fd:// | |
... |
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
var platformHeight = Ti.Platform.displayCaps.platformHeight; | |
Alloy.Globals.isIPhone6Plus = platformHeight === 736; | |
Alloy.Globals.isIPhone6 = platformHeight === 667; | |
Alloy.Globals.isIPhone5 = platformHeight <= 568; |
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
sudo npm i -g dbankier/tishadow --unsafe-perm |
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/zsh | |
while true; do | |
read Answer\?'Do you like coffee? [Y/n]' | |
case $Answer in | |
'' | [Yy]* ) | |
echo Yes! | |
break; | |
;; | |
[Nn]* ) | |
echo No! |
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
http.proxyHost=your.proxy.host | |
http.proxyPort=8080 |
OlderNewer