Skip to content

Instantly share code, notes, and snippets.

View anikethsaha's full-sized avatar
🤞
Build | Passing

Anix anikethsaha

🤞
Build | Passing
View GitHub Profile
- :sp [filename] - Opens a new file and splits your screen horizontally to show more than one buffer
- :vsp [filename] - Opens a new file and splits your screen vertically to show more than one buffer
- cntrl + ww - to switch between screens
- :bn - Switch to next buffer
- :bp - Switch to previous buffer
- :bd - Close a buffer
- :tabe - to open tabs
- :tabn, tabp
- :e <path>
@anikethsaha
anikethsaha / README.md
Created June 22, 2020 08:36
Docsify Gist Embedding Example

This gist is used for example content on the docs - see the Embed Files section.

@anikethsaha
anikethsaha / index.html
Created June 21, 2020 11:58
style-perfectionist // source https://jsbin.com/degimah
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>style-perfectionist</title>
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.css">
@anikethsaha
anikethsaha / index.html
Created June 21, 2020 11:51
style-perfectionist // source https://jsbin.com/xefixabepo
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>style-perfectionist</title>
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.css">
@anikethsaha
anikethsaha / deterministicChunkIdsPlugin.test.js
Created April 5, 2020 11:22
Trying to test deterministicChunkIdsPlugin.test.js
"use strict";
const path = require("path");
const webpack = require("../");
const { createFsFromVolume, Volume } = require("memfs");
const deterministicChunkIdsPlugin = require("../lib/ids/DeterministicChunkIdsPlugin");
describe("deterministic Plugin tests", () => {
jest.setTimeout(20000);
it("should run the chunk ids as a determinitic one", () => {
@anikethsaha
anikethsaha / deterministicChunkIdsPlugin.test.js
Created April 5, 2020 11:22
Trying to test deterministicChunkIdsPlugin.test.js
"use strict";
const path = require("path");
const webpack = require("../");
const { createFsFromVolume, Volume } = require("memfs");
const deterministicChunkIdsPlugin = require("../lib/ids/DeterministicChunkIdsPlugin");
describe("deterministic Plugin tests", () => {
jest.setTimeout(20000);
it("should run the chunk ids as a determinitic one", () => {
@anikethsaha
anikethsaha / deterministicChunkIdsPlugin.test.js
Created April 5, 2020 11:22
Trying to test deterministicChunkIdsPlugin.test.js
"use strict";
const path = require("path");
const webpack = require("../");
const { createFsFromVolume, Volume } = require("memfs");
const deterministicChunkIdsPlugin = require("../lib/ids/DeterministicChunkIdsPlugin");
describe("deterministic Plugin tests", () => {
jest.setTimeout(20000);
it("should run the chunk ids as a determinitic one", () => {
@anikethsaha
anikethsaha / adaptive_intent.md
Created October 22, 2019 17:38 — forked from swyxio/adaptive_intent.md
an adaptive, intent based CLI "state machine"

an adaptive, intent based CLI "state machine"

one realization from working on Netlify's CLI is that the CLI framework we used, oclif, didn't provide a great user experience out of the box.

Emphasis on great: it does a lot of nice things, like offering flag and argument parsing, help documentation, and pluggability. That's good for the CLI developer. But what about the CLI user?

  • Idiomatic oclif code often checks for required preconditions, and if it doesn't exist, it prints a warning and then process.exit(1).
  • Decent code prints a helpful warning telling the user what they got wrong. It is informative.
  • Better code offers a prompt, creates a file, or something similar to solve the precondition before proceeding. (possibly recursively). It is intent-based.
  • Great code remembers past inputs to prompts and uses that to offer useful defaults. It is adaptive.
@anikethsaha
anikethsaha / meta-tags.md
Created November 13, 2018 16:33 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags

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

Basic HTML Meta Tags

<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">
<meta name="language" content="ES">