Skip to content

Instantly share code, notes, and snippets.

View pushpan999's full-sized avatar

Pushpan Kumar G.C. pushpan999

View GitHub Profile
@pushpan999
pushpan999 / read-local-file-or-fetch-from-remote.js
Created September 13, 2020 02:52 — forked from hanssens/read-local-file-or-fetch-from-remote.js
Cordova/Phonegap - Reads a (json) file from the local cache and fetches it from a remote url if it doesn't exist yet
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
We couldn’t find that file to show.
.karc-cp-container .left-area > article {
display: flex;
padding: 2%;
}
.karc-cp-container .left-area > article > a {
flex-basis: 30%;
padding: 1rem;
background: #eee;
border: 1px solid #d0d0d0;
@pushpan999
pushpan999 / sass-map.scss
Created December 19, 2016 15:29
sass map to get color
//settings
// color variable map
$color-blue : #04518C;
$color-green: #47D9BF;
$color-red: #E74C3C;
$color-yellow: #F2D03B;
$base-primary-color: $color-blue;
$base-secondary-color: $color-green;
$base-alt-1: $color-red;
@pushpan999
pushpan999 / NERDTree.mkd
Created March 29, 2016 14:27 — forked from m3nd3s/NERDTree.mkd
My Vim Cheat Sheet

NERDTree

o.......Open files, directories and bookmarks....................|NERDTree-o|
go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go|
t.......Open selected node/bookmark in a new tab.................|NERDTree-t|
T.......Same as 't' but keep the focus on the current tab........|NERDTree-T|
i.......Open selected file in a split window.....................|NERDTree-i|
gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi|
s.......Open selected file in a new vsplit.......................|NERDTree-s|
gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs|

O.......Recursively open the selected directory..................|NERDTree-O|