Skip to content

Instantly share code, notes, and snippets.

View vuongpdz's full-sized avatar
🔥
Chilling by the fire

vuongpdz

🔥
Chilling by the fire
View GitHub Profile
@vuongpdz
vuongpdz / request-time-138.94.216.3.txt
Last active November 19, 2020 06:45
Request Time of 138.94.216.3
#### Local Time
+--------------+---------------------------+
| IP | Local time |
+--------------+---------------------------+
| 138.94.216.3 | 2020-11-18T03:28:14+00:00 |
| 138.94.216.3 | 2020-11-18T03:28:15+00:00 |
| 138.94.216.3 | 2020-11-18T03:28:17+00:00 |
| 138.94.216.3 | 2020-11-18T03:28:19+00:00 |
| 138.94.216.3 | 2020-11-18T03:28:21+00:00 |
| 138.94.216.3 | 2020-11-18T03:28:23+00:00 |
@vuongpdz
vuongpdz / Nov-18-to-total.txt
Last active November 20, 2020 00:57
Comparisons of IPs in Nov 18 to the period Oct 8 - Nov 18
ips-2020-Nov-18.json: 693 IPs
ips-2020-Oct-8-to-Nov-18.json: 9479 IPs
ips-2020-Nov-18.json and ips-2020-Oct-8-to-Nov-18.json has 693 common IPs
+-----------------------------------------+----------------------+-------------------------------+
| IP | ips-2020-Nov-18.json | ips-2020-Oct-8-to-Nov-18.json |
+-----------------------------------------+----------------------+-------------------------------+
| 138.94.216.3 | 4907 | 80879 |
| 45.72.32.89 | 2629 | 4325 |
| 37.9.46.70 | 2500 | 2500 |
| 185.102.112.101 | 2476 | 2476 |
@vuongpdz
vuongpdz / Nov-17-to-total.txt
Last active November 20, 2020 00:57
Comparisons of IPs in Nov 17 to the period Oct 8 - Nov 18
ips-2020-Nov-17.json: 570 IPs
ips-2020-Oct-8-to-Nov-18.json: 9479 IPs
ips-2020-Nov-17.json and ips-2020-Oct-8-to-Nov-18.json has 570 common IPs
+---------------------------------------+----------------------+-------------------------------+
| IP | ips-2020-Nov-17.json | ips-2020-Oct-8-to-Nov-18.json |
+---------------------------------------+----------------------+-------------------------------+
| 192.241.67.40 | 2435 | 3410 |
| 209.127.117.137 | 2388 | 3464 |
| 144.168.219.219 | 2268 | 5361 |
| 144.168.218.61 | 2227 | 2710 |
@vuongpdz
vuongpdz / Nov-16-to-total.txt
Last active November 20, 2020 00:57
Comparisons of IPs in Nov 16 to the period Oct 8 - Nov 18
ips-2020-Nov-16.json: 558 IPs
ips-2020-Oct-8-to-Nov-18.json: 9479 IPs
ips-2020-Nov-16.json and ips-2020-Oct-8-to-Nov-18.json has 558 common IPs
+-----------------+----------------------+-------------------------------+
| IP | ips-2020-Nov-16.json | ips-2020-Oct-8-to-Nov-18.json |
+-----------------+----------------------+-------------------------------+
| 138.94.216.3 | 3509 | 80879 |
| 144.168.218.251 | 2521 | 2521 |
| 94.231.219.188 | 2512 | 3561 |
| 209.127.174.227 | 2506 | 2506 |
@vuongpdz
vuongpdz / view_component-gem-report-vi.md
Created October 8, 2020 08:01
Report on view_component Gem & component architecture in Rails

REPORT VIEW_COMPONENT

Về Github view_component gem (Ở đây em không nhắc chung tới kiến trúc component nữa mà nói trực tiếp tới view_component gem vì đối với mỗi thư viện, kiến trúc component sẽ được thực hiện khác nhau ở 1 số điểm)

Ưu điểm: (Xem thêm ở đây: https://github.com/github/view_component#why-should-i-use-components)

(1) Tách biệt logic ra khỏi views và nằm trong 1 ruby class riêng biệt

(2) Loại bỏ khả năng sử dụng 1 biến instance (@) ở trong nhiều partials như trước đây (bắt buộc phải truyền biến từ ngoài vào component) => Việc tìm nguồn gốc của biến sử dụng dễ dàng hơn

@vuongpdz
vuongpdz / view_component-gem-report-en.md
Last active October 9, 2020 02:24
Report on view_component Gem & component architecture in Rails

REPORT VIEW_COMPONENT

About Github view_component gem (https://github.com/github/view_component) (Here I don't mention component architecture but write directly about view_component gem because for each library, the component architecture will be implemented differently at some point)

Advantages: (See more here: https://github.com/github/view_component#why-should-i-use-components)

(1) Encourage separating logic from views and reside them in a ruby class

(2) Removed the ability to use an instance variable (@) in partial, view_component requires passing variables from outside through new) => Finding the origin of the variable is easier