所得税額 = (所得金額(A) - 所得控除額(B)) × 税率 - 税額控除額(C)
- 「所得金額(A)- 所得控除額(B)」は 課税所得金額 といい、1,000円未満の端数を切り捨てる。
# | |
# page_ref.rb - Tags to refer the page by ID which be assigned to. | |
# | |
# USAGE: | |
# | |
# 1. Add page_id property to assign ID in YAML Header of target page. | |
# | |
# page_id: some-page-id | |
# | |
# 2. Add tags in other pages or posts, those will be expanded... |
#!/usr/bin/ruby | |
# | |
# nex6-capture.rb - sample program for Sony NEX-6 (Smart Remocon App) | |
# | |
require "socket" | |
require 'json' | |
require "pp" | |
require "open-uri" | |
$host = "192.168.122.1" |
static void beep(unsigned int ms, unsigned int freq) | |
{ | |
int fd, arg; | |
fd = open("/dev/console", O_RDWR); | |
if (fd < 0) { | |
perror(strerror(errno)); | |
return; | |
} | |
arg = (ms << 16) | freq; |
package main | |
import ( | |
"bufio" | |
"errors" | |
"io" | |
"log" | |
"net" | |
"net/http" | |
"net/url" |
更新: | 2013-09-28 |
---|---|
バージョン: | 0.0.9 |
作者: | @voluntas |
URL: | http://voluntas.github.io/ |
Django + Elasticsearch コトハジメの補足記事です
http://ameblo.jp/principia-ca/entry-11573342807.html
# Clickpad Control | |
# | |
description "Clickpad initialize for Thinkpad's TrackPoint" | |
start on starting xsession-init and started dbus | |
pre-start script | |
synclient PalmDetect=1 | |
# use with: `xinput list "SynPS/2 Synaptics TouchPad" |grep Range ` |
import os | |
import json | |
import httplib | |
import time | |
VERSION = "0.1.0" | |
class ClientSession: | |
def __init__(self, server, user, source=None, catalog=None, schema=None, debug=False): | |
self.server = server |