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/bash | |
EXT="mp4" | |
PTAG="x264_r14f18p" | |
ATAG="fdkaac_he96ab" | |
# m2ts -> m4a | |
avconv -y -i $1 -vn -map 0:a:0 \ | |
-c:a libfdk_aac -profile:a aac_he -b:a 96k -afterburner 1 \ | |
-f mp4 $1.tmp.m4a |
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
/*jslint node:true, nomen:true, plusplus:true, regexp:true, vars:true, continue:true */ | |
'use strict'; | |
var config = require('./config.json'); | |
var dncs = config.dncs || []; | |
var dncsLength = dncs.length; | |
var util = require('util'); | |
var http = require('http'); |
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
declare module Flagrate { | |
var className: string; | |
function identity<T>(a: T): T; | |
function extendObject<T, U>(b: T, a: U): T; | |
function emptyFunction(): void; | |
/** | |
* Json Pointer Implementation. | |
* @namespace Flagrate.jsonPointer | |
**/ | |
module jsonPointer { |
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
var _Button = flagrate.Button; | |
flagrate.Button = function () { | |
var button = _Button.apply(this, arguments); | |
button.dataset.label = button._label.innerHTML; | |
button.dataset.color = button._color || ''; | |
// async support |
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 strict'; | |
var config = require('./config.json'); | |
var dncs = config.dncs || []; | |
var dncsLength = dncs.length; | |
var util = require('util'); | |
var http = require('http'); | |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration> | |
<system.webServer> | |
<handlers> | |
<add name="node-application" path="index.js" verb="*" modules="iisnode" /> | |
</handlers> | |
<rewrite> | |
<rules> | |
<rule name="node-application"> | |
<action type="Rewrite" url="index.js" /> |
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 | |
### BEGIN INIT INFO | |
# Provides: sshd | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: | |
# Short-Description: OpenBSD Secure Shell server | |
### END INIT INFO |
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
nameserver 4.2.2.2 |
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/bash | |
ATAG="fdkaac-he96ab" | |
# BDAV MPEG-2 TS something audio -> HE-AAC v1 audio in MPEG-4 | |
avconv -y -i $1 \ | |
-c:a libfdk_aac -profile:a aac_he -b:a 96k -afterburner 1 \ | |
-f mp4 $1.$ATAG.mp4 | |
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
<?php | |
include('./init.php'); | |
if(!$_SESSION['user']) exit('login.'); | |
/* tweet text */ | |
$A[] = 'ブブ'; | |
$A[] = 'ブー'; | |
$A[] = 'ブォォオ'; | |
$A[] = 'ブォ'; |
OlderNewer