Skip to content

Instantly share code, notes, and snippets.

View cksachdev's full-sized avatar

Chetan Sachdev cksachdev

  • Bangalore, Karnataka, India
View GitHub Profile
@Gh61
Gh61 / chrome.intellisense.js
Last active October 5, 2023 19:22 — forked from cmc19/chrome.intellisense.js
Visual studio intellisense file for chrome apps and extensions. Generated from latest source code. Manualy added missing properties.
var chrome = {};
chrome.devtools = {};
chrome.declarativeWebRequest = {};
//#region Types
//#region Chrome.AccessibilityObject
chrome.AccessibilityObject = function () {
/// <field name='type' type='string'>The type of this object, which determines the contents of 'details'.</field>
/// <field name='name' type='string'>The localized name of the object, like OK or Password. Do not rely on an exact string match because the text will be in the user's language and may change in the future.</field>
/// <field name='context' type='string'>The localized name of the context for the object, like the name of the surrounding toolbar or group of controls.</field>
/// <field name='details' type=''>Other details like the state, depending on the type of object.</field>
@khalilovcmd
khalilovcmd / lodashify.js
Created December 19, 2015 15:20
to import lodash into chrome dev tools console
var el = document.createElement('script');
el.src = "https://raw.githubusercontent.com/lodash/lodash/3.10.1/lodash.min.js";
el.type = "text/javascript";
document.head.appendChild(el)
@nunosans
nunosans / setup.md
Last active March 19, 2022 17:49
Fresh macOS setup.

Install Development Tools

Install Xcode Development Tools

xcode-select --install

Setup the Xcode colour theme

  1. Download the Space Gray colour theme
@zulhfreelancer
zulhfreelancer / git_logs_between_2_commits.md
Created January 4, 2017 07:06
How to see Git logs between 2 commits?
git log --oneline 7de7970..master

OR

git log --oneline 7de7970..4cb34a9

Above command will give all logs between commit A and commit B including commit A and commit B.

@alexstrat
alexstrat / blockers.md
Last active April 2, 2020 10:53
Chrome extensions support in Electron

Here is a list of blockers I stumbled upon while trying to run some Chrome extensions in Electron.

Description Reference on electron repo Extensions blocked
Add API to load extensions independent of devToolsExtensions pull#9918 all
content_scrips support: support CSS in pull#10076* Mailtracker Grammarly
content_scrips support: fix matches rules implementation
@Klooven
Klooven / about.md
Last active October 13, 2023 10:35
Customize Bootstrap 4
@aerrity
aerrity / client.js
Last active April 9, 2024 21:33
Node, Express & MongoDB: Button click example
console.log('Client-side code running');
const button = document.getElementById('myButton');
button.addEventListener('click', function(e) {
console.log('button was clicked');
fetch('/clicked', {method: 'POST'})
.then(function(response) {
if(response.ok) {
console.log('click was recorded');
@stevekinney
stevekinney / web-performance.md
Last active January 31, 2024 14:23
Web Performance Workshop

Web Performance

Requirements

Repositories

Frontend Masters—Deploying Full Stack: Node.js & React on AWS

You should have the following completed on your computer before the workshop:

  • Have Node.js installed on your system. (Recommended: Use nvm.)
    • Unfortunately, you'll need to be on Node 9.x or earlier. Dependencies are hard and one of the dependencies of one of our dependencies is set to not allow Node 10.x.
    • Install yarn with brew install yarn.
  • Create an AWS account. (This will require a valid credit card.)
  • Install multi-factor authentication app (e.g. Authy, Google Authenticator, Duo).
  • Install the AWS CLI. (brew install awscli should do the trick. Otherwise, you'll need Python and PIP, which you can install using brew install python.)

Frontend Masters: AWS for Frontend Engineers

You should have the following completed on your computer before the workshop:

  • Install the AWS CLI.
  • Have Node.js installed on your system. (Recommended: Use nvm.)
    • Install yarn with brew install yarn.
  • Create an AWS account. (This will require a valid credit card.)
  • Create a Travis CI account. (This should be as simple as logging in via GitHub).