Code πŸ’»

Tips πŸ’‘ and snippets of code that I found useful.

Path to node package module

A simple and clean way to direct with a path to a package from node module.

2022.08.04β€’

Code πŸ’»

Laravel - Paginate with Array

A simple code to use when paginating with Laravel.

2022.06.01β€’

Code πŸ’»

Filter / Organize array into key, value pairs for twig

Twig may be slightly tricky in handling data. I documented how to organize and filter array into key, value pairs for twig.

2022.01.18β€’

Code πŸ’»

Uninstall & install new PHP version

Installing (and uninstalling) new PHP version was always a trouble. This time, I found a proper way to handle this.

2022.01.05β€’

Code πŸ’»

Quick explanation of Webpack β€’ Babel β€’ Terser β€’ Prettier β€’ ESLint

Stop or pause video embedded in iframe

2021.12.28β€’

Code πŸ’»

How to stop or pause video embedded in iframe

Stop or pause video embedded in iframe

2021.11.17β€’

Code πŸ’»

Smooth Scrolling

Code for smooth scrolling with JavaScript

2021.11.17β€’

Code πŸ’»

Updating nginx file to redirect index.php to /

Redirect index.php to home

2021.11.17β€’

Code πŸ’»

Installing Tailwindcss with Parcel for basic html template

Sometimes, we want to build a website using just HTML, CSS, and JavaScript. But what if, you want to use Tailwindcss as well..?

2021.02.06β€’

Code πŸ’»

Configuring Prettier in VSCode

Things you might have to do in order to have Prettier work in VSCode properly.

2021.02.02β€’

Code πŸ’»

How to add or remove classes from HTML element

Or even toggle if necessary.

2021.01.27β€’

Code πŸ’»

How to remove files that are in .gitignore but still in the git repository

Removing those pesky files that I forgot to remove from the repository but are already in GitHub.

2021.01.27β€’

Code πŸ’»

Building custom button with Redactor API

Redactor is a powerful WYSIWIG editor in Craft CMS. What makes it more powerful is that you can customize it βš™οΈ

2020.09.14β€’

Code πŸ’»

Installing Jest & Enzyme with React

Setting up to use Jest & Enzyme to test React Components.

2020.02.28β€’

Code πŸ’»

Using Angular 9 + Tailwind CSS

Configuring Angular to be used with Tailwind CSS.

2020.02.25β€’

Code πŸ’»

Fixing file_get_contents SSL errors & using Laravel Valet

Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:1 ...

2020.02.21β€’

Code πŸ’»

Redirecting WordPress Pages

Quick fix for solving any pages that are created with assets, authors, category, tag, taxonomy which affects SEO.

2020.01.28β€’

Code πŸ’»

setIPAddress in eTapestry

Using setIPAddress method for IP fraud check with eTapestry.

2020.01.16β€’

Code πŸ’»

Form Validation in html

A good tip with form validation not working with onSubmit function on form element.

2019.11.19β€’

Code πŸ’»

Installing ngrok on MacOS

Instructions on installing ngrok to MacOS

2019.10.02β€’

Code πŸ’»

Adding Google Analytics to React Application

A simple way to add google analytics code to React App.

2019.09.29β€’

Code πŸ’»

Updating a forked repository to the original repository.

Simple guide to updating the forked repository to the original one.

2019.09.29β€’

Code πŸ’»

WordPress CMB2 Plugin

Simple code which helped me create a metabox with plugin: CMB2 in WordPress.

2019.09.20β€’

Code πŸ’»

Using SCSS files with React

With simple steps, you can use powerful SCSS with React βš›οΈŽ

2019.08.14β€’

Code πŸ’»

Deploying React project to GitHub Pages

Documentation of how to publish React βš›οΈŽ project to GitHub Pages πŸ–₯

2019.08.13β€’

Code πŸ’»

Installing node with nvm

A proper way to install and update node.

2019.08.13β€’

Code πŸ’»

iOS πŸ“± 개발 곡뢀 μ‹œμž‘

κΈΈκ³  κΈ΄ κΈ°λ‹€λ¦Όμ˜ 끝에 λ‹€μ‹œν•œλ²ˆ iOS κ°œλ°œμ— 도전μž₯을 λ‚΄λ°€μ–΄ λ³΄μ•˜μŠ΅λ‹ˆλ‹€.

2019.05.22β€’

Thoughts πŸ’­

Invely's