Skip to content

Instantly share code, notes, and snippets.

View vikbert's full-sized avatar

Xun Zhou vikbert

View GitHub Profile
@vikbert
vikbert / chrome.MD
Last active May 2, 2024 02:26
[chrome plugin] chrome plugin and extensions

Plugins used

# simple english dict
youdao chrome

@vikbert
vikbert / coding.MD
Last active February 8, 2019 16:38
[coding guideline] coding guideline, coding convention
@vikbert
vikbert / phpstorm.md
Last active April 6, 2019 07:13
[phpstorm] config for phpstorm

config files

read more

cd /Users/xzhou/Library/Preferences/PhpStorm2018.2
vi phpstorm.vmoptions

PHPstorm log

tail -f /Users/xzhou/Library/Logs/PhpStorm2018.2/idea.log
@vikbert
vikbert / gitkraken.md
Created November 20, 2018 18:09
[gitkraken] Gitkraken mac client #git

soloing branch

If you want to see just the commits for a specific branch, use the soloing function.

fuzzy find

Use GitKraken’s fuzzy finder to quickly open a repo, view file history, and more.

pull remote branch

Pull any branch, even if it isn’t checked out. Just select “Pull” in the branch actions context menu (you can also push the branch the same way).

@vikbert
vikbert / blog.MD
Last active October 13, 2018 12:51
[blog] Everything about daily blogging #blog #note
@vikbert
vikbert / tdd.md
Created October 7, 2018 22:21
[tdd] test driven development #test, #tdd

TDD & BDD

  • A test-case per class approach fails to capture the ethos for TDD
  • adding a new class is not the trigger for writing tests
  • the tigger is implementing a requirement
  • test the public API only
  • it is NOT be confused with the classical unit test definition of targeting a module
  • we avoid file system, database, simple because these shared fixture elements prevent us running in isolation from other tests, or cause our tests to be slow.
  • explicitly writing a test that target a method on a class is not a TDD developer test.
@vikbert
vikbert / slide.md
Created October 4, 2018 07:02
[slide] info about js slide #slide, #slides

slides

slideous

slidy

dzslides

revealjs

@vikbert
vikbert / ebook.md
Last active October 3, 2018 12:12
[ebook] all about ebook #ebook, #epub, #mobi, #md

eBook

Markdown

is a writing format, not a publishing format.

eBook Format

there are two main formats for ebook:

  • epub
  • mobi
@vikbert
vikbert / dart_flutter.MD
Last active September 11, 2018 21:16
[dart+flutter] all info about dart and flutter #flutter, #dart
@vikbert
vikbert / ddd.MD
Last active March 11, 2019 10:09
[DDD] DDD #ddd, #symfony

DDD Tutorial in PluralSight

Tutorial: clena Architecture: patterns, practices, and principles

recommended websites:

  • Martin Fowler: martinfowler.com
  • Greg Young goodenoughsoftware.net
  • Udi Dahan: udidahan.com
  • Matthew Renze: matthewrenze.com