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
;; | |
;; for migemo -- migemo 最高 | |
;; | |
(if (equal (call-process-shell-command "which cmigemo" nil t) 0) | |
(progn | |
(require 'migemo) | |
;; (load "migemo.el") | |
;; (setq migemo-use-pattern-alist t) | |
;; (setq migemo-use-frequent-pattern-alist t) | |
(setq migemo-command "cmigemo") |
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
javascript:window.location='yorufukurou://pasteurl/'+encodeURIComponent(document.title+'%20'+window.location); |
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
checking dynamic linker characteristics... GNU/Linux ld.so | |
checking how to hardcode library paths into programs... immediate | |
checking for shl_load... no | |
checking for shl_load in -ldld... no | |
checking for dlopen... no | |
checking for dlopen in -ldl... yes | |
checking whether a program can dlopen itself... yes | |
checking whether a statically linked program can dlopen itself... no | |
checking whether stripping libraries is possible... yes | |
checking if libtool supports shared libraries... yes |
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
OpenGL vendor string: VMware, Inc. | |
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.3, 128 bits) | |
OpenGL version string: 2.1 Mesa 9.2.1 | |
OpenGL shading language version string: 1.30 | |
OpenGL extensions: |
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
using UnityEngine; | |
using System.Collections; | |
public class AudioManager : SingletonMonoBehaviour<AudioManager> { | |
AudioClip bgm_Game; | |
AudioClip se_Tanpopo; | |
private const int source_bgm_Game = 0; | |
private const int maxAudio = 10; |
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
#!/bin/sh | |
wget https://mecab.googlecode.com/files/mecab-ruby-0.996.tar.gz | |
tar xvf mecab-ruby-0.996.tar.gz | |
cd mecab-ruby-0.996 | |
gem build mecab-ruby.gemspec | |
gem install mecab-ruby |
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
for f in n.n.n.{1..255} | |
do | |
wget --spider --timeout=0.02 --tries=1 http://$f/ > /dev/null 2>&1 | |
if [ $? -eq 0 ]; then | |
echo $f | |
fi | |
done |
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
2014-08-26 22:06:35.371 CocoaSplit[315:3003] IN COMPRESSOR SETUP | |
[libx264 @ 0x7fd96b040400] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX | |
[libx264 @ 0x7fd96b040400] profile Main, level 3.0 | |
[libx264 @ 0x7fd96b040400] 264 - core 135 r2274 c832fe9 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0x1 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=60 keyint_min=6 scenecut=40 intra_refresh=0 rc_lookahead=0 rc=cbr mbtree=0 bitrate=1000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=1000 vbv_bufsize=1000 nal_hrd=cbr ip_ratio=1.40 pb_ratio=1.30 aq=1:1.00 | |
2014-08-26 22:06:36.007 CocoaSplit[315:25247] ATTACHING OUTPUT | |
20 |
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
desc "Prints out your Rack middleware stack" | |
task :middleware do | |
require 'rack' | |
options = { config: "config.ru", environment: ENV["RACK_ENV"] || "development" } | |
app = Rack::Server.new(options).send(:wrapped_app) | |
app.tap do |mw| | |
while mw | |
if mw.class == Class #&& mw.superclass == Sinatra::Base | |
puts "--- (#{mw} within) ---" | |
mw = mw.new |
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
$('iframe') | |
.contents() | |
.find('.videoList') | |
.find("a[href *= '/recorded/']") | |
.each(function(){ | |
var url = $(this).attr("href").replace(/\/recorded\/(.*)/, "http://tcdn.ustream.tv/video/$1"); | |
var a = $("<a>").attr({href:url}).text("Download: " + url).css("color","#38f").css("font-weight","bold"); | |
$(this).parent().append(a); | |
}) |