A basic example on how to show fullscreen images (if possible) within a modal using a slide box
Forked from Roberto De la Fuente O.'s Pen Ionic Modal + Slide Box - Fullscreen images.
A Pen by Michael Frohberg on CodePen.
using System.Web.Mvc; | |
namespace DemoApp.Areas.Demo | |
{ | |
public class DemoAreaRegistration : AreaRegistration | |
{ | |
public override string AreaName | |
{ | |
get | |
{ |
#install as windows service | |
#---- config file: mongo.cfg ------ | |
dbpath=D:\Program Files\mongodb\data | |
logpath=D:\Program Files\mongodb\log\mongo.log | |
logappend=true | |
bind_ip = 127.0.0.1 | |
#--------------------------- |
var Share = {}; | |
Share.fb = function (link, title, sumary, image, winWidth, winHeight) { | |
var shareUrl = 'https://www.facebook.com/dialog/feed?'; | |
shareUrl += 'app_id=141676832590601'; | |
shareUrl += '&link=' + encodeURIComponent(link); | |
shareUrl += '&picture=' + encodeURIComponent(image); | |
shareUrl += '&name=' + title; | |
shareUrl += '&caption=' + ""; | |
shareUrl += '&description=' + sumary; |
#-*- coding:utf-8 -*- | |
#------------------------# | |
#requirement: peewee, requests, beautifulsoup4 | |
#-------------------------# | |
import re, os | |
import datetime | |
import requests | |
import json, random | |
from bs4 import BeautifulSoup |
/* example: | |
Pager.argName = 'page'; | |
Pager.jsonData = ''; | |
Pager.pagerAppendToId = 'photo-paging'; | |
Pager.pageSize = 16; | |
Pager.prefixUrl = "/api/LoadStoreImage?account="+account+"&shopId="+<%=MerchtId %> + "&pageSize=16"; | |
Pager.showPageNumbers = 5; | |
Pager.callback = function(result){ | |
var html = ''; | |
var data = result.data; |
@echo off | |
rem 当前bat的作用 | |
echo ==================begin======================== | |
cls | |
SET NGINX_PATH=d: | |
SET NGINX_DIR=d:\nginx1.6\ | |
color 0a | |
TITLE Nginx 管理程序 |
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: supervisord | |
# Required-Start: $remote_fs | |
# Required-Stop: $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Example initscript | |
# Description: This file should be used to construct scripts to be | |
# placed in /etc/init.d. |
A basic example on how to show fullscreen images (if possible) within a modal using a slide box
Forked from Roberto De la Fuente O.'s Pen Ionic Modal + Slide Box - Fullscreen images.
A Pen by Michael Frohberg on CodePen.
#!/bin/bash | |
# This script will automatically set up a single node Flynn Cluster on your linux box | |
# Fresh Flynn install with domain provided by the xip.io service | |
# Tested with Base Image: Ubuntu 14.04 x64 @ DigitalOcean droplet | |
# @date 16 Nov 2015 | |
# @author Edu Wass (eduwass at gmail com) | |
echo '---- START SETUP ----' |
#!/bin/bash | |
# | |
# consul Manage the consul agent | |
# | |
# chkconfig: 2345 95 95 | |
# description: Consul is a tool for service discovery and configuration | |
# processname: consul | |
# config: /etc/consul.conf | |
# pidfile: /var/run/consul.pid |