ヨルシカ - パレード (MUSIC VIDEO)

Mar 19, 2019, 1 min read

Category music

Tags

<html lang="...">

Mar 6, 2019, 1 min read

今天看了 Yu-Shuan 謝小徹 的 blog ,非常的有內容,網站也非常的漂亮,在 Windows 下的中文字體並不是用 新細明體 ,看起來非常的舒服,我就很好奇到底到底是用了什麼字型, 不看還好,看了嚇一跳。 當我把所有的 關掉,甚至是取消 的引入自行還是一樣好看。這怎麼可能!所以 取消掉後跑出來的應該是新細明體啊!最後慢慢查找後發現兇手竟然是 : 今天第一次知道,在當 時,顯示的字型是 ,反之則為 ,原本以為新細明體是 Windows 避不掉的痛,結果意外發現不錯的事情。共勉之。 read more

Category web

Tags wtf

Post by Netlify CMS

Jan 22, 2019, 1 min read

Please Success! Prove me! Location changed? Should it appear? read more

Category Daliy

Tags daliy

Developing games by Unity VScode in Archlinux

Nov 1, 2018, 1 min read

Installation Setup: VScode Install Vscode C# extension Setup Unity Setup external script editor Let’s Coding! everything fine read more

Category tech

Tags unity, vscode, archlinux

如何在 react 的數字 input 加入逗號

Sep 7, 2018, 1 min read

Category react

Tags react, js

Leetcode.js: Increasing Triplet Subsequence

May 21, 2018, 1 min read

Leetcode : Problem link 最直觀就是用 dp,maxIncreasing 是一個一維陣列, maxIncreasing i 表示 nums 0…i 最長的遞增子序列的長度。 那 maxIncreasing i = max(maxIncreasing j + 1),j = 0 … i。 ex: 一旦發現 maxIncreasing i >= 3 就回傳 true。 但是麼做複雜度是 ,實際上 leetcode 的結果也只有 。 以下是實際的 code。 比較好的做法是宣告 a, b, c 三個變數,要找三個數字使得 a < b < c,他們就是答案。 在 i… read more

Category leetcode.js

Tags leetcode, js

Leetcode.js: Longest Palindromic Substring

May 20, 2018, 2 min read

Given a string s , find the longest palindromic substring in s . You may assume that the maximum length of s is 1000. Example 1: Example 2: Explaining: 最直觀的方法就是從最長的開始往下算, 假設 s = ,就從長度是 5, 4, 3 … 找到長度是 3 有回文 找到後就 return 但是這個作法複雜度是 會 超時 。 實做在下方 比較好的方法是使用 Manacher’s 演算法 概念就是用一個陣列 z,z i… read more

Category leetcode.js

Tags leetcode, js

WTF is JSX

May 19, 2018, 4 min read

這篇的切入點是給有學過或用過 React 的大家,接下來希望能提供一系列環繞 React 的教學文。 也是本人在深入學習 React 相關繼續的紀錄。 Overview 本篇會實做 and 兩個 function 來了解 jsx。 大家在寫 React 一定脫離不了 Babel, 基本上就是直接使用 包含所有的 Feature。 但是, 我們不一樣! 要用就要用最 差 的,只拿我們用得到的。 扒開 JSX 的皮吧! 預設的 JSX transform 到底做了什麼? 先定義 我們來一步一步拆解,用一些簡單的 jsx… read more

Category react

Tags babel, react, js

Babel Plugin Syntax vs Transform ?

May 19, 2018, 1 min read

在寫 WTF is JSX 的時候比較了一下下面兩個 Plugin vs ? 只提供讓 babel 認得 jsx syntax 不提供轉換 包含 syntax 的轉換 意思是如果現在有段 code , 都不使用 使用 使用 read more

Category react

Tags babel, react, js

Leetcode.js: Longest Substring Without Repeating Characters

May 19, 2018, 1 min read

Given a string, find the length of the longest substring without repeating characters. Examples: Given , the answer is , which the length is 3. Given , the answer is , with the length of 1. Given , the answer is , with the length of 3. Note that the answer must be a substring , is a… read more

Category leetcode.js

Tags leetcode, js

Leetcode.js: Divide Two Integers

Apr 17, 2018, 1 min read

Given two integers and , divide two integers without using multiplication, division and mod operator. Return the quotient after dividing by . Example 1: Example 2: Note: Both dividend and divisor will be 32-bit signed integers. The divisor will never be 0. Assume we are dealing with an… read more

Category leetcode.js

Tags leetcode, js

Leetcode.js: Merge Two Sorted Lists

Apr 16, 2018, 1 min read

Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. Example: Solution: read more

Category leetcode.js

Tags leetcode, js

Project 100-react

Jul 23, 2017, 1 min read

100-react 100個 練習 =D Feature Testing Copy-link-file read more

Category Tech

Tags js, react

本站第一篇

Jul 22, 2017, 1 min read

Hello I’m Lego 本站的第一篇 不知道寫什麼 就來聽一首歌吧 以後希望本站朝技術導向走 可以寫些關於 相關的文章 read more

Category daily

Tags Hello, World