Skip to content

Instantly share code, notes, and snippets.

mudivili

Block or report user

Report or block mudivili

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 .jshintrc
{
// JSHint Default Configuration File (as on JSHint website)
// See http://jshint.com/docs/ for more details
"maxerr": 50, // {int} Maximum error before stopping
"esnext": false,
// Enforcing
"bitwise": true, // true: Prohibit bitwise operators (&, |, ^, etc.)
"camelcase": false, // true: Identifiers must be in camelCase
"curly": true, // true: Require {} for every new block or scope
View .hyper.js
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// Choose either "stable" for receiving highly polished,
// or "canary" for less polished but more frequent updates
updateChannel: 'stable',
@mudivili
mudivili / hyper
Created Feb 12, 2018
hyper errors
View hyper
TypeError: Cannot read property 'debug' of undefined
at exports.reduceUI (~/.hyper_plugins/node_modules/hyper-autoprofile/index.js:175:49)
at r.forEach (file:///opt/Hyper/resources/app.asar/renderer/bundle.js:1:1295)
at Array.forEach (native)
at file:///opt/Hyper/resources/app.asar/renderer/bundle.js:1:1269
at file:///opt/Hyper/resources/app.asar/renderer/bundle.js:4:48655
at dispatch (file:///opt/Hyper/resources/app.asar/renderer/bundle.js:1:47821)
at file:///opt/Hyper/resources/app.asar/renderer/bundle.js:4:28453
at file:///opt/Hyper/resources/app.asar/renderer/bundle.js:4:28643
at file:///opt/Hyper/resources/app.asar/renderer/bundle.js:4:27789
@mudivili
mudivili / .eslintrc.json
Created Mar 28, 2018
Eslint Configuration
View .eslintrc.json
{
"env":
{
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"rules":
{
"indent": [
@mudivili
mudivili / gist:3f1f306f61cc46aa56f3690bb1a7c6c1
Created May 23, 2018 — forked from luckydev/gist:b2a6ebe793aeacf50ff15331fb3b519d
Increate max no of open files limit in Ubuntu 16.04 for Nginx
View gist:3f1f306f61cc46aa56f3690bb1a7c6c1
# maximum capability of system
user@ubuntu:~$ cat /proc/sys/fs/file-max
708444
# available limit
user@ubuntu:~$ ulimit -n
1024
# To increase the available limit to say 200000
user@ubuntu:~$ sudo vim /etc/sysctl.conf
View Install bash-completion on Amazon Linux
## Install bash-completion on Amazon Linux
sudo yum install bash-completion --enablerepo=epel
sudo yum install git bash-completion
You can’t perform that action at this time.