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.
Code π»
Laravel - Paginate with Array
A simple code to use when paginating with Laravel.
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.
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.
Code π»
Quick explanation of Webpack β’ Babel β’ Terser β’ Prettier β’ ESLint
Stop or pause video embedded in iframe
Code π»
How to stop or pause video embedded in iframe
Stop or pause video embedded in iframe
Code π»
Smooth Scrolling
Code for smooth scrolling with JavaScript
Code π»
Updating nginx file to redirect index.php to /
Redirect index.php to home
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..?
Code π»
Configuring Prettier in VSCode
Things you might have to do in order to have Prettier work in VSCode properly.
Code π»
How to add or remove classes from HTML element
Or even toggle if necessary.
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.
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 βοΈ
Code π»
Installing Jest & Enzyme with React
Setting up to use Jest & Enzyme to test React Components.
Code π»
Using Angular 9 + Tailwind CSS
Configuring Angular to be used with Tailwind CSS.
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 ...
Code π»
Redirecting WordPress Pages
Quick fix for solving any pages that are created with assets, authors, category, tag, taxonomy which affects SEO.
Code π»
setIPAddress in eTapestry
Using setIPAddress method for IP fraud check with eTapestry.
Code π»
Form Validation in html
A good tip with form validation not working with onSubmit function on form element.
Code π»
Installing ngrok on MacOS
Instructions on installing ngrok to MacOS
Code π»
Adding Google Analytics to React Application
A simple way to add google analytics code to React App.
Code π»
Updating a forked repository to the original repository.
Simple guide to updating the forked repository to the original one.
Code π»
WordPress CMB2 Plugin
Simple code which helped me create a metabox with plugin: CMB2 in WordPress.
Code π»
Using SCSS files with React
With simple steps, you can use powerful SCSS with React βοΈ
Code π»
Deploying React project to GitHub Pages
Documentation of how to publish React βοΈ project to GitHub Pages π₯
Code π»
Installing node with nvm
A proper way to install and update node.
Code π»
iOS π± κ°λ° κ³΅λΆ μμ
κΈΈκ³ κΈ΄ κΈ°λ€λ¦Όμ λμ λ€μνλ² iOS κ°λ°μ λμ μ₯μ λ΄λ°μ΄ 보μμ΅λλ€.
Thoughts π