Skip to content

Instantly share code, notes, and snippets.

FarEast farizluqman

Block or report user

Report or block farizluqman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View webpack.config.js
const webpack = require('webpack');
const path = require('path');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const extractCSS = new ExtractTextPlugin('[name].fonts.css');
const extractSCSS = new ExtractTextPlugin('[name].styles.css');
const BUILD_DIR = path.resolve(__dirname, 'build');
@farizluqman
farizluqman / Vagrantfile
Created Mar 28, 2018
Windows Server 2012 with Remote Desktop (RDP) + Vagrant + Virtualbox
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
VM_BOX="mwrock/Windows2012R2"
# IP address Information
STATICIP="x.x.x.x"
SUBNETMASK="y.y.y.y"
ROUTER="z.z.z.z"
@farizluqman
farizluqman / test-eq-expression.php
Created Apr 3, 2017 — forked from ravinsharma7/test-eq-expression.php
Parse equality string and test equality expression
View test-eq-expression.php
<?php
// does not consider &&, ||, XOR, OR, AND operator, ternary operators for now.
$var_a = 100;
$var_b = 100;
$var_c = 110;
$var_d = (double) 100;
$var_e = "100";
$var_f = false;
$symbol_table = compact("var_a", "var_b", "var_c", "var_d", "var_e", "var_f");
You can’t perform that action at this time.