Skip to content

Instantly share code, notes, and snippets.

View monodyle's full-sized avatar
🙊
Out of money

Monody Le monodyle

🙊
Out of money
View GitHub Profile
@monodyle
monodyle / react-rendering.md
Created March 23, 2021 13:19 — forked from tuhuynh27/react-rendering.md
A (Mostly) Complete Guide to React Rendering Behavior

Translated from https://blog.isquaredsoftware.com/2020/05/blogged-answers-a-mostly-complete-guide-to-react-rendering-behavior/, author: Mark Erikson (from Redux team)

A (Mostly) Complete Guide to React Rendering Behavior

Bài viết cung cấp chi tiết về cách mà React render hoạt động, và việc sử dụng Context và Redux ảnh hưởng thế nào tới quá trình render của React.

"Render" là gì

Rendering is the process of React asking your components to describe what they want their section of the UI to look like, now, based on the current combination of props and state.

@monodyle
monodyle / subdomain_wordlist.md
Created September 6, 2020 12:11 — forked from cihanmehmet/subdomain_wordlist.md
Subdomain Wordlist
@monodyle
monodyle / lamp-win.md
Created October 22, 2019 11:33 — forked from lelinhtinh/lamp-win.md
Cài đặt LAMP server trong WSL

Cài đặt LAMP server trong WSL

Cài đặt Ubuntu

Kích hoạt WSL (Windows Subsystem for Linux) bằng cách mở PowerShell với quyền Admin (Run as administrator), và chạy lệnh:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Khởi động lại máy.

@monodyle
monodyle / gitflow-breakdown.md
Created June 10, 2019 08:33 — forked from JamesMGreene/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository

@monodyle
monodyle / README.md
Created June 9, 2019 11:22 — forked from mul14/README.md
Simple Laravel Search Trait

Usage

Put SearchTrait.php in app directory. Then use SearchTrait in your model, like so

use App\SearchTrait;
use Illuminate\Database\Eloquent\Model;

class Article extends Model {
@monodyle
monodyle / MessengerAttachmentsScanner.js
Created December 25, 2018 07:11 — forked from monokaijs/MessengerAttachmentsScanner.js
Scan Facebook Messages for attachments.
(() => {
/*
Author: @MonokaiJsp (MonokaiJs | https://omfg.vn)
>>>>>>> Free for Personal Usage.
======= Donate me: https://omfg.vn/donate
======= Github: https://github.com
======= Gists
*/
@monodyle
monodyle / youtube-playlist-maker.js
Created March 23, 2018 08:08 — forked from J2TEAM/youtube-playlist-maker.js
Code thêm nhiều video Youtube vào một playlist.
/* Developed by Juno_okyo */
(function(e, b) {
function f(a, b) {
var d = fetch,
e = "sej=" + encodeURIComponent(JSON.stringify({
playlistEditEndpoint: {
playlistId: a,
actions: [{
addedVideoId: b,
action: "ACTION_ADD_VIDEO"