Skip to content

Instantly share code, notes, and snippets.

View uhfx's full-sized avatar

Maru uhfx

  • Daikin Industries, Ltd.
  • Osaka, Japan
  • 11:52 (UTC +09:00)
View GitHub Profile
\section{November 27th, 2020}
\subsection{前回のミーティングでの話}
11月20日に実施されたミーティングでは以下のような話をを阿多先生から頂いた.
\begin{itemize}
\item 機械学習を勉強する.
\begin{itemize}
\item 言語はPythonを用いる.理由はライブラリが豊富であるため.
\end{itemize}
\item 本学に寄せられた問い合わせを閲覧する.
\begin{itemize}
@uhfx
uhfx / tic-tac-toe.ino
Last active January 14, 2019 14:11
2018 Logic Design
/**********************************************************/
/* LEDの点灯,消灯プログラムは以下のサイトを参考にした. */
/* http://tsukutta.hatenablog.com/entry/2013/05/30/150231 */
/**********************************************************/
const int rl[9] = { 22,26,32,36,42,46,52,56,60 }; // 赤色LEDのピンの定義
const int bl[9] = { 23,27,33,37,43,47,53,57,61 }; // 青色LEDのピンの定義
const int rs[9] = { 24,28,34,38,44,48,54,58,62 }; // 赤色スイッチのピンの定義
const int bs[9] = { 25,29,35,39,45,49,55,59,63 }; // 青色スイッチのピンの定義
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
#include<time.h>
int main(void)
{
double x, y, z, z_max, x_max, y_max;
srand((unsigned int) time(NULL));
int i;
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
<style type="text/css">
.auto-style1 { text-align: center; font-family: "Meiryo UI", "MS UI Gothic", sans-serif; font-weight: bold; font-size: xx-large; color: #333333; margin-bottom: 27px; } .auto-style2 { font-family: "Meiryo UI", "MS UI Gothic", sans-serif; font-size: medium; color: #808080; text-align: center; } .auto-style3 { margin-top: 42px; }
</style>
</head>
<body style="background-color: #FFFFFF; text-align: center;">
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<html lang="ja">
<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">
<title>携帯電話の電波方式</title>
<style type="text/css">
.bg {
background-image: url(poke_fild5b.gif);
@uhfx
uhfx / sosu.c
Last active December 27, 2015 18:49
【超高速】素数を求めるプログラム
#include <stdio.h>
#include <math.h>
int main(void)
{
int i,j,k;
printf("2 "); //あらかじめ2を書いておくという手法
for(i=10;i<=100;i+=2) //ここのiの値と10000の値をいじれば変わる
@uhfx
uhfx / sosu.c
Created November 8, 2013 15:30
【超低速】素数を求めるプログラム 範囲を指定できる
#include <stdio.h>
int main(void)
{
int m, n, is_prime, i, num = 0;
scanf("%d", &m);
scanf("%d", &n);
for( num = m; num < n+1 ; num++ ){
is_prime = 1; /* num が変わるごとに再初期化しましょう */
for( i = 2; i< num+1 ; i++){
@uhfx
uhfx / main2.java
Created August 31, 2013 16:47
このsource死んでるけどACは使えるで
package net.uhfx.calculator;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.widget.TextView;
public class Main extends Activity {