Inspector Gadget

覚書

記事を書いたら、ここからは消すこと。

CotEditor au Australia be-fr Belgique be-nl België br Brasil ca Canada (English) xf Canada (Français) cn 中国 dk Danmark de Deutschland es España fr France hk Hong Kong (English) hk-zh Hong Kong (中文) id Indonesia ie Ireland it Italia jp 日本 lu Luxembourg my Malaysia mx México nl Nederland nz New Zealand no Norge ph Philippines pt Portugal at Österreich ch-de Schweiz sg Singapore kr South Korea ch-fr Suisse fi Suomi se Sverige tw Taiwan th Thailand us United States of America uk United Kingdom vn Vietnam

算数乗法

新しくWordpressのサイトをつくる

$ mysql -p -u root
$ cp -r /home/kimi/wordpress /var/www/travel
$ cd /var/www
$ sudo chown -R www-data travel 
mysql> CREATE DATABASE travel;
mysql> quit
$ sudo su www-data
$ cp wp-config-sample.php wp-config.php
$ vi wp-config.php
/DB_NAME
define('DB_NAME', 'wordpess');
:s/wordpess/travel/
define('DB_NAME', 'travel');
:wq
http://sstxp.ee.ous.ac.jp/travel/wp-admin/install.php

欲しいソフト

MS-Windowsを使う人のために

お金を払う価値のあるシェアウェア

緑色レーザーポインタ

Softwares

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
 
int main(int argc, char *argv[]) {
	int i;
	int id, d1, d2, a[3];
	double r, h, s, v;
	if (argc < 2) {
		fprintf(stderr, "Usage: %s number\n", argv[0]);
		return -1;
	}
	id = atoi(argv[1])%100;
	d1 = id%10;
	d2 = id/10;
	printf ("T13D%03d -> d2 = %d, d1 = %d\n", id, d2, d1);
	a[0] = d2 + d1 + 1;
	a[1] = (d2 + 2)*(d1 + 2);
	if (a[0] == a[1]) {
		a[1]++;
	}
	a[2] = a[0] + a[1];
	for (i = 0; i < 3; i++) {
		r = (double) a[i]/2.0;
		h = sqrt(3.0)*r;
		s = r*h;
		v = M_PI*r*r*h/3.0;
		printf("a = %4d: S = %12.4f, V = %12.4f\n", a[i], s, v);
	}
	return 0;
}

VENUS

#include <stdio.h> #include <math.h> #define BUFFSIZE 255

int main (void) {

char buff[BUFFSIZE];
int a, b, c;
fgets (buff, BUFFSIZE, stdin);
if (sscanf (buff, "%d %d %d", &a, &b, &c) != 3) {
	printf ("Input error\n");
	return (-1);
}
if (a == 0) {
	printf ("Input error\n");
	return (-1);
}
{
	int d;
	double x1, x2;
	printf ("%d x^2 + %d x + %d = 0\n", a, b, c);
	d = b*b -4*a*c;
	if (d > 0) {
		x1 = (-b + sqrt(d))/(2*a);
		x2 = (-b - sqrt(d))/(2*a);
		printf ("x = %f, %f\n", x1, x2);
	}
	else if (d == 0) {
		x1 = (double) -b/(2*a);
		printf ("x = %f\n", x1);
	}
	else {
		x1 = (double) -b/(2*a);
		x2 = sqrt(-d)/(2*a);
		printf ("x = %f + %fi, %f - %fi\n", x1, x2, x1, x2);
	}
}
return 0;

}

