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
ii64@earth:/abc$ sudo fio --name=global --rw=randread --size=640m --name=job1 --name=job2 | |
job1: (g=0): rw=randread, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=psync, iodepth=1 | |
job2: (g=0): rw=randread, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=psync, iodepth=1 | |
fio-3.29-99-g93365 | |
Starting 2 processes | |
job1: Laying out IO file (1 file / 640MiB) | |
job2: Laying out IO file (1 file / 640MiB) | |
Jobs: 2 (f=2): [r(2)][91.7%][r=118MiB/s][r=30.2k IOPS][eta 00m:01s] | |
job1: (groupid=0, jobs=1): err= 0: pid=22040: Sat Feb 19 19:23:23 2022 | |
read: IOPS=15.0k, BW=58.5MiB/s (61.4MB/s)(640MiB/10931msec) |
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 | |
namespace main; | |
define("BACKEND_SOCKET", '<where the unix socket>'); | |
define("BASE_URL", '<where this file located>'); | |
function exit_500($msg) { | |
$msg = rtrim($msg, "\n") . "\nDebug trace:\n"; | |
foreach(debug_backtrace() as $trace) { |
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 | |
// Taken from : https://gist.github.com/ammarfaizi2/ac9639359a1f315f0aedc6a4bbbc60fb | |
$strings = [ | |
"/bin/sh" | |
// "Enter Password: ", | |
// "Enter Password 2: ", | |
// "Enter Password 3: ", | |
// "Wrong Password!\n", |
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
public class Derivative { | |
private static String calculate(int n) { | |
if (n <= 1) return ""; | |
StringBuilder res = new StringBuilder(); | |
res.append(recX(n - 1, false)); | |
res.append(recDX(n - 2)); | |
return res.toString(); | |
} | |
private static String recX(int n, boolean decrease) { |
React recently introduced an experimental profiler API. This page gives instructions on how to use this API in a production release of your app.
Table of Contents
React DOM automatically supports profiling in development mode for v16.5+, but since profiling adds some small additional overhead it is opt-in for production mode. This gist explains how to opt-in.
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 | |
/************/ | |
/************/ | |
function terbilang_tmp($nilai) | |
{ | |
$nilai = abs($nilai); | |
$huruf = array("", "satu", "dua", "tiga", "empat", "lima", "enam", "tujuh", "delapan", "sembilan", "sepuluh", "sebelas"); | |
$temp = ""; | |
if ($nilai < 12) { | |
$temp = " " . $huruf[$nilai]; |
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
#include <string> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include "time.h" | |
void GetLen(FILE * fp, int &len); | |
void ChangeExtension(char *fname, char *newExt); | |
int StrReplace(char *target, const char *needle, const char *replacement, int len); | |
void CPPReplace(std::string &data); |
- Pembicara : Yunindyo Prabowo (@ypraw)
- Waktu :
- Materi : Ngoding Web dengan Flask
Text Editor : vscode, atom,sublime, notepads ++, vim, pycharm, pilih salah satu atau ada pilihan lain, terserah kalian yang penting nyaman.
Environment : Python 3.6, mysql db( xampp,lampp, etc)
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 | |
namespace Pentagonal\RujakLegi; | |
/** | |
* Class Collection | |
* @package Pentagonal\RujakLegi | |
*/ | |
class Collection implements \ArrayAccess, \IteratorAggregate, \Countable | |
{ | |
/** |
NewerOlder