Filter | Description | Example |
---|---|---|
allintext | Searches for occurrences of all the keywords given. | allintext:"keyword" |
intext | Searches for the occurrences of keywords all at once or one at a time. | intext:"keyword" |
inurl | Searches for a URL matching one of the keywords. | inurl:"keyword" |
allinurl | Searches for a URL matching all the keywords in the query. | allinurl:"keyword" |
intitle | Searches for occurrences of keywords in title all or one. | intitle:"keyword" |
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 | |
$lirik = "doo doo, doo doo doo doo"; | |
$lagu = array("Baby Shark","Mummy Shark","Daddy Shark","Grandma Shark","Granpa Shark","Lets go hunt","Run away","Safe at last","It's the end"); | |
for ($i=0; $i <9; $i++) | |
{ | |
for ($j=0; $j <=5; $j++) | |
{ | |
if($i == $i && $j<4){ | |
if($i == $i && $j<3){ | |
echo''.$lagu[$i].' '.$lirik.' <br>'; |
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
<!doctype html> | |
<html> | |
<head> | |
<title>Baby Shark</title> | |
<link rel="shortcut icon" href="hiu.png" type="image/x-icon" /> | |
<meta charset="UTF-8"> | |
<!--IE Compatibility modes--> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<!--Mobile first--> |
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 | |
$username = "root";// sesuaikan username dengan username database kalian | |
$password = "root";// sesuaikan password dengan password database kalian | |
$host = "localhost";// sesuaikan dengan host yang kalian gunakan, bisa berupa lokal ataupun koneksi ke server dengan ip address | |
$database = "praktikum"; // sesuaikan dengan nama database yang kalian buat. | |
$ |
From here: https://askubuntu.com/a/101877
Create a file called .Xmodmap
in your home directory.
$ vim ~/.Xmodmap
Add the following lines to the file:
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 | |
// Converts a number into a short version, eg: 1000 -> 1k | |
// Based on: http://stackoverflow.com/a/4371114 | |
function number_format_short( $n, $precision = 1 ) { | |
if ($n < 900) { | |
// 0 - 900 | |
$n_format = number_format($n, $precision); | |
$suffix = ''; | |
} else if ($n < 900000) { |