Laravel Migration Check Foreign Key if exist tested on laravel 5.0
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
Laravel Migration Check Foreign Key if exist tested on laravel 5.0
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
// Brands | |
$brand-primary: #3097D1; | |
$brand-info: #8eb4cb; | |
$brand-success: #2ab27b; | |
$brand-warning: #cbb956; | |
$brand-danger: #bf5329; | |
.bs-callout { | |
padding: 20px; | |
margin: 20px 0; |
rhc app-deploy master --app <domain/appname> | |
rhc env list -a <domain/appname> | |
rhc port-forward -a <domain/appname> | |
#"recover" jenkins account | |
cat jenkins/env/JENKINS_USERNAME | |
cat jenkins/env/JENKINS_PASSWORD |
// depends on jQuery | |
var PreloaderClass = function (urls) { | |
// holds the URLs passed | |
this.urls = urls; | |
// base loading | |
this.loadUrl = function ( url ) { | |
var supported, deferredLoading, xhr; |
function getFileMd5 ( file ) { | |
var dfd = jQuery.Deferred(); | |
/** | |
* reference: | |
* https://github.com/satazor/SparkMD5 | |
*/ | |
var blobSlice = File.prototype.slice || File.prototype.mozSlice || File.prototype.webkitSlice, | |
chunkSize = 2097152, // Read in chunks of 2MB | |
chunks = Math.ceil(file.size / chunkSize), | |
currentChunk = 0, |