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
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package latihan; | |
/** | |
* | |
* @author Bagus |
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
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package latihan; | |
/** | |
* | |
* @author Bagus |
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
export NODE_OPTIONS=--max-old-space-size=8192 |
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
<center> | |
<table border="1" width="600" cellspacing="0" cellpadding="4"> | |
<tbody> | |
<tr> | |
<td colspan="2" valign="top" height="40"> | |
<center>MIDLE TEST</center> | |
</td> | |
</tr> | |
<tr> | |
<td width="200"> |
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; |
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
<?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
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 | |
$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
/^(?=.*[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. |