มอบตัวลูกหลานเข้าเรียนทีก็จะมีค่าใช้จ่ายทีหนึ่ง จะดีกว่ามั้ยถ้าเราเก็บเงินไว้แต่เนินๆ ด้วยเครื่องมือทางการเงินสักตัว
คำเตือน: การลงทุนมีความเสี่ยง ผู้ลงทุนควรศึกษาข้อมูลก่อนตัดสินใจลงทุน
จริงๆ ออมผ่านบัญชีฝากประจำก็ได้นะ ความเสี่ยงต่ำมาก เงินต้นอยู่ครบ ดอกเบี้ยขึ้นอยู่กับระยะเวลาและวินัยการฝากเงิน
ผมเลือกกองทุนรวมตราสารหนี้ระยะสั้น เพราะระยะเวลาที่เราจะเก็บเงินไม่ถึง 1 ปี…
กอช. หรือกองทุนการออมแห่งชาติมีวิธีจ่ายได้หลายแบบครับ การจ่ายด้วย QR Code ผ่านแอปกอช.และแอปธนาคาร เป็นอีกทางเลือกหนึ่งที่สะดวก(?)
สำหรับวิธีส่งเงินไปกอช.วิธีอื่นๆ สามารถคลิกอ่านได้ตรงนี้เลย
Sometimes curl
doesn’t show up an error with response
To show error detail
$ curl GET 'https://www.yoururl.com' --show-error
$ curl GET 'https://www.yoururl.com' -S{ "Message":"An error has occurred.","ExceptionMessage":"The 'ObjectContent`1' type failed to serialize the response body for content type 'application/json; charset=utf-8'.","ExceptionType":"System.InvalidOperationException","StackTrace":null,
...
}
To show error HTTP status
$ curl GET 'https://www.yoururl.com' --fail
$ curl GET 'https://www.yoururl.com' -fcurl: (22) The requested URL returned error: 500 Internal Server Error
To show all stuff
$ curl GET 'https://www.yoururl.com' --verbose
$ curl GET 'https://www.yoururl.com' -v
Use HTTPie. It’s a lovely HTTP client. This image is a good comparison between Curl and Httpie
ขอขอบคุณทวีตของ SEASONJIN ที่รวบรวมช่องทางการบริจาคเงินสนับสนุนม็อบราษฎร ประชาชนปลดแอก เลยอยากเอามาแชร์ข้างนอกทวีตเตอร์ อยากจะเชิญชวนให้มาร่วมกันเป็นส่วนหนึ่งของ “ท่อน้ำเลี้ยง” และอย่าลืมเข้าไปกดหัวใจ กดรีทวีต กดแชร์กันเยอะๆ นะครับ
In Ruby on Rails, we have Bundler to handle gem. You might be stuck with an error message You must use Bundler 2 or greater with this lockfile.
when our Gemfile.lock is using Bundler version 2
$ docker-compose up rails
Recreating rails ... done
Attaching to rails
rails | Bundler::LockfileError: You must use Bundler 2 or greater with this lockfile.
...
ld-backend | bundler: failed to load command: rails (/usr/local/bundle/bin/rails)
ld-backend exited with code 1
For this example, we will use Bundler version 2.1.4 and Ruby version 2.3.1
Gemfile.lock
BUNDLED WITH
2.1.4
2. Add commandsENV…
Sometimes we need to build a container and install a library from a private repository
We will send SSH private key using --build-arg
then write it to id_ed25519
or id_rsa
file in the container.
Dockerfile (the important part)
# Add ssh private key into container
ARG SSH_PRIVATE_KEY
RUN mkdir ~/.ssh/
RUN echo "${SSH_PRIVATE_KEY}" > ~/.ssh/id_ed25519
RUN chmod 600 ~/.ssh/id_ed25519
RUN ssh-keyscan bitbucket.org >> ~/.ssh/known_hosts# Print SSH_PRIVATE_KEY (for test)
# RUN echo "${SSH_PRIVATE_KEY}"RUN npm install
Build and run
$ docker build --build-arg SSH_PRIVATE_KEY="$(cat ~/.ssh/id_ed25519)" -t sample-project .$ docker run sample-project
Let’s create 1 project and 1 private library…
Actually, I am waiting for my workmate. He chatted back after I just start a blog. Sorry man, but I can’t stop writing 😛
1. Install GnuPG
$ brew install gnupg
2. Install GPG keys
$ gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
3. Install RVM
$ \curl -sSL https://get.rvm.io | bash
4. We will receive a thank you 🙏 message in the console.
5. Quit all Terminal
6. Lunch a new Terminal and try this
$ rvm list
7. We will get this message
# No rvm rubies installed yet. Try 'rvm help install'.
8. Install some ruby…
ใครที่รู้จักบริษัทอื่นๆ อีก แนะนำกันได้ที่ช่อง comment นะครับ แผนที่ของแต่ละบริษัท คลิกตรงนี้
I’ve got the problem when I want to clean install Ubuntu from Ubuntu Official on my Dell machine. After installation, there is no driver support such as WiFi, Display, Bluetooth, …
The first thing I did is find a way to connect to the internet. I use USB tethering from my smartphone because I have no longer use the Ethernet Network.
The second is to find the URL that can install/upgrade my driver.
Finally, I found the URL and the way to add it to the apt repository.
For your information:
Now…
เนื่องจากทีมใช้ react router เลยต้องลงดูครับ แปะลิงก์ https://reacttraining.com/react-router
เครื่องที่ใช้อยู่พึ่งลง windows ใหม่ แบบสดๆ ร้อนๆ ยังไม่ได้ลงอะไรเพิ่มเติม นอกจาก nodejs
ผมติดตั้ง react router ผ่านทาง cmd นะครับ อย่าลืมลง nodejs ก่อน เสร็จแล้วพิมพ์คำสั่งตามนี้
$ npm install react-router-native
แต่มันไม่ง่ายแบบนั้น พบ error มากมาย โดยในระหว่างลง จะเรียก node-gyp ขึ้นมา และไม่ได้ไปต่อเพราะติดตรงที่ไม่พบ python
Error: Can't find Python executable "python", you can set the PYTHON env variable.
ซึ่งสาเหตุอาจจะเป็นเพราะยังไม่ได้ลงตัว node-gyp ผมเลยลองย้อนกลับไปลง node-gyp แต่ก็ยังติด error อีก เลยลองเข้าไปดูที่ลิงก์ https://github.com/nodejs/node-gyp
พบว่าเราต้องติดตั้งตัว windows build tools เสียก่อน
$ npm install --global --production windows-build-tools
แล้วจึงค่อยสั่งติดตั้ง node-gyp
$ npm install -g node-gyp
เมื่อเราได้อุปกรณ์ครบแล้วจึงค่อยลง react router
$ npm install react-router-native
เป็นอันเสร็จเรียบร้อย เมื่อไม่พบ error หรือ warning ใดๆ
Developer