To login into mysql, enter db_password
mysql -u db_user -p
Create database
CREATE DATABASE db_name;
"dependencies": { | |
"@angular/common": "2.0.0-rc.6", | |
"@angular/compiler": "2.0.0-rc.6", | |
"@angular/compiler-cli": "0.6.0", | |
"@angular/core": "2.0.0-rc.6", | |
"@angular/forms": "2.0.0-rc.6", | |
"@angular/http": "2.0.0-rc.6", | |
"@angular/platform-browser": "2.0.0-rc.6", | |
"@angular/platform-browser-dynamic": "2.0.0-rc.6", | |
"@angular/router": "3.0.0-rc.2", |
import {Component, OnInit} from "@angular/core"; | |
import {ArticleService} from "./article.service"; | |
import {Article} from "./article"; | |
@Component({ | |
moduleId: module.id, | |
selector: 'article', | |
template: ` | |
<h1>All Articles</h1> | |
<hr> | |
<div *ngFor="let article of articles"> |
[ | |
{ | |
"USD" : { | |
"symbol" : "$", | |
"name" : "US Dollar", | |
"symbol_native" : "$", | |
"decimal_digits" : 2, | |
"rounding" : 0, | |
"code" : "USD", | |
"name_plural" : "US dollars" |
[ | |
{ | |
"symbol": "$", | |
"name": "US Dollar", | |
"symbol_native": "$", | |
"decimal_digits": 2, | |
"rounding": 0, | |
"code": "USD", | |
"name_plural": "US dollars" | |
}, |
#!/bin/bash | |
# redirect stdout/stderr to a file | |
exec > /home/daily/webhooks/dailycricket-dev/output.log 2>&1 | |
# pull latest code from gitlab | |
echo "Starting to pull from gitlab..." | |
git pull origin master | |
# remove node_modules | |
echo "Removing node_modules folder..." |
<?php | |
return [ | |
// Bengali (Bangla) | |
'bn' => [ | |
'ভ্ল' => 'vl', | |
'পশ' => 'psh', | |
'ব্ধ' => 'bdh', | |
'ব্জ' => 'bj', | |
'ব্দ' => 'bd', |
// first get ids from table | |
$exist_ids = DB::table('shipping_costs')->pluck('area_id')->toArray(); | |
// get requested ids | |
$requested_ids = $request->get('area_ids'); | |
// get updatable ids | |
$updatable_ids = array_values(array_intersect($exist_ids, $requested_ids)); | |
// get insertable ids | |
$insertable_ids = array_values(array_diff($requested_ids, $exist_ids)); | |
// prepare data for insert | |
$data = collect(); |
isHydrated
in data property and set default value false
.data: {
return {
isHydrated: false,
};
},
breakpoint
computed property and set some default value of $vuetify breakpoints.rsync -avz -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" --progress /var/www/html/example.com/storage/app/public forge@ip_address:/home/forge/example.com/storage/app |