LNMP
- Linux
- Nginx
- Mysql
- Php
LNMP
DATA="$(wget https://www.phpmyadmin.net/home_page/version.txt -q -O-)" | |
URL="$(echo $DATA | cut -d ' ' -f 3)" | |
VERSION="$(echo $DATA | cut -d ' ' -f 1)" | |
wget https://files.phpmyadmin.net/phpMyAdmin/${VERSION}/phpMyAdmin-${VERSION}-english.tar.gz | |
tar xvf phpMyAdmin-${VERSION}-english.tar.gz | |
rsync -av phpMyAdmin-${VERSION}-english/ /usr/share/phpmyadmin |
<?php | |
/** | |
* JavaScript SPA Valet Driver | |
*/ | |
class JavaScriptSPAValetDriver extends ValetDriver | |
{ | |
/** | |
* Serves | |
* |
Only swipe events available for IonItemSliding by default. So, here the idea to add click event.
window.origin = window.location.href.replace(window.location.hash,'').replace(window.location.search,'').replace('#',''); | |
var reset_app = function() | |
{ | |
window.open(window.origin,'_top'); | |
} | |
/** | |
* http://ihsanberahim.com | |
*/ |
{ | |
copy: { | |
dist: { | |
files: [{ | |
expand: true, | |
dot: true, | |
cwd: '<%= yeoman.app %>', | |
dest: '<%= yeoman.dist %>', | |
src: [ | |
'*.{ico,txt}', |
alias dota2="open steam://run/570//%22%20%22-novid%22%20%22-autoconfig%22" | |
alias dota2_home="open steam://run/570//%22%20%22-novid%22%20%22-autoconfig%22%20%22-windowed%22%20%22-w%22%20%221600%22%20%22-h%22%20%22900%22" | |
alias dota2_office="open steam://run/570//%22%20%22-novid%22%20%22-autoconfig%22%20%22-windowed%22%20%22-w%22%20%221280%22%20%22-h%22%20%221024%22" |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<p>Please download this jsbin file to make sure it is works</p> | |
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-animated-pages/core-animated-pages.html"> | |
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html"> | |
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-down.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-up.html"> | |
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html"> |