Skip to content

Instantly share code, notes, and snippets.

View manoj-singh-developer's full-sized avatar
🎯
Focusing

Manoj Singh manoj-singh-developer

🎯
Focusing
View GitHub Profile
@manoj-singh-developer
manoj-singh-developer / javascript.pdf
Created October 25, 2018 16:08
javascript tutorial
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
you can use mongodump & mongorestore
1-> back up a single database
mongodump -h localhost -d database_name -o C:\DestinationFolder (backup to a DestinationFolder )
2-> Restore the Database
mongorestore -h localhost C:\DestinationFolder (Restor from the DestinationFolder )
or
<-- html script -->
<input id="browse" type="file" multiple>
<div id="preview"></div>
<---end html --->
<-- start script --->
<script>
@manoj-singh-developer
manoj-singh-developer / instafeed_tags.py
Created November 22, 2017 15:34 — forked from yomguy/instafeed_tags.py
Instafeed like django tag displaying an instagram gallery by hashtag (as a workaround since official API change in june 2016)
from django import template
import requests, json
register = template.Library()
@register.simple_tag
def instafeed(hashtag, count):
"""Simply use with autoescapeoff, for example: {% autoescape off %}{% instafeed 'manifeste16' 8 %}{% endautoescape %}"""
html = ''
<script>
$('.store').on('click', function () { // something with the class store clicked
var storeStorageKey = [];
$('input[name="pro"]:checked').each(function(i){
storeStorageKey[i] = $(this).val();
});
// store id of the item
<!DOCTYPE html>
<!--
**********************************************************************************************************
Copyright (c) 2016 Kamleshyadav.
********************************************************************************************************** -->
<!--
Template Name: Fixit - Multipurpose Construction & Building HTML
Version: 1.0.1
Author: Kamleshyadav
<script type="text/javascript" src="<?php echo base_url(); ?>assets/front/js/jquery-1.11.3.js"></script>
<style type="text/css">
img.login-social-icons {
width: 80px;
}
.registration{
margin-top: 65px;
http://quickblox.github.io/quickblox-javascript-sdk/samples/chat/#
<!DOCTYPE html>
<html>
<head>
<script src="http://code.angularjs.org/1.2.0-rc.2/angularjs.js"></script>
<script>
function mainController($scope)
{
$scope.data =
{
<script type="text/javascript" src="<?php echo base_url(); ?>assets/front/js/jquery-1.11.3.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/front/js/knockout-3.4.0.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/front/js/moment.js"></script>
<br>
<br>
<br><br>
<br>
<br>
<br>
<br>