https://hack-le.com/rnas104smbup/
ffprobe -show_frames 1344947778_0.mp4
var MyService = function (a, b) { | |
console.log(a); | |
return a + b; | |
}; | |
var MyController = function ($scope, addService) { // 自動で名前解決する | |
$scope.message = "Hello world"; | |
$scope.action = function ($event) { | |
if ($scope.message.indexOf("o") > 0) { |
#ifndef __FINK_ENDIANDEV_PKG_ENDIAN_H__ | |
#define __FINK_ENDIANDEV_PKG_ENDIAN_H__ 1 | |
/** compatibility header for endian.h | |
* This is a simple compatibility shim to convert | |
* BSD/Linux endian macros to the Mac OS X equivalents. | |
* It is public domain. | |
* */ | |
#ifndef __APPLE__ |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
フレームワークとして Flask(http://flask.pocoo.org/) を、OAuth ライブラリとして oauth2(http://pypi.python.org/pypi/oauth2/) を利用したサンプルプログラムです。 | |
下のコードを保存して (oauth_consumer.py とします)、YOUR_CONSUMER_KEY, YOUR_CONSUMER_SECRET となっている部分を自分の consumer_key, consumer_secret で置き換えます。(settings.pyに保存してください) | |
$ python oauth_consumer.py | |
... で起動してから http://localhost:5000 に Web ブラウザでアクセスして下さい。 | |
+ 2015/10/25 python3用に書き換えました。 | |
""" |
# md5sumのインストール(KNPのインストールに必要) | |
brew install md5sha1sum | |
# Juman(形態素解析器)のインストール | |
# (http://quruli.ivory.ne.jp/diary/?date=20120310)通りに。 | |
mkdir juman | |
cd juman | |
curl -O http://nlp.ist.i.kyoto-u.ac.jp/nl-resource/juman/juman-7.01.tar.bz2 |
# curl等でパターンマッチしない | |
setopt nonomatch | |
# prompt | |
# LEFT | |
PROMPT='[%n]%' | |
# RIGHT | |
RPROMPT='[%d]' |
https://hack-le.com/rnas104smbup/
ffprobe -show_frames 1344947778_0.mp4
import java.net.URLEncoder.encode | |
import scala.io.Source | |
import scala.xml.{Elem, XML, PrettyPrinter} | |
object Suggest { | |
def main(args: Array[String]): Unit = { | |
val appid = args(0) | |
val sentence = args(1) | |
proof(appid, sentence) | |
} |
import java.net.URLEncoder.encode | |
import scala.io.Source | |
import scala.xml.{Elem, XML, PrettyPrinter} | |
object Suggest { | |
def main(args: Array[String]): Unit = { | |
val appid = args(0) | |
val sentence = args(1) | |
proof(appid, sentence) | |
} |