- command+left - jump to left most of text field. Use other arrows accordingly.
- alt+left - skip words in text fields instead of characters. Use other arrows accordingly.
- cmd+c - copy
- cmd+v - paste
- cmd+alt+c - move (followed by cmd+v for paste, like cut paste)
- command+space - spotlight for searching files. (just like windows key)
- delete - backspace (as known in windows)
- fn+delete - delete (as known in windows)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>Apna Codechef</title> | |
<meta charset="utf-8"/> | |
<link href="style.css" rel="stylesheet"/> | |
<style> | |
body { | |
background-color : grey; | |
color : white; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// NOTE: Relies on ES6 syntax, works on Node 4.0.0 or higher | |
var zlib = require('zlib'); | |
require('http') | |
.createServer((req, res) => { | |
res.writeHead(200, { | |
'Content-encoding': 'deflate', | |
'Content-length': zlib.deflateSync(body).length | |
}); | |
res.write(zlib.deflateSync(body)); |
#FASTENERS
-
What is fastening? Types of fastening? Use of each type?
- A fastener is a hardware device that mechanically joins or affixes two or more objects together.
- Temporary and Permanent. Permanent is used when it has to be joint permanently without any scope of disconnecting two components.
-
What are two basic types of threads? Where each type is used?
- External and Internal. External on bolts , studs etc and internal on nuts , components etc.
-
Define the terms : fundamental triangles , truncation , depth of thread , pitch , lead , slope, flank , thread angle , crest ,root , and axis of thread.
A quick shell script function to create a directory following react-style-guide
# React component
rc () {
mkdir $1;
touch "$1/index.js";
echo "import React, { Component } from 'react';
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var webpack = require('webpack'); | |
var HtmlWebpackPlugin = require('html-webpack-plugin'); | |
var path = require('path'); | |
var folders = { | |
APP: path.resolve(__dirname, '../app'), | |
BUILD: path.resolve(__dirname, '../build'), | |
BOWER: path.resolve(__dirname, '../bower_components'), | |
NPM: path.resolve(__dirname, '../node_modules') | |
}; |
made with esnextbin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import ReactDOM from 'react-dom'; | |
const Header = ({ appName = 'Enter Application Name', links = [] }) => { | |
const styles = { | |
header: { | |
textAlign: 'center', | |
}, | |
nav: { |
made with esnextbin
Devnaagri | Gurulipi | Punjabi Unicode |
---|---|---|
क | k | ਕ |
ख | K | ਖ |
ग | g | ਗ |
घ | G | ਘ |
ङ | | | ਙ |
च | c | ਚ |
छ | C | ਛ |
ज | j | ਜ |
OlderNewer