How to create Custom Listview in Android
code : https://github.com/thana19/testCustomListView 1. New Project with Empty Activity 2. New layout “fragment_main” <?xml version="1.0" encoding="utf-8"?> <LinearLayout...
View ArticleHow to completely clear git repository, without deleting it
f you only have a local git repository if you want to erase your whole history and start over again: cd <repo> rm -rf .git git init and start committing again. If you want to remove both files...
View Articleแนะนำการใช้งาน Firebase และสร้างแอป Android ติดต่อ Firebase Database
ไปที่ firebase.google.com คลิกที่ปุ่ม ไปที่คอนโซล Create Firebase Project select Android — — — เลือกที่เมนู Database เลือก Tab กฎ และเปลี่ยนสิทธิ์ให้ไม่ต้องมีการตรวจสอบผู้ใช้ — Use Postman Test send...
View Articleสร้างแอป Android เพื่อทดสอบการใช้งาน Firebase Realtime Database & Firebase...
บทความนี้จะมีเนื้อหาเกี่ยวกับ Firebase Realtime Database, Firebase Storage, Firebase Crash, Drawer Menu, Fragment, Custom ListView, Camera,Glide และอื่นๆสัพเพเหระ...
View Articleสร้างเว็บด้วย Vue.js+Vuetify
Vue.js+Vuetify GIF ติดตั้ง npm และ node.js https://nodejs.org ติดตั้ง vue-cli https://github.com/vuejs/vue-cli ติดตั้ง vuetify http://vuetify.com/ sudo vue init vuetifyjs/webpack-advanced vue-vuetify...
View Articleตั้งค่า macOS ให้รองรับ NTFS
ติดตั้ง osxfuse และ ntfs-3g /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew cask install osxfuse brew install ntfs-3g...
View Articleวิธี Setup proxy ให้ nvm บน linux (WSL)
NVM uses curl, so modifying the file ~/.curlrc file (or create it if it does not exist) proxy = <proxy_host>:<proxy_port> จากนั้นก็ปิดเครื่องแล้วเปิดใหม่ credit...
View ArticleHow to kill a nodejs process in Linux?
sudo netstat -lpn |grep :'3000' 3000 is port i was looking for, After first command you will have Process ID for that port kill -9 1192 in my case 1192 was process Id of process running on 3000 PORT...
View Articleวิธีการติดตั้ง Free SSL Certificates จาก Let’s Encrypt โดยใช้ Docker และ Nginx
Install Docker on Ubuntu curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release...
View ArticleReverser Proxy ด้วย Nginx บน Docker
ใน workshop ครั้งนี้ จะใช้ digital ocean โดยไปตั้งค่า subdomain ก่อนที่ network โดยเพิ่มที่ CNAME ดังนี้ blog.zity.co , test.zity.co เรามาเริ่มสร้างจากใช้ docker image ที่ชื่อว่า nginx-proxy $ docker...
View Article