Skip to content

Instantly share code, notes, and snippets.


Abhishek Parmar abhishek-parmar1

View GitHub Profile
abhishek-parmar1 / raven-config.html
Created Apr 14, 2018 — forked from impressiver/raven-config.html
Raven.js configuration for logging JavaScript exceptions to Sentry ( Without the added ignore options, you'll quickly find yourself swamped with unactionable exceptions due to shoddy browser plugins and 3rd party script errors.
View raven-config.html
<!-- Raven.js Config -->
<script src="{{ JS_PATH }}/lib/raven.js" type="text/javascript"></script>
<script type="text/javascript">
// Ignore list based off:
var ravenOptions = {
// Will cause a deprecation warning, but the demise of `ignoreErrors` is still under discussion.
// See:
ignoreErrors: [
// Random plugins/extensions
abhishek-parmar1 /
Created Mar 4, 2018 — forked from PurpleBooth/
A template to make good

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


abhishek-parmar1 / walksync.js
Created Jan 28, 2018 — forked from kethinov/walksync.js
List all files in a directory in Node.js recursively in a synchronous fashion
View walksync.js
// List all files in a directory in Node.js recursively in a synchronous fashion
var walkSync = function(dir, filelist) {
var fs = fs || require('fs'),
files = fs.readdirSync(dir);
filelist = filelist || [];
files.forEach(function(file) {
if (fs.statSync(dir + file).isDirectory()) {
filelist = walkSync(dir + file + '/', filelist);
else {
abhishek-parmar1 / getEndpointsObject.js
Last active Jan 18, 2018
Endpoints Collection (projects, objectives, enrollment)
View getEndpointsObject.js
'/py/api/student/projects' : 'projectsList',
'/py/api/student/projects/objectives' : 'objectivesList',
'/py/api/student/catalogues' : 'programs',
'/py/api/students/catalogue/batches' : 'batches',
'/api/university/list' : 'universities'
abhishek-parmar1 / dabblet.css
Created Jan 2, 2018 — forked from bhargav2785/dabblet.css
Right angle triangles
View dabblet.css
Right angle triangles
position: relative;
margin: 30px;
width: 0;
border-right: 100px solid transparent;
border-top: 100px solid red;