Put these code in your app.
<style>
.fix-fouc {
opacity: 0;
/* use this one if you need more compatibility */
/* display: none; */
}
</style>
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-1.9.1.js"></script> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<h3>Image Validator: </h3> |
Put these code in your app.
<style>
.fix-fouc {
opacity: 0;
/* use this one if you need more compatibility */
/* display: none; */
}
</style>
import {Component, ElementRef, ViewChild} from '@angular/core'; | |
import {NavController, NavParams, ViewController} from 'ionic-angular'; | |
@Component({ | |
selector: 'page-image-preview-modal', | |
templateUrl: 'image-preview-modal.html', | |
}) | |
export class ImagePreviewModalPage { | |
@ViewChild('myImg') myImg:ElementRef; |
# Path to your oh-my-zsh installation. | |
export ZSH=~/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="robbyrussell" | |
# Uncomment the following line to use case-sensitive completion. |
server { | |
listen 80; | |
server_name localhost; | |
root /Users/YOUR_USERNAME/Sites; | |
access_log /Library/Logs/default.access.log main; | |
location / { | |
include /usr/local/etc/nginx/conf.d/php-fpm; | |
} |
sudo apt install vim zip unzip git node
git https://stackoverflow.com/questions/7335420/global-git-ignore
git config --global core.excludesfile '~/.gitignore'
server { | |
listen 80; | |
index index.php index.html index.htm; | |
root /var/www/example/public/; | |
server_name example.com; | |
location ^~ /api { | |
try_files $uri /index.php?$query_string; | |
} |
// Note: these code is tooooo old. | |
// version 1 | |
function(t) { | |
function e(t) { | |
for (var e, i = ("" + t).split("."), r = window, o = 0; e = i[o]; o++) n.call(r, e) || (r[e] = {}), r = r[e]; | |
return r | |
} | |
var n = Object.prototype.hasOwnProperty; | |
t.packager = function(t, n) { |
Instructions on how to setup a secured Jenkins CI.
$ wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
$ sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list$ .d/jenkins.list'
$ sudo apt-get update
$ sudo apt-get install jenkins
server { | |
listen 80 default_server; | |
server_name example.com www.example.com; | |
access_log /srv/www/example.com/logs/access.log; | |
error_log /srv/www/example.com/logs/error.log; | |
root /srv/www/example.com/public; | |
index index.php index.html; |