Skip to content

Instantly share code, notes, and snippets.

@mash
mash / amazon-mws.js
Created November 13, 2015 02:14
nodejs scripts to access Amazon market place API and fetch stock and sales
var request = require("request")
, crypto = require("crypto")
, querystring = require("querystring")
, assert = require("assert")
, l = require("nlogger").logger(module)
, parseString = require("xml2js").parseString
;
function Client( options ) {
var requiredKeys = [
//
// JSONCoder.swift
//
// Created by Masakazu Ohtsuka on 2015/09/14.
// Copyright © 2015年 maaash.jp. All rights reserved.
//
import Foundation
import SwiftyJSON
Freeware Advanced Audio (AAC) Decoder including SBR decoding
http://www.audiocoding.com/
FAAD2 is a HE, LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder.
FAAD2 includes code for SBR (HE AAC) decoding.
FAAD2 is licensed under the GPL.
__________
@mash
mash / gist:51e82bee2bed897c7d8e
Created June 18, 2015 01:08
post-to-spreadsheet
// https://gist.github.com/mhawksey/1276293
/*
Copyright 2011 Martin Hawksey
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@mash
mash / app.js
Last active August 29, 2015 14:15
var l = require("nlogger").logger(module),
config = require('./config'),
ifttt = require("./models/ifttt"),
Client = require("../../irkit-client/"),
irkit = new Client({
apikey : config.apikey
}),
async = require("async")
;
@mash
mash / Makefile
Created November 4, 2014 09:59
udp server sample using libuv
LIBUV_HOME := $(HOME)/src/github.com/joyent/libuv
LIBUV := $(LIBUV_HOME)/build/Release/libuv.a
INC = $(LIBUV_HOME)/include
all:
gcc -o main -I$(INC) -Wall main.c $(LIBUV)
PHONY: all
@mash
mash / gist:58c3193691aafa29baf8
Created October 1, 2014 07:14
build Open JTalk 1.07 on MacOSX Yosemite
brew install gcc
CXX=g++-4.9 CC=gcc-4.9 ./configure --with-hts-engine-header-path=/usr/local/include --with-hts-engine-library-path=/usr/local/lib --with-charset=UTF-8 --prefix=/usr/local/Cellar/open_jtalk/1.07
make
make install
@mash
mash / index.md
Created September 24, 2014 06:18

1個 → 1000個

- IRKitの例 -



2014-09-22 BLE Boot Camp
@mash
mash / Makefile
Last active August 29, 2015 14:06
OUT = ir-state.png ir-learn.png ir-send.png packer.png wifi-morse-setup.png
all: $(OUT)
.SUFFIXES: .png .gv .msc
.gv.png:
dot -Tpng $< -o $@
#include <SoftwareSerial.h>
// Not all pins on the Leonardo support change interrupts,
// so only the following can be used for RX:
// 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).
SoftwareSerial mySerial(14, 15); // RX, TX
void setup()
{
// Open serial communications and wait for port to open: