字串小豬

StringPiggy

Latest stories

輕鬆上B1的5個德文學習資源

首先聲明:這篇文章不是從零開始的神奇魔法,也不是業配文章!

前言

自己原本的程度約莫落在A2(憑感覺,非之前考過A2),想說趁想申請交換學生來考個B1。雖然最後有點衰,考過了但最後連申請書都意外送不出去(哭),就用本篇文來紀念去不了德國的遺憾吧。

從這次的經驗學到,機會都是要靠自己爭取的,不要當軟趴趴的乖學生,以為學校的行政人員會幫你。現在開始上班之後更能體會,大家都想把麻煩事推掉。

(閱讀全文…)

The Outreachy 2019 March-August Internship – The Application Process

SP-Outreachy-Application-2019-Mar-Aug

Introduction

Really excited to be accepted for the project “Debian Continuous Integration: user experience improvements” (referred to as debci in this post) of the 2019 March-August round of the Outreachy internship! A huge thanks to my company and my manager Frank for letting me do this since I mentioned it out of the blue. Thanks to the Women Techmakers community for letting me know this program exists.

There are already blog posts that also has an introduction of the program, such as:

  1. How I got into Mozilla’s Outreachy open source internship program
  2. My Pathway to Outreachy with Mozilla
  3. Outreachy: What? How? Why?

To me, the biggest difference between Outreachy and Google Summer of Code (GSoC) is that you don’t have to be a student in order to apply.

This post won’t be going into the details of “What is Outreachy” in this post, and will focus on the process, where everyone will have a different story. This is my version, and hope that you can find yours in the near future!

Table of contents:

(閱讀全文…)

在 Mac 上從 docker 容器內連到本機(localhost)

最近開始在用 docker ,但我實在是太笨了,所以把撞牆的筆記記下來免得再撞一次。

情境:因為要寫 e2e 的測試,而原本的環境都在 docker 裡面。只有要測試的網頁因為我還在修改,不想要改一點就 build image,所以先放在 localhost,所以想要從 docker 的 container 裡面連到 localhost 的網頁。

Google 關鍵字:accessing localhost inside docker container
Docker 版本:Docker version 17.09.0-ce, build afdb6d4

看了許多搜尋結果後得到兩個簡單的結論:

  1. 以要存取 localhost:8000 為例子,如果不是用 Chrome 瀏覽器存取,就直接用

    use docker.for.mac.localhost:8000 to connect to localhost:8000
  2. 如果是要用 Chrome 的話,則要連到 192.168.65.1:8000

參考資料:

  1. Cannot connect to docker.for.mac.localhost · Issue #511 · SeleniumHQ/docker-selenium
  2. From inside of a Docker container, how do I connect to the localhost of the machine? – Stack Overflow

Installing vue-cli with Yarn

FYI, I’m only starting out too, this post just delivers the topic “Installing vue-cli with Yarn”, and it’s not working out of the box as of 2016-11-02. See issue. It will be fixed very soon.

No comparisons, no introductions, and other bullshit involved.

Just checking out vue.js and saw that it provides a cli tool to scaffold projects, Just wondering, why not just use yo generator? And I found this issue, saying

The main reason is that vue-cli makes it easier to just fork one of the official templates and create your own tailored template. […]

The other factor is branding. vue init just feels better than yo vue 😉

So for the sake of feeling better… I guess?

(閱讀全文…)

Reader Favorites

Recent Posts

Categories

Tags