- Run this command in terminal:
sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/site.dev.conf
- Open that file in your favourite editor:
sudo vi /etc/apache2/sites-available/site.dev.conf
<?php | |
// app/database/seeds/DatabaseSeeder.php | |
/** | |
* DatabaseSeeder | |
*/ | |
class DatabaseSeeder extends Seeder { | |
/** |
<?php | |
$siswa = array( | |
array( | |
'nama' => 'Heru Rusdianto', | |
'umur' => 21 | |
), | |
array( | |
'nama' => 'Ibnu Rusdianto', | |
'umur' => 12 |
{ | |
"font_size": 12, | |
"margin": 0, | |
"translate_tabs_to_spaces": true, | |
"indent_to_bracket": true, | |
"highlight_line": true, | |
"trim_trailing_white_space_on_save": true, | |
"default_line_ending": "unix", | |
"shift_tab_unindent": true, | |
"highlight_modified_tabs": true, |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Javascript Date Interval</title> | |
<!-- | |
* from benjour answer http://goo.gl/gZWQka | |
* http://goo.gl/89pfQw | |
--> | |
</head> | |
<body> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Progress Bar Every Second</title> | |
<!-- Latest compiled and minified CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> |
sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/site.dev.conf
sudo vi /etc/apache2/sites-available/site.dev.conf
<?php namespace App; | |
use Illuminate\Auth\Authenticatable; | |
use Illuminate\Auth\Passwords\CanResetPassword; | |
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract; | |
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract; | |
use Illuminate\Database\Eloquent\Model; | |
/** | |
* Class User |
<?php namespace App; | |
use DB; | |
use Illuminate\Auth\Authenticatable; | |
use Illuminate\Database\Eloquent\Model; | |
use Illuminate\Auth\Passwords\CanResetPassword; | |
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract; | |
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract; | |
class User extends Model implements AuthenticatableContract, CanResetPasswordContract { |
Script:
var number;
number = 1000000;
number.toLocaleString();
number.toLocaleString('id-ID');
number = 1500000.59
number.toLocaleString();
def implode(ArrayList inputArray, String glueString) | |
{ | |
/** Output variable */ | |
String output = ""; | |
if (inputArray.size() > 0) | |
{ | |
StringBuilder sb = new StringBuilder(); | |
sb.append(inputArray[0]); |