This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DATABASE IF NOT EXISTS belajar; | |
USE belajar; | |
DROP TABLE IF EXISTS customers; | |
CREATE TABLE IF NOT EXISTS customers( | |
id int PRIMARY KEY AUTO_INCREMENT, | |
nama VARCHAR(255) NOT NULL, | |
alamat VARCHAR(255) NOT NULL, | |
kota VARCHAR(255) NOT NULL, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void handleFilterDuplicate() { | |
this.lists.Clear(); | |
listAll.Items.Clear(); | |
for (int i = 0; i < list1.Items.Count; i++ ) | |
{ | |
string a = list1.Items[i].ToString(); | |
Console.WriteLine(a); | |
if (isNumExist(Int32.Parse(a)) == false) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
{ | |
"_id": "608a281159277c0a6c189782", | |
"nama_lengkap": "AAA BBB", | |
"nama_startup": "EGroceriees", | |
"jabatan": "CEO", | |
"kota": "KL", | |
"handphone": "85565686", | |
"tahun_berdiri": "2012", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-10-11T07:50:50.908Z","extensionVersion":"v3.4.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/^(?=.*[A-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[$@])(?!.*[iIoO])\S{6,12}$/ | |
/^ // Start of the string. | |
(?=.*[A-z]) // must contains a characters (lowercase or uppercase characters). | |
(?=.*[a-z]) // must contains one lowercase characters. | |
(?=.*[A-Z]) // must contains one uppercase characters. | |
(?=.*[0-9]) // must contains one digit from 0-9. | |
(?=.*[$@]) // must contains one special symbols in this list $ and @. | |
(?!.*[iIoO]) // match any charcuter except i I o and O. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$request->file('photo')->move(public_path($target), $name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i 's/\r$//' filename |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
Models::orderByRaw('RAND()'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$all::pagination(); | |
$all->getCollection()->transform(function($v){ | |
return $this->transform($v); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Hewan { | |
String nama; | |
String jenis; | |
public void Suara(){ | |
System.out.println(this.nama+" Bersuara!"); | |
} | |
} | |
class Unggas extends Hewan { | |
String keluarga; |
NewerOlder