Skip to content

Instantly share code, notes, and snippets.

@naniwaKun
naniwaKun / man.tex
Created January 23, 2017 05:35
中間発表のやり方 ref.http://cfw4.dip.jp/wordpress/56
\documentclass[slide]{beamer}
\usepackage{apalike}
\usepackage{luatexja}
%\usepackage[hiragino-pro]{luatexja-preset}
\usepackage[ipa]{luatexja-preset}
%%%% 見た目の設定
\usetheme{Pittsburgh}
\setbeamertemplate{frametitle}[default][center]
\setbeamertemplate{navigation symbols}{}
@naniwaKun
naniwaKun / wordpress.conf
Last active March 9, 2017 04:05
nginxのwordpressのマトリョーシカ設定 ref.http://cfw4.tk/wordpress/500
server {
 listen 80;
 server_name domain;
 charset UTF-8;
 index index.php index.html index.htm;
 root /公開パス;
 try_files $uri $uri/ /index.php?q=$uri&$args;
 location ~ \.php$ {
  root /公開パス;
  fastcgi_pass 環境に合わせて書く;
@naniwaKun
naniwaKun / main.js
Last active March 9, 2017 10:36
GoogleChromeを使って1分でツイキャスのコメントを読み上げるTips。 ref: http://qiita.com/naniwaKun/items/0b5f7028964acf618f96
var user_id = "自分のユーザーID";
function yomiyomi(text){
var synthes = new SpeechSynthesisUtterance();
synthes.voiceURI = 'native';
synthes.volume = 0.3;
synthes.rate = 1.3;
synthes.pitch = 1;
synthes.text = text;
synthes.lang = 'ja-JP';