CSS Example
# Calculator
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758<!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8" /> <meta...
more...
CSS
# Font
# Units
单位
含义
px
一个像素点,1920 x 1080
em
相对父容器的 font-size 的倍数
rem
相对根元素 (html) font-size 的倍数
vw/vh
相对 viewport width/height 的百分比,100vw, 100% 视口宽度
vmin/vmax
相对荧幕较短的一边 / 较长的一边 (一般用于手机横竖屏)
em,第一层 div 的 font-size 是 body font-size 的两倍,即 20px,第二层 div font-size 是第一层的两倍,即 40px, 第三层 div font-size...
more...
Forget NodeJS! Build native TypeScript applications with Deno
转载:Forget NodeJS! Build native TypeScript applications with Deno 🦖 | Technorage
Have you heard of Deno? If not you should check it out. Deno is a modern JavaScript/TypeScript runtime & scripting environment. Deno is what NodeJS should have been according to Ryan Dahl who created NodeJS....
more...
A Simple Makefile Tutorial
repost: A Simple Makefile Tutorial
Makefiles are a simple way to organize code compilation. This tutorial does not even scratch the surface of what is possible using make, but is intended as a starters guide so that you can quickly and easily create your own makefiles for small to medium-sized...
more...
The C compilation process
repost: The C compilation process - Codeforwin
In the series of C tutorial we learned some basic of C programming language, configured C compiler and learned to compile and execute C program.
Since the compilation and execution of first C program, I must answer few questions before moving ahead....
more...
Build a Web Crawler in Go
转载:Build a Web Crawler in Go
One of the basic tests I use to try out a new programming language is building a web crawler. I stole the idea from my colleague Mike Lewis and I love it because it uses all the principles necessary in internet engineering: A web crawler needs to parse semi-structured...
more...
Go Question
# go package
1> package 可以和目录名不一致
2> main func 必须在 main package 里
3> gopath 可以有多个,例如 D:\study\go;C:\Users\11435\Desktop\practice\go , go 会按照 gopath 查找...
more...
Go Read File To Mysql
读取文件的每一行到 mysql 的 memo 栏位
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107package mainimport...
more...









