Skip to content

Instantly share code, notes, and snippets.

View permanaj's full-sized avatar

Permana Jayanta permanaj

View GitHub Profile
@permanaj
permanaj / webpack.mix.js
Created January 3, 2020 12:57
webpack.mix.js for drupal 8 radix child theme
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your application. See https://github.com/JeffreyWay/laravel-mix.
|
*/
let defaultConfig = {
{
"files.associations": {
"*.module": "php",
"*.install": "php",
"*.inc": "php",
"*.theme": "php",
"*.info": "ini"
},
"files.exclude": {
"**/.git": true,
@permanaj
permanaj / day-to-day-linux-command.sh
Last active November 28, 2019 02:57
day-to-day Linux comman
# Compressing file
tar -zcvf compressFileName.tar.gz folderToCompress
@permanaj
permanaj / 0_reuse_code.js
Created February 26, 2014 07:11
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console