Skip to content

Instantly share code, notes, and snippets.

View amaankulshreshtha's full-sized avatar
👨‍💻
Coding

Amaan Kulshreshtha amaankulshreshtha

👨‍💻
Coding
  • Accenture
  • Dubai, United Arab Emirates
View GitHub Profile
@amaankulshreshtha
amaankulshreshtha / emulator-install-using-avdmanager.md
Created August 23, 2022 13:10 — forked from mrk-han/emulator-install-using-avdmanager.md
Installing and creating Emulators with AVDMANAGER (For Continuous Integration Server or Local Use)

Install and Create Emulators using AVDMANAGER and SDKMANAGER

TL;DR

For generic skin emulator with default apis (without google apis):

  1. List All System Images Available for Download: sdkmanager --list | grep system-images

  2. Download Image: sdkmanager --install "system-images;android-29;default;x86"

@amaankulshreshtha
amaankulshreshtha / .gitignore
Created September 27, 2020 16:29 — forked from andreasonny83/.gitignore
Gitignore template for JavaScript projects
# See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output
/dist
/tmp
/out-tsc
# Runtime data
pids
*.pid
@amaankulshreshtha
amaankulshreshtha / handlebars.helpers.ifEquals.js
Created April 2, 2020 07:17 — forked from niksumeiko/handlebars.helpers.ifEquals.js
Handlebars.js templates engine custom IF condition helper. Allows to compare values one to each other like you are used to in programming.
// Compares first value to the second one allowing entering IF clouse if true.
// Otherwise entering ELSE clause if exist.
Handlebars.registerHelper('ifEquals', function(a, b, options) {
if (a === b) {
return options.fn(this);
}
return options.inverse(this);
});
@amaankulshreshtha
amaankulshreshtha / SampleComponent.js
Created March 22, 2019 22:21 — forked from yamadayuki/SampleComponent.js
Use keyframes property with React using inline style
import React from 'react';
import injectStyle from './path/to/injectStyle';
export default class SampleComponent extends React.Component {
constructor(props) {
super(props);
const keyframesStyle = `
@-webkit-keyframes pulse {
0% { background-color: #fecd6d; }
@amaankulshreshtha
amaankulshreshtha / bash-cheatsheet.sh
Created January 5, 2019 09:14 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@amaankulshreshtha
amaankulshreshtha / books.json
Created May 31, 2018 12:08 — forked from nanotaboada/books.json
A sample collection of books in JSON format
{
"books": [
{
"isbn": "9781593275846",
"title": "Eloquent JavaScript, Second Edition",
"subtitle": "A Modern Introduction to Programming",
"author": "Marijn Haverbeke",
"published": "2014-12-14T00:00:00.000Z",
"publisher": "No Starch Press",
"pages": 472,