Skip to content

Instantly share code, notes, and snippets.

View AkashRajvanshi's full-sized avatar
😎
DevOps

Akash Rajvanshi AkashRajvanshi

😎
DevOps
View GitHub Profile
@AkashRajvanshi
AkashRajvanshi / Dell XPS 15 9560 Manjaro Setup instructions
Created March 27, 2019 13:18 — forked from meirbon/Dell XPS 15 9560 Manjaro Setup instructions
Small, quick guide to set up Manjaro on the XPS 15 9560
# 1. First of all of course get Manjaro:
https://manjaro.org/get-manjaro/
# I recommend using Etcher to copy the image to your USB:
https://etcher.io/
# 2. Before installing make sure:
# - Secure boot is disabled in BIOS
# - Your SSD, HDD or NVME drive is set to AHCI instead of RAID
# - Fastboot should be on Auto or minimal, but this shouldn't matter to much
@AkashRajvanshi
AkashRajvanshi / Host _Records.csv
Last active July 14, 2019 17:37
Medium Table
Type Host Value TTL
A Record @ IP_Address Automatic
A+ DDNS Record Synologyds.example.com IP_Address Automatic
CNAME Record Synologyds Synologyds.example.com Automatic
@AkashRajvanshi
AkashRajvanshi / git tutorials.md
Created September 16, 2019 18:34 — forked from jaseemabid/git tutorials.md
Awesome git tutorials I am finding here and there
@AkashRajvanshi
AkashRajvanshi / Settings.json
Last active September 20, 2019 18:49
Settings JSON Part 1
{
"editor.fontFamily": "Fira Code iScript",
"editor.formatOnSave": false,
"editor.formatOnPaste": true,
"editor.fontSize": 16,
"editor.lineHeight": 25,
"editor.fontWeight": "400",
"editor.tabSize": 2,
"editor.cursorWidth": 5,
"editor.letterSpacing": 0.5,
@AkashRajvanshi
AkashRajvanshi / Settings_2.json
Created September 20, 2019 18:56
Settings JSON Part 2
"workbench.statusBar.visible": true,
"workbench.activityBar.visible": true,
"workbench.colorTheme": "Cobalt2",
"workbench.iconTheme": "vscode-icons",
"workbench.colorCustomizations": {
"statusBar.background": "#333333",
"statusBar.noFolderBackground": "#333333",
"statusBar.debuggingBackground": "#263238",
"activityBarBadge.background": "#616161",
"list.activeSelectionForeground": "#616161",
@AkashRajvanshi
AkashRajvanshi / Settings_3.json
Created September 20, 2019 18:59
Settings JSON Part 3
"files.trimTrailingWhitespace": true,
"files.autoSave": "onFocusChange",
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/node_modules": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/.next": true
@AkashRajvanshi
AkashRajvanshi / .gitconfig
Created September 21, 2019 16:28
GIt config File
[user]
name = Akash
email = akashrajvanshi11@gmail.com
[color]
ui = true
[color "branch"]
current = yellow reverse
local = yello
remote = green
@AkashRajvanshi
AkashRajvanshi / thisInSimpleFunction.js
Created September 26, 2019 06:30
"this" in simple Function
function foo (firstName, lastName) {
console.log(this) //window
console.log(`${firstName} ${lastName}`) //Akash Rajvanshi
}
foo("Akash", "Rajvanshi")
(function () {
console.log('Anonymous function') // Anonymous Function
console.log(this) // window object
})()
function foo () {
'use strict'
console.log("Simple Function Call") //Simple Function Call
console.log(this) //undefined
}
foo()