Skip to content

Instantly share code, notes, and snippets.

View abdulmuneer22's full-sized avatar

Muneer PP abdulmuneer22

View GitHub Profile
import { chain } from "icepick";
const slotsStub = [
{
slot: 0,
vehicleNumber: "",
color: ""
},
{
slot: 1,
@abdulmuneer22
abdulmuneer22 / launch.json
Created April 30, 2020 13:04 — forked from cecilemuller/launch.json
Run ts-node in VSCode Debugger
{
"version": "0.2.0",
"configurations": [
{
"name": "Node Inspector",
"type": "node",
"request": "launch",
"args": ["${workspaceRoot}/src/service.ts"],
"runtimeArgs": ["-r", "ts-node/register"],
"cwd": "${workspaceRoot}",
@abdulmuneer22
abdulmuneer22 / cloudSettings
Created August 20, 2018 15:37
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-08-20T15:37:47.762Z","extensionVersion":"v3.0.0"}
const TextField = styled.input`
::-webkit-input-placeholder {
color: red;
}
::-moz-placeholder {
color: red;
opacity: 1;
}
'use strict';
// proxy configurator on apigateway
var httpProxy = require('http-proxy');
// Create reverse proxy instance
var proxy = httpProxy.createProxy();
function forwardToInternalPath(req, res) {
'use strict';
// proxy configurator on apigateway
var httpProxy = require('http-proxy');
var HttpProxyRules = require('http-proxy-rules');
// // Set up proxy rules instance for routing
// var proxyRules = new HttpProxyRules({
// rules: {
// '.*/api/': 'http://127.0.0.1:8093/api/',
import React, { Component } from 'react';
import { Text, View, StyleSheet ,Image} from 'react-native';
import { Constants } from 'expo';
import { LinearGradient } from 'expo';
// You can import from local files
import AssetExample from './components/AssetExample';
// or any pure javascript modules available in npm
server {
location / {
proxy_pass http://127.0.0.1:3000;
}
}
@abdulmuneer22
abdulmuneer22 / gist:f7f148eb7cc65564104c602e71f98b5f
Created January 9, 2018 07:29 — forked from rturk/gist:858c1afaee170a3a141adc7da652883e
React Native Router Flux - Tab Bar with Icon
//This is a Redacted version to be used as a benchmark/example for React Native Router Flux
import React, {
Component,
StatusBar,
Text,
View,
StyleSheet,
PixelRatio,
} from 'react-native';
@abdulmuneer22
abdulmuneer22 / sketch-never-ending.md
Created October 25, 2017 14:17 — forked from Bhavdip/sketch-never-ending.md
Modify Sketch to never ending trial

###Sketch trial non stop

Open hosts files:

$ open /private/etc/hosts

Edit the file adding:

127.0.0.1 backend.bohemiancoding.com

127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com