This file contains hidden or 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
// ==UserScript== | |
// @name Tumblr Adblock | |
// @namespace com.tumblr.laughingman7743 | |
// @author laughingman7743 | |
// @version 0.0.4 | |
// @homepage http://laughingman7743.tumblr.com/ | |
// @description 広告は過去の遺物です! | |
// @run-at ducument-start | |
// @include http://www.tumblr.com/dashboard | |
// @include https://www.tumblr.com/dashboard |
This file contains hidden or 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
# Oracle | |
export ORACLE_HOME=~/bin/oracle/instantclient_11_2 | |
export PATH=$ORACLE_HOME:$PATH | |
export DYLD_LIBRARY_PATH=$ORACLE_HOME | |
export LD_LIBRARY_PATH=$ORACLE_HOME |
This file contains hidden or 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 com.github.laughingman7743.util; | |
import org.apache.commons.lang3.StringUtils; | |
import javax.servlet.http.HttpServletRequest; | |
import java.io.UnsupportedEncodingException; | |
import java.net.URLEncoder; | |
import java.util.LinkedList; | |
import java.util.List; | |
import java.util.Map; |
This file contains hidden or 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
[program:pika_asynchronous_consumer] | |
numprocs=4 | |
process_name=%(program_name)s-%(process_num)s | |
directory=/path/to/pika_asynchronous_consumer.py | |
command=python pika_asynchronous_consumer.py -s YOUR_MQ_HOST1 YOUR_MQ_HOST2 -p YOUR_MQ_PORT -q YOUR_QUEUE_NAME | |
autostart=true | |
autorestart=true | |
user=YOUR_USER | |
redirect_stderr=true | |
stdout_logfile=/path/to/%(program_name)s-%(process_num)s.log |
This file contains hidden or 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
play { | |
akka { | |
event-handlers = ["akka.event.slf4j.Slf4jEventHandler"] | |
loglevel = WARNING | |
actor { | |
deployment { | |
/actions { |
This file contains hidden or 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
set GDAL_DATA=C:\OSGeo4W\share\gdal | |
C:\OSGeo4W\bin\ogr2ogr -lco "ENCODING=UTF-8" -f "PostgreSQL" PG:"host=xxx.yyy.zzz.us-west-2.rds.amazonaws.com port=5432 dbname=YOUR_DBNAME user=YOUR_USER" "D:\path\to\YOUR_GDB_FILE.gdb" "YOUR_GDB_LAYER_NAME" -overwrite -a_srs "EPSG:4326" -nln YOUR_TABLE_NAME |
This file contains hidden or 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
select generate_series(1, 100); | |
select generate_series(1, 100, 2); |
This file contains hidden or 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"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<!-- | |
https://raw.githubusercontent.com/wzssyqa/language-selector-im-config/master/fontconfig/69-language-selector-ja-jp.conf | |
--> | |
<fontconfig> | |
<!-- Japanese (ja) --> | |
<match target="pattern"> | |
<test qual="any" name="family"> | |
<string>serif</string> |
This file contains hidden or 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
select | |
cast(use2.usename as varchar(50)) as owner, | |
pgc.oid, | |
trim(pgdb.datname) as Database, | |
trim(pgn.nspname) as Schema, | |
trim(a.name) as Table, | |
b.mbytes, | |
a.rows | |
from | |
(select db_id, id, name, sum(rows) as rows |
This file contains hidden or 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
[program:YOUR_PLAY_APP] | |
process_name=%(program_name)s | |
directory=/path/to/YOUR_PLAY_APP | |
command=/bin/bash -c "ulimit -n 10240; exec universal/stage/bin/YOUR_PLAY_APP_NAME -Dhttp.port=9000 -Dconfig.file=/path/to/YOUR_PLAY_APP/universal/stage/conf/application.prod.conf -Dpidfile.path=/dev/null" | |
autostart=true | |
autorestart=true | |
user=YOUR_APP_USER | |
redirect_stderr=true | |
stdout_logfile=/path/to/YOUR_LOG_DIR/%(program_name)s.log | |
stdout_logfile_maxbytes=10MB |