Skip to content

kokorolx/awesome_trick

Repository files navigation

alot_of_util

Util when working, some trick and more :)

Ruby

  1. Remove all key which value is blank? squeeze_hash.rb
  2. Get record of two tables, order by updated_at order_by_updated_at_two_tables.md
  3. Get next/prev record when using UUID as primary key in Postgresql get next/prev record using UUID
  4. Check job is running or scheduling in sidekiq check_job_sidekiq
  5. Simulate cost and broken tubes

ShellScript

  1. Auto move mouse and click for unix system auto_switch_application.sh
  2. Kill process using port .. kill_process.md

Javascript

  1. Get diff array #get-diff-array
  2. Get deep value: #get-deep-value-object
  3. Manual mapping user role #manual-mapping-role
  4. i18n with pure js #i18n-with-pure-js
  5. lambda-catch-forwared-mailgun #lambda-catch-forwared-mailgun

Database

  1. PostgreSQL not running on Mac 2335c6
  2. Downgrade mysql from 8.0 to 5.7 MACOS-mojave edab683
  3. Get the count of two table fields in a single MySQL query? 6ba4c987

Git

  1. Find branch name by git-what-branch f6a1423
  2. Change author name/email when wrong be401e0

Android

  1. MACOSX - Fix Internet connection in Android Emulator c673db
  2. [RN] Keyboard hide input b2eee2

Other solution??

  1. Save SVG with optional change color 432570
  2. Format date before display or save format to db? Solution
  3. Make 192.168.1.xxx:3000 accessable when start Rails Server or PHP Laravel Make 192.168.1.xxx:3000 accessable
  4. Upload question: Find last number of N^M Algorithm -- Resolution by Code

Fork or self lib

  1. Convert kansuji Code -- Demo
  2. react-native-form-validator react-native-form-validator

Some interview tests:

Year: 2019

  1. ✅ Write simple app with full test and scaleable repo
  2. 🫥 Override validate of Rails repo

Year: 2020

  1. ✅ 💰forward.VN - Simple bank transaction website repp

Year: 2021

  1. ❌ Simple timesheet management private-notion

Year 2022

  1. ✅ Major element by JS repo

Year 2023

  1. Simple Jackpot by NuxtJS and NestJS

About

Util when working, some trick and more :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published