- 30年間でいろいろな言語でソフトウェアの開発を行った。
- アセンブラ(オフプロドライバ)
- C言語(PC&ガラケーのフロント/エンド)
- VisualBasic(WindowsPCのアプリ)
- PHP(社内イントラネット)
- SQL, PL/SQL(社内イントラネット)
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | |
<meta http-equiv="Content-Security-Policy" content="default-src * data: gap: content: https://ssl.gstatic.com; style-src * 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval'"> | |
<script src="components/loader.js"></script> | |
<link rel="stylesheet" href="components/loader.css"> | |
<link rel="stylesheet" href="css/style.css"> | |
<script> |
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
public int [] ex4_8(int [] a, int idx, int n){ | |
int num[] = new int[idx]; | |
ArrayList<Integer> hoge = new ArrayList<Integer>(); | |
for(int i=0;i<= a.length-1;i++){ | |
hoge.add(a[i]); | |
} | |
// | |
for(int j= idx;j< n+idx;j++){ | |
if (idx != n) { |
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
/** | |
* | |
* @param a - 整数型の配列 | |
* @param idx - 削除の開始の添字 | |
* @param n - 削除する要素数 | |
* @return | |
* 配列aのidxの位置からn個の要素を削除した配列を | |
* 返す | |
* 但し、削除できない場合は元の配列を返す | |
*/ |
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
sudo find /var/ -type f -exec du \{\} \; | sort -nr | head -n 5 |
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 | |
thisyear=$(date '+%Y') # 今年の年 | |
birthday=$(date -d "${thisyear}${1}" '+%s') # 今年の誕生日のエポック | |
today=$(date '+%s') # 本日のエポック | |
if [ "$birthday" -gt "$today" ]; then | |
echo $(((birthday - today) / (60*60*24) + 1)) | |
elif [ $(date '+%m%d') = "${1}" ]; then |
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
drop procedure if exists tb1X; | |
delimiter // | |
create procedure tb1X(in x varchar(100)) | |
begin | |
set @s = concat('drop table if exists `', x ,'`'); | |
prepare stmt from @s; | |
execute stmt; | |
deallocate prepare stmt; |
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
; | |
; Android WinUsb driver installation. | |
; | |
[Version] | |
Signature = "$Windows NT$" | |
Class = AndroidUsbDeviceClass | |
ClassGuid = {3F966BD9-FA04-4ec5-991C-D326973B5128} | |
Provider = %ProviderName% | |
DriverVer = 08/28/2014,11.0.0000.00000 | |
CatalogFile.NTx86 = androidwinusb86.cat |
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'?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one or more | |
contributor license agreements. See the NOTICE file distributed with | |
this work for additional information regarding copyright ownership. | |
The ASF licenses this file to You 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 |
NewerOlder