Skip to content

Instantly share code, notes, and snippets.

View adnan333bd's full-sized avatar

golam sobhani chowdhury adnan333bd

View GitHub Profile
@adnan333bd
adnan333bd / cordova-plugin-guide.md
Created March 28, 2017 14:26 — forked from mlynch/cordova-plugin-guide.md
Cordova Plugin Developer Guide

Cordova Plugin Development Guide (iOS and Android)

Version: 0.0.1 updated 7/1/2016

Cordova Plugins are the magic that enable our mobile web app content to access the full power of Native SDKs underneath, but through clean JavaScript APIs that work the same across all platforms we target.

Building Cordova plugins is scary for many Cordova and Ionic developers, but it doesn't have to be. This simple guide walks through the what, when, why, and how of Cordova plugin development for iOS and Android.

Introduction

@adnan333bd
adnan333bd / emailer.py
Created May 20, 2017 06:01 — forked from sarahholderness/emailer.py
Python scripts to read a list of customer emails and send an email with the daily weather forecast
import weather
import smtp
'''
Send a greeting email to our customer email list
with the daily weather forecast and schedule
'''
def get_emails():
# Reading emails from a file
@adnan333bd
adnan333bd / rxjs_operators_by_example.md
Created September 12, 2017 03:21 — forked from btroncone/rxjs_operators_by_example.md
RxJS 5 Operators By Example
@adnan333bd
adnan333bd / fix-homebrew-npm.md
Created September 25, 2017 07:30 — forked from DanHerbert/fix-homebrew-npm.md
Instructions on how to fix npm if you've installed Node through Homebrew on Mac OS X or Linuxbrew

Fixing npm On Mac OS X for Homebrew Users

Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.

Solution

This solution fixes the error caused by trying to run npm update npm -g. Once you're finished, you also won't need to use sudo to install npm modules globally.

Before you start, make a note of any globally installed npm packages. These instructions will have you remove all of those packages. After you're finished you'll need to re-install them.