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 org.hidetake.lab.controller.admin.motionPicasa; | |
import java.util.Calendar; | |
import java.util.List; | |
import java.util.logging.Logger; | |
import org.hidetake.lab.motionPicasa.PhotoArrangementService; | |
import org.hidetake.lab.motionPicasa.PicasaService; | |
import org.hidetake.lab.motionPicasa.PicasaServiceLocator; | |
import org.hidetake.lab.motionPicasa.ScheduleUtil; |
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 org.hidetake.lab.controller.admin; | |
import java.io.PrintWriter; | |
import java.io.StringWriter; | |
import org.mozilla.javascript.Context; | |
import org.mozilla.javascript.Scriptable; | |
import org.slim3.controller.Controller; | |
import org.slim3.controller.Navigation; | |
import org.slim3.controller.validator.Validators; |
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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>example</title> | |
<!--[if IE]> | |
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" /> | |
<![endif]--> | |
<!--[if lt IE 9]> | |
<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
#!/sbin/runscript | |
# GitLab init script for Gentoo Linux | |
# see https://github.com/gitlabhq/gitlabhq/blob/master/doc/installation.md | |
GITLAB_BASE=/home/gitlab/gitlab | |
GITLAB_USER=gitlab | |
depend() { | |
need net mysql redis | |
} |
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
# /etc/profile.d/setproxy.sh | |
function setproxy () { | |
proxy_uri='proxy.example.com:8080' | |
echo "Proxy URI: ${proxy_uri}" | |
echo -n 'Proxy user: ' | |
read -s proxy_id | |
echo | |
echo -n 'Proxy password: ' | |
read -s proxy_pw | |
echo |
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
<?php | |
define('ZABBIX_AUTHKEY', '****'); | |
define('FONT_PATH', '/usr/share/fonts/vlgothic/VL-PGothic-Regular.ttf'); | |
//define('FONT_PATH', '/usr/share/fonts/dejavu/DejaVuSans.ttf'); | |
define('FONT_SIZE', 24); | |
define('IMAGE_WIDTH', 300); | |
define('IMAGE_HEIGHT', 50); | |
function zabbix_query ($request) { | |
$channel = curl_init(); |
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
import sbt._ | |
import Keys._ | |
import com.github.siasia.WarPlugin.warSettings | |
object ProjectBuild extends Build { | |
lazy val root = Project( | |
id = "root", | |
base = new File("."), | |
settings = Project.defaultSettings ++ warSettings ++ mySettings ++ Seq( | |
externalIvySettings(), |
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
rem see http://commons.apache.org/daemon/procrun.html | |
set SERVICE_HOME=c:\hoge | |
%SERVICE_HOME%\service.exe //IS//Jenkins --DisplayName=Jenkins --StartPath=%SERVICE_HOME% --LogPath=%SERVICE_HOME%\logs --LogLevel=Debug --StdOutput=auto --StdError=auto --StartMode=Java --StopMode=Java --Jvm=auto ++JvmOptions=-jar ++JvmOptions=start.jar |
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
#rsyslog v3 config file | |
# Provides UDP syslog reception | |
$ModLoad imudp.so | |
$UDPServerRun 514 | |
$AllowedSender UDP, 127.0.0.1, 192.168.0.0/24 | |
# Provides TCP syslog reception | |
#$ModLoad imtcp.so | |
#$InputTCPServerRun 514 |
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
Listen *:9090 | |
<VirtualHost *:9090> | |
ProxyRequests on | |
ProxyRemote * http://192.168.0.100:9090 | |
AddDefaultCharset off | |
<Proxy *> | |
Order deny,allow | |
Deny from all | |
Allow from 127.0.0.0/8 | |
Allow from 192.168.1.0/24 |
OlderNewer