Skip to content

Instantly share code, notes, and snippets.

View arindam89's full-sized avatar
🫠
Building the future!

Arindam Paul arindam89

🫠
Building the future!
  • Chief Architect at Safe Security
  • Bengaluru, India
  • 13:13 (UTC +05:30)
  • X @geek_paul
View GitHub Profile
Organize Imports,
Ctrl+Shift+O
@arindam89
arindam89 / step
Last active August 29, 2015 14:24
Vim Config with Vundle
# Refer https://www.digitalocean.com/community/tutorials/how-to-use-vundle-to-manage-vim-plugins-on-a-linux-vps
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
@arindam89
arindam89 / learnings.md
Last active August 29, 2015 14:26
New JS and other libraries I am coming across
@arindam89
arindam89 / Ionic_tips.txt
Last active December 22, 2015 09:00
Ionic
Testing ionic app on android device
http://ionicframework.com/docs/guide/testing.html
Connect your device using usb, you need to do some steps to enable debugging and all
Reference :
check if your device is there after connecting using command “adb devices"
and then finally run “ionic run android” after connecting the device. For debugging purpose you can use chrome
just go to : chrome://inspect
// Imagine your code structure is something like this.
// start
...
function sendSms() {
// Implementation
}
..
//end
@arindam89
arindam89 / .tmux.conf
Last active May 31, 2016 15:25
arindam89's dotfiles
# Tmux settings
# Set the prefix bindings.
set -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
# Set XTerm key bindings
setw -g xterm-keys on
@arindam89
arindam89 / query.js
Last active June 28, 2017 19:53
Simple Mongo Query for DashBoard
var campuses_promise = campus.find().exec();
return campuses_promise.then(function(campuses){
var allPromises = [];
_.forEach(campuses, (campus) => {
allPromises.push(
visitor.count({campusId: campus._id}).exec().then((count) => {
campus.visitor_count = count;
}),
@arindam89
arindam89 / .bash_profile
Created September 28, 2017 13:44 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@arindam89
arindam89 / index.js
Created November 13, 2017 18:34
Using Pushy in React Native
import EStyleSheet from 'react-native-extended-stylesheet';
import React, { Component } from 'react';
import { Provider, connect } from 'react-redux';
import { addNavigationHelpers } from 'react-navigation';
import { View } from 'react-native';
import Pushy from 'pushy-react-native';
import store from './state/store';
import AllIsWellAppNavigator from './config/routes';
import Alert from './components/Alert/Alert';