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
//LAN | |
#include <Ethernet.h> | |
#include <SPI.h> | |
//DHTsernser | |
#include <DHT.h> | |
/*//////////////////////////// | |
* LANシールド | |
* 4, 10, 11, 12, 13 | |
* LAN: 10 |
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
# | |
#bitly | |
a @ 67.199.248.12 | |
#サブドメインでやるならこっち | |
#cname b cname.bitly.com |
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
////////////////////////////////////// | |
//Zinntikumugai_Push7_Widget | |
//another: zinntikumugai | |
//ver 1.0 | |
////////////////////////////////////// | |
class Zinntikumugai_Push7_Widget extends WP_Widget { | |
function __construct() { | |
$widget_ops = array ( | |
'classname' => 'zinntikumugai_push7_widget', |
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 | |
function getService() { | |
// Creates and returns the Analytics service object. | |
// Load the Google API PHP Client Library. | |
// https://github.com/google/google-api-php-client/tree/v1-master | |
require 'google-api-php-client/src/Google/autoload.php'; | |
// Use the developers console and replace the values with your |
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
<p> | |
アクセス数: <b id="AccessCounter"> 読み込み中 </b> PV<br> | |
ユーザー数: <b id="UserCounter"> 読み込み中 </b> 人 | |
</p> | |
<p> | |
Google Analytics APIを使用しています。約1時間で更新しています。 | |
</p> | |
<script> | |
/*$(function() { | |
$('#AccessCounter').load('http://www.zinntikumugai.com/PHPTool/ac'); |
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 | |
/* Minecraft skin version 1.8.x用を 1.7.xに変換する(細かいことは気にするなver) */ | |
//画像ファイルパス | |
$imgurl = './baseimage.png'; | |
//画像の読み込み(PNG) | |
$image = imagecreatefrompng($imgurl); | |
//失敗したら終了 | |
if( !$image ) { |
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 | |
CPUMinerPATH='/home/user/cpuminer-multi/' | |
CPUMiner='cpuminer' | |
MinerAlgorithm='lyra2rev2' | |
MinerPoolURL='stratum+tcp://example.net:8888' | |
MinerUserANDWokerName='UserName.WokerName' | |
MienrWokerPass='WokerName' |
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
#include <Wire.h> | |
int cnt = 0; | |
void setup() { | |
Wire.begin(); //Masterで起動 | |
Serial.begin(9600); | |
Serial.println(""); | |
} | |
void loop() { | |
Wire.requestFrom(8, 1); //ID:8のSlaveに1Byteリクエスト |
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
void setup() { | |
Serial.begin(9600); | |
Serial.println("0"); | |
//Serial.println('0'); | |
//Serial.println(0); | |
//Serial.println(); | |
//Serial.print(' '); | |
} | |
void loop() { | |
} |
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
/* | |
* UdpNtpClientV1 | |
*/ | |
#include <SPI.h> | |
#include <Ethernet.h> | |
#include <EthernetUdp.h> | |
/* | |
* LANシールド | |
* 4, 10, 11, 12, 13 | |
* SPI: 11, 12, 13 |
OlderNewer