Mar  6 16:31:29 ssts.local kdc[169]: Got a canonicalize request for a LKDC realm from local-ipc
Mar  6 16:31:29 ssts.local kdc[169]: Asked for LKDC, but there is none
Mar  6 16:31:29 ssts.local kdc[169]: AS-REQ mori@SSTS.LOCAL from 192.168.10.100:55121 for krbtgt/SSTS.LOCAL@SSTS.LOCAL
Mar  6 16:31:29 --- last message repeated 1 time ---
Mar  6 16:31:29 ssts.local kdc[169]: Client sent patypes: REQ-ENC-PA-REP
Mar  6 16:31:29 ssts.local kdc[169]: Need to use PA-ENC-TIMESTAMP/PA-PK-AS-REQ
Mar  6 16:31:29 ssts.local kdc[169]: AS-REQ mori@SSTS.LOCAL from 192.168.10.100:52421 for krbtgt/SSTS.LOCAL@SSTS.LOCAL
Mar  6 16:31:29 --- last message repeated 1 time ---
Mar  6 16:31:29 ssts.local kdc[169]: Client sent patypes: ENC-TS, REQ-ENC-PA-REP
Mar  6 16:31:29 ssts.local kdc[169]: ENC-TS pre-authentication succeeded -- mori@SSTS.LOCAL
Mar  6 16:31:29 ssts.local kdc[169]: Client supported enctypes: aes256-cts-hmac-sha1-96, aes128-cts-hmac-sha1-96, des3-cbc-sha1, arcfour-hmac-md5, using aes256-cts-hmac-sha1-96/aes256-cts-hmac-sha1-96
Mar  6 16:31:29 ssts.local kdc[169]: Requested flags: forwardable
Mar  6 16:31:29 ssts.local kdc[169]: TGS-REQ mori@SSTS.LOCAL from 192.168.10.100:49879 for afpserver/ssts.local@SSTS.LOCAL [canonicalize]
Mar  6 16:31:29 ssts.local kdc[169]: TGS-REQ mori@SSTS.LOCAL from 192.168.10.100:52327 for afpserver/ssts.local@SSTS.LOCAL


Mar  6 16:32:07 ssts.local kdc[169]: AS-REQ mori@SSTS.LOCAL from 192.168.10.108:49790 for krbtgt/SSTS.LOCAL@SSTS.LOCAL
Mar  6 16:32:07 --- last message repeated 1 time ---
Mar  6 16:32:07 ssts.local kdc[169]: Need to use PA-ENC-TIMESTAMP/PA-PK-AS-REQ
Mar  6 16:32:07 ssts.local kdc[169]: AS-REQ mori@SSTS.LOCAL from 192.168.10.108:57335 for krbtgt/SSTS.LOCAL@SSTS.LOCAL
Mar  6 16:32:07 --- last message repeated 1 time ---
Mar  6 16:32:07 ssts.local kdc[169]: Client sent patypes: ENC-TS
Mar  6 16:32:07 ssts.local kdc[169]: ENC-TS pre-authentication succeeded -- mori@SSTS.LOCAL
Mar  6 16:32:07 ssts.local kdc[169]: Client supported enctypes: aes256-cts-hmac-sha1-96, aes128-cts-hmac-sha1-96, des3-cbc-sha1, arcfour-hmac-md5, using aes256-cts-hmac-sha1-96/aes256-cts-hmac-sha1-96
Mar  6 16:32:07 ssts.local kdc[169]: Requested flags: forwardable
Mar  6 16:32:07 ssts.local kdc[169]: TGS-REQ mori@SSTS.LOCAL from 192.168.10.108:56223 for host/citron.local@SSTS.LOCAL [canonicalize, forwardable]
Mar  6 16:32:07 ssts.local kdc[169]: Searching referral for citron.local
Mar  6 16:32:07 ssts.local kdc[169]: Server not found in database: krbtgt/LOCAL@SSTS.LOCAL: no such entry found in hdb
Mar  6 16:32:07 ssts.local kdc[169]: Failed building TGS-REP to 192.168.10.108:56223
Mar  6 16:32:07 ssts.local kdc[169]: TGS-REQ mori@SSTS.LOCAL from 192.168.10.108:58443 for host/citron.local@SSTS.LOCAL [forwardable]
Mar  6 16:32:07 ssts.local kdc[169]: Server not found in database: host/citron.local@SSTS.LOCAL: no such entry found in hdb
Mar  6 16:32:07 ssts.local kdc[169]: Failed building TGS-REP to 192.168.10.108:58443


https://discussions.apple.com/message/23471724#23471724

playground/資材置場.txt · 最終更新: 2016/08/03 15:43 by kimi
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0