Skip to content

Instantly share code, notes, and snippets.

View znck's full-sized avatar
🎯
Focusing

Rahul Kadyan znck

🎯
Focusing
View GitHub Profile
@znck
znck / aliasthat.sh
Created June 13, 2017 07:23
Create an alias for last command.
function aliasthat {
if [ -n ${1} ]; then
fc -e "sed -i -e \"s/^.*/echo alias $1=\\\"'\\\"\'&\'\\\"'\\\" >> ~\/.bash_alias/\""
. ~/.bash_alias
fi
}
@znck
znck / webpack.config.js
Created June 9, 2017 19:46
Webpack Chunks
// ----- Extracting Chunks -----
exports.entry['vendor/vue'] = ['vue', 'vuex', 'vue-resource', 'vue-router']
exports.entry['vendor/bootstrap'] = ['jquery', 'bootstrap', 'tether']
exports.entry['vendor/components'] = ['bootstrap-for-vue']
exports.entry['vendor/plugins'] = ['moment', 'sifter']
exports.entry['vendor/echo'] = ['pusher-js', 'laravel-echo', 'echo-for-vue']
exports.plugins.push(
new webpack.optimize.CommonsChunkPlugin({
name: 'manifest'
}),

Keybase proof

I hereby claim:

  • I am znck on github.
  • I am znck (https://keybase.io/znck) on keybase.
  • I have a public key whose fingerprint is 4960 41D2 4381 8206 D62C C2DF 21AF 5D4A 08BA 995B

To claim this, I am signing this object:

@znck
znck / state-of-vue-compilers.md
Last active April 11, 2017 21:41
Feature Comparison - vue-loader vs vueify vs rollup-plugin-vue
Feature vue-loader vueify rollup-plugin-vue
Support for Vue 1.x Version 8.x Version 8.x Version 2.x
Support for Vue 2.0 Version 9.0+ Version 9.0+ Version 2.x
ES2015 With buble-loader or babel-loader Preconfigured to use babel With rollup-plugin-buble or rollup-plugin-babel
Scoped CSS -
CSS Modules -
PostCSS -
Hot Reload ✓ ✓
@znck
znck / Vue component module
Last active November 26, 2018 01:18
Example for `rollup-plugin-vue`
Create a module for vue component.
@znck
znck / project.md
Last active March 20, 2021 08:42

Domains:

  • BUILDING A 2D AND 3D GAME FROM SCRATCH
    Build a game like Pong or even one in 3D similar to Doom. You'll build your own game engine from scratch.
  • BUILDING A DATABASE ENGINE
    Learn about the data structure behind every database engine. Building your own index mechanism for run queries faster.
  • BUILDING A VIRTUAL MACHINE
    Learn how a CPU, a GameBoy emulator or your programming language work inside by building a virtual machine.
  • BUILDING A BACKEND AND FRONTEND WEB FRAMEWORK
    Make a backend framework similar to Express or frontend one like Backbone. Or go wild and create something totally new.
  • BUILDING A NEURAL NETWORK
@znck
znck / -
Created September 1, 2015 17:05
{
"_id": "55c191fc9f9553312368df1e",
"location": [
13.0063555,
80.25238880000006
],
"name": "Prems Graama Bhojanam",
"phone": "9840062772",
"image": "http://s3-ap-southeast-1.amazonaws.com/clozerr/app/coupons-alpha/",
"fid": "5161203245370561",
@znck
znck / -
Created September 1, 2015 17:04
{
"_id": "55c191fc9f9553312368df1e",
"location": [
13.0063555,
80.25238880000006
],
"name": "Prems Graama Bhojanam",
"phone": "9840062772",
"image": "http://s3-ap-southeast-1.amazonaws.com/clozerr/app/coupons-alpha/",
"fid": "5161203245370561",
@znck
znck / meta-tags.md
Last active August 26, 2015 12:32 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>