Open in app

Sign In

Write

Sign In

Adam00
Adam00

79 Followers

Home

About

Pinned

Cucumber for Javascript

Notes on tutorials of Cucumber School — The focus on cucumber is in BDD style. It emphaizes on nontechnical documentation with code support for verification. Code examples are from Cucumber School. 1. Use Cucumber Expression rather than Regular Expression It is more intuitive to non-programmers. (?:I/You) have {int} cucumber(s) in my belly/stomach \(amazing!) # {int} - type (int, float, word, string, and {} as any # (s)…

Cucumber

3 min read

Cucumber

3 min read


Pinned

5 things you need to remember in Elixir

Single quotes vs double quotes A lot of modern programming languages, like ruby, javascript and python, will treat'string' the same as"string" . In Elixir, however, it is not the case > 'string' == "string" false > IEx.Info.info('string') ... {"Data type", "List"} ... > IEx.Info.info("string") ... {"Data type", "BitString"} ... 2…

Elixir

1 min read

Elixir

1 min read


Sep 28, 2021

Hotwire — Turbo + Stimulus + Strada

HTML Over The Wire | Hotwire Hotwire is an alternative approach to building modern web applications without using much JavaScript by sending HTML…hotwired.dev Hotwire is the latest technology stack Basecamp announced based on Rails. It aims to provide a collection of tools for developers to build an interactive, real-time application, while you do not have to build a separate frontend application (SPA).

Rails

1 min read

Rails

1 min read


Sep 11, 2021

How to install elixir and erlang in RPI

The official guide in elixir site is not up-to-date. Install Erlang (extract from https://elinux.org/Erlang) sudo apt-get update sudo apt-get install wget sudo apt-get install libssl-dev sudo apt-get install ncurses-dev wget http://www.erlang.org/download/otp_src_24.0.tar.gz tar -xzvf otp_src_24.0.tar.gz cd otp_src_24.0/ ./configure make sudo make install cd .. rm otp_src_24.0.tar.gz sudo rm -R otp_src_24.0/

1 min read

1 min read


Oct 1, 2020

Sinatra Recipes Online

Since there is no online version of Sinatra Recipes available to public right now. I try to host one on Heroku. The source code should be in sync to the original repo. Sinatra Recipes Community contributed recipes and techniques for the Sinatra Web Framework. Quite simply, the Sinatra README and Book…sinatra-receipes.herokuapp.com

1 min read

1 min read


Aug 21, 2020

How to set up your headless Raspberry pi 4 (for MasOS)

It is pretty clumsy to connect monitor, mouse and keyboard for just setting up raspberrypi. Here is the way to avoid it. Set up Raspberry OS, wifi and ssh support Download Raspberry Pi Imager 2. Run Raspberry Pi Imager

Raspberry Pi

2 min read

How to set up your headless Raspberry pi
How to set up your headless Raspberry pi
Raspberry Pi

2 min read


May 29, 2020

Postgres 書單 技術文

How to start It's never too late to learn Postgres · Ruby China 最近, TimescaleDB、 PipelineDB、 CitusDB 相继都成为了 postgres extension,并且都达到了 production ready 状态。这让 Postgres…ruby-china.org 德哥的PostgreSQL私房菜 - 史上最屌PG资料合集_git_weixin_34318272的博客-CSDN博客 看完并理解这些文章,相信你会和我一样爱上PostgreSQL,并成为一名PostgreSQL的布道者。 资料不断更新中... ...blog.csdn.net Website SQL Indexing and Tuning e-Book for developers: Use The Index, Luke covers Oracle, MySQL… A site explaining SQL indexing to developers-no crap about administration. SQL indexing is the most effective tuning…use-the-index-luke.com

2 min read

2 min read


Published in 實用的RubyGems

·Apr 28, 2020

Derailed Benchmarks — 監察系統如何分配記憶體

Ruby on Rails追求開發追度,提供各種組件予開發員直接使用。龐大既組件嚴重佔用系統的記憶體,稍一不慎,會拖慢原本效率已經非常一般的系統。 解決方法不外乎加強軟件配置,或者是改善系統代碼的質素。 改善代碼需要的知識很多,垃圾處理,何時製造物件,需要非常悉識各種方法。 GitHub Gem專頁 schneems/derailed_benchmarks derailed_benchmarks — Go faster, off the Rails — Benchmarks for your whole Rails appgithub.com 設定 (1) 安裝Derailed Benchmarks $ bundle add derailed_benchmarks stackprof --group "development" 完成! 使用 執行以下指令檢查gem使用了多少記憶體。 $ derailed bundle:mem

2 min read

2 min read


Mar 4, 2020

Shape up (Unedited)

Shape Up: Stop Running in Circles and Ship Work that Matters Shape Up is for product development teams who struggle to ship. Full of eye-opening insights, Shape Up will help you…basecamp.com Execution is not always everything. A team needs to care about people as well. A wrong project work can lead to: destroy morale grind teams down erode trust crunch gears wreck the machinery of long-term progress

1 min read

1 min read


May 18, 2019

Redis簡要

1.1 Redis是什麼? Redis是一個數據庫。以特定的鍵來存取資料。 1.2 官方網站

Redis

2 min read

Redis簡要
Redis簡要
Redis

2 min read

Adam00

Adam00

79 Followers

Let's go invent tomorrow instead of worrying about what happened yesterday.

Following
  • Manning Publications

    Manning Publications

  • 信報財經新聞

    信報財經新聞

  • Park Sehun

    Park Sehun

  • 史兄

    史兄

  • Cheng-Wei Hu | 胡程維

    Cheng-Wei Hu | 胡程維

See all (121)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech