Skip to content

Instantly share code, notes, and snippets.

Norio Suzuki nosuz

  • Kobe, Japan
Block or report user

Report or block nosuz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View rec-radio.sh
#!/bin/bash
music_dir="$HOME/Music"
folder="Radio"
logfile="$HOME/log/rec-radio.log"
# Ref.
# https://gist.github.com/riocampos/5656450
# http://wordpress.honobono-life.info/code/bash%E3%81%A7%E3%83%91%E3%82%BF%E3%83%BC%E3%83%B3%E3%83%9E%E3%83%83%E3%83%81%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E6%9D%A1%E4%BB%B6%E8%A9%95%E4%BE%A1/
@nosuz
nosuz / wp-post.html
Last active Jun 7, 2016
Access WorsPress REST API with OAuth authorization sample.
View wp-post.html
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8"/>
{% if article is empty %}
<title>WordPress: Post New</title>
{% else %}
<title>WordPress: Update Post</title>
{% endif %}
</head>
@nosuz
nosuz / get-oauth-toke.php
Created Jun 2, 2016
This is PHP program to get OAuth token for WordPress REST API.
View get-oauth-toke.php
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8"/>
<title>Get WordPress OAuth Token</title>
</head>
<body>
<?php
require_once('HTTP/OAuth/Consumer.php');
session_start();
View bom2excel.rb
#!/usr/bin/ruby
#require 'csv'
require 'axlsx'
require 'rexml/document'
Component = Struct.new(:item, :ref, :value, :footprint)
Order = Struct.new(:item, :value, :footprint, :count)
xml_file = File.expand_path(ARGV[0])
You can’t perform that action at this time.