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 is the main Samba configuration file. For detailed information about the | |
# options listed here, refer to the smb.conf(5) manual page. Samba has a huge | |
# number of configurable options, most of which are not shown in this example. | |
# | |
# The Official Samba 3.2.x HOWTO and Reference Guide contains step-by-step | |
# guides for installing, configuring, and using Samba: | |
# http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf | |
# | |
# The Samba-3 by Example guide has working examples for smb.conf. This guide is | |
# generated daily: http://www.samba.org/samba/docs/Samba-Guide.pdf |
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
server { | |
listen 80; | |
listen [::]:80; | |
server_name dev.hoge.jp; | |
return 301 https://dev.hoge.jp$request_uri; | |
#root /home/httpd/hoge/wordpress; | |
# WordPress Setting | |
#include conf.d/global/wordpress_restrictions.conf; |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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 cleanUp() { | |
// | |
// Settings | |
// | |
// Enter # of days before messages are moved to trash | |
var days = 7; | |
// List of labels which you want to remove | |
var filters = []; | |
filters.push('label:notification-mailmagazine'); |
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 = function(grunt){ | |
// Load plugins | |
grunt.loadNpmTasks("grunt-contrib-jshint"); | |
grunt.loadNpmTasks("grunt-contrib-watch"); | |
grunt.initConfig({ | |
options: { | |
livereload: true, | |
}, | |
jshint: { |
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 | |
# | |
# Redmine Startup script for unicorn. | |
# | |
# chkconfig: - 86 15 | |
# description: redmine on unicorn start/stop script. | |
export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin | |
# load rbenv |