まだ20数年の短い人生の中でけれど今時点から振り返って僕の中の人生の転換点は大きく1つだけある。それは高卒で働いていた工場退職したタイミングだ。 工場と言うものははっきりってクソだ。いや、クソだったのは環境のせいではなくそれに何の疑問も抱くこ…
僕は今大阪行きのバスに乗っている。なぜ大阪行きのバスに乗っているかと言うと、ある人に会いたいからだ。 僕は今大学3年生で夏休みの中にいる。大学1年生2年生の2年間でウェブプログラミングを学んで、この夏は快適なクーラーの効いた部屋からウェブプログ…
前書き IETLS 高得点 取得ノウハウ紹介ではないので悪しからず。 俺英語めっちゃできるやん! 9/7, 9/8 僕は IELTS を受験した。 1日目は writing, reading, listening 2日目は speaking というスケジュールで行われる。 Writing を初日の 一番最初に持って…
Javascript 再入門 ふと、MDNのチュートリアル記事眺めてたら知らないことばかりだったのでまとめてみようかと思いました。 最初の方は Javascript に関係ないことが続きます。 以下からは 自分が気になったMDN の文を意訳しながら記述しています。 Web を始…
Interface Typescript の理念は 値が持つ "形" の型チェックに焦点を当てています。このことは、"ダックタイピング" や "構造部分型" などと呼ばれる。Typescript のインターフェイスはその型への名前付けの役割を果たします。 最初の Interface function pr…
なんで調べたのか Twitter の APIいじってた時に訳が分からなくなったので。 Oauth 1.0 参照先:https://tools.ietf.org/html/rfc5849#section-3 概要 OAuth は クライアント(1) にリソースオーナー(2) の代理でサーバー(3) のリソースにアクセス権限を与え…
参考: Writing an SD Card Image Using Command Line Tools on OS X RPi Easy SD Card Setup - eLinux.org 「Raspberry Pi 3」に「Ubuntu 16.04」を入れる(備忘録) - Qiita MACでOSイメージを焼く - Qiita OS イメージをダウンロード 元の ubuntu OS のバ…
ビット演算しで条件分岐する場合はこう。 (val & 1) == 0 2で割った時のあまりで条件分岐する場合はこう。 (val % 2) == 0
疑問に思うことが多いので調べなければならない。 配列とは メモリ上にある型が連続して保存さらている一つのデータの塊。 配列が定義された変数には配列の要素のポインタが保存されている。 下では char と int の配列を定義している。 定義した変数をそれ…
参照: char* vs std:string vs char[] in C++ - GeeksforGeeks Character sequences - C++ Tutorials 文字列とは 文字列は「文字の連なり」である。 char 型の要素の配列で文字列を定義することができる。 null を意味する \0 文字 によって文字列の最後が…
いい加減覚えようと思いまして、記録します。 参照: Operators - C++ Tutorials 先に結論 「++ 演算子前後の 変数の状態をインクリメントする」ということは共通で、違うのは返る値が「インクリメントされた後」なのか「インクリメントされる前」なのかの違…
ABC001 を解く c++ で解いてます。理由は先輩が c++ は最高の言語だというからです。 問題A 簡単な引き算なので省略 問題B まだできてマシェん #include <iostream> #include <sstream> using namespace std; int main() { float d; std::stringstream stream; cin >> d; d /= 1</sstream></iostream>…
ふと、printf() について気になったので調べたら知らないことがたくさんわかったのでメモします。 参考: printf(3): formatted output conversion - Linux man page printf() は関数で、第一引数に format charactor を受ける。% ではない普通の文字はそのま…
タイで一人旅してきました。貧乏旅のため予算を超えないように、毎日使った金額をメモしていたので予算がきになる人は参考になるかもしれません。 期間は 3/7~3/24 の18日の旅行。 最終日の 3/24 の午前1:00 に離陸しているので、実質は17日間の旅行。 使用…
level 12->13 この辺から、急にむずくなった気がする。まあ、tar の理解をしなければならないだけなんですど。 お題 The password for the next level is stored in the file data.txt, which is a hexdump of a file that has been repeatedly compressed. …
Thanks to JavaScript Bitwise Operators - YouTube When I first encountered bitwise operator. I have recently seen the script below. Note that It is not the original one. To understand the bitwise I brought and I edited a part of that. (() =…
I wrote this article to understand typescript deeply. I referred to Variable Declarations var declarations You can access var from outside to inside the containing scope. var a = 1 function f(){ console.log(a) var b = 1 } f() // => 1 You c…
Intersection Types Vocabulary Intersection : a point or line common to lines or surfaces that intersect. the intersection of a plane and a cone
I will read a handbook of Typescript Basic Types: Typescript の 基本的な型について - bitsukun75’s diary Variable Declarations: Interfaces: Classes: About Classes in Typescript - bitsukun75’s diary Functions: Generics: Enums: Type Inference…
Classes Javascript don't have classes but in Typescript we can use these. class Greeter { greeting: string; constructor(message: string) { this.greeting = message; } greet() { return "Hello, " + this.greeting; } } let greeter = new Greeter…
How language shapes the way we think Vocabulary one another: each other We use the reciprocal pronouns each other and one another when two or more people do the same thing. Traditionally, each other refers to two people and one another ref…
Mapped Types Typescript 2.1
I will write this to understand type deeply. I referred to Generics type in Typescript What is generics type? Simply speaking, it enable us to create a component that can work over a variety of types rather than a single one, so I can cons…
Gulp · TypeScript
I'm a big fan of Typescript, so I have experienced tsconfig.json file. However I didn't know what to work or how to work. I will write by referring to Migrating from javascript Setup directories I started this structure of directories whic…
Let's output Hello World with Typescript, React and Webpack I know there are a lot of articles about how to do that above, but I will write this article because I think that this article will prove how much I know. Prerequisite Node.js nee…
Working conditions in Japan | Japanese Nursing Association Vocabulary as of (from) : used to indicate the time or date from which something starts. - as from 1 January, a free market will be created midwife : a person, typically a woman, w…
5 facts about Mexico and immigration to the U.S. Vocabulary apprehend : arrest (someone) for a crime. - a warrant was issued but he has not been apprehended fiscal : relating to government revenue, especially taxes. Cubans : a native or in…
refer to www.youtube.com
Ghosts in the Machine: The Story of China’s Rural Migrants and Their Uncertain Future Vocabulary awkwardly : in a way that shows uneasy embarrassment. - Seth responded awkwardly, allowing the silence once again to settle between them despe…