Skip to content

Instantly share code, notes, and snippets.

View sd031's full-sized avatar
🧠
Youtube @learnTechWithSandip

Sandip Das sd031

🧠
Youtube @learnTechWithSandip
View GitHub Profile
@sd031
sd031 / 0_reuse_code.js
Last active August 29, 2015 14:09
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@sd031
sd031 / Readme.md
Last active August 29, 2015 14:16 — forked from theideasmith/Readme.md

My first self made Meteor.js app. I also learned lots of CSS tricks in the process.

<!DOCTYPE html>
<html>
<head>
<script>
function invite() {
var url = '/people/~/mailbox',
body = {
recipients: {
values: [{
person: {
@sd031
sd031 / 01-README.md
Last active August 29, 2015 14:27 — forked from petemcw/01-README.md
Mac OS X LEMP Configuration

Mac OS X LEMP Configuration

This Gist is a collection of configuration files that can be used to easily setup a Homebrew-based LEMP stack on Mac OS X.

Files in this repository are numbered and named for ordering purposes only. At the top of each file is a section of metadata that denote what component the file belongs to and the default name & location of the file. Feel free to implement it however you want.

Note: some configuration files have hard-coded paths to my user directory -- fix it for your setup

Nginx

@sd031
sd031 / smsgupshup_sample_api.js
Last active March 24, 2023 11:55
this is a sample code for smsgupshup api
var express = require('express');
var request = require('request');
var app = express();
//there should be too many things above this line , use mean.io framework for building api fopr quality code
//
//sample api path
app.post('/send_message', function (req, res) {
//below all are post variable
//mobile_no,message
@sd031
sd031 / 00.howto_install_phantomjs.md
Created October 31, 2016 17:51 — forked from julionc/00.howto_install_phantomjs.md
How to install PhantomJS on Debian/Ubuntu

How to install PhantomJS on Ubuntu

Version: 1.9.8

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
@sd031
sd031 / docker_guide
Last active February 6, 2023 18:30
Docker Notes
Docker:
"Docker is an open platform for building, shipping and running distributed applications.
It gives programmers, development teams and operations engineers the common
toolbox they need to take advantage of the distributed and networked nature of modern applications."
In other words , Docker is an abstraction on top of low-level operating system tools that
allows you to run one or more containerized processes or applications within one or more virtualized Linux instances.
Docker images:
@sd031
sd031 / docker_notes.txt
Created June 24, 2019 10:44
Detailed Docker notes from Docker Deep dive course
Course url: https://linuxacademy.com/containers/training/course/name/docker-deep-dive-part-1
==================== All Docker Command While Learning Docker =========================
Get a list of all of the Docker commands:
docker -h
====== Attaching to Container , run in background , name it ==========
Create a container and attach to it:
{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
@sd031
sd031 / DevOps - Docker- Kubernetes Courses
Last active February 17, 2022 05:59
DevOps - Docker - Kubernetes Courses that I liked
I will keep updating the list whenever I come accross excellent Devops related courses.
DevOps:
Beginner level:
DevOps Essentials (Free): https://linuxacademy.com/cp/modules/view/id/192
DevSecOps Essentials (Free): https://linuxacademy.com/cp/modules/view/id/266
DevOps Foundation: https://www.linkedin.com/learning/devops-foundations/welcome
DevOps Advance Topics: