#player-body video
{
transform: scale(2);
top: 100px !important;
left: 0 !important;
}
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
// ==UserScript== | |
// @name Adminer Tweak | |
// @description simple dashboard tweak for adminer.php (database management) | |
// @version 2019.10.16 | |
// @namespace https://gist.github.com/anovsiradj/fb4254d6fb6eb6f8bc08d3686482aaec | |
// @run-at document-end | |
// @match http://localhost/adminer.php* | |
// @match http://localhost/adminer*.php* | |
// @author anovsiradj (mayendra costanov) | |
// @iconURL https://www.adminer.org/favicon.ico |
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
if(/.co.id/.test(window.location.hostname)) window.location.replace(window.location.href.replace('.co.id','.com/ncr')); |
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 | |
$s = __FILE__; | |
$l = __DIR__.'/tmp.log'; | |
$p = __DIR__.'/tmp.pid'; | |
$z=$c=$r=null; | |
if (in_array('bg',$argv)) { | |
file_put_contents($p,getmypid()); | |
die; | |
} |
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 | |
/** | |
* | |
* WARNING: DATA LOSS; (YOU HAVE BEEN WARNED) | |
* | |
* @version 20160124071141 | |
* @version 20201023144831 | |
* @author anovsiradj | |
* @author Touqeer Shafi |
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
Show hidden characters
[ | |
{ | |
"keys": ["ctrl+s"], | |
"command": "noop" | |
}, | |
{ | |
"keys": ["F4"], | |
"command": "noop" | |
}, | |
{ |
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
void main() { | |
String tmp; | |
print(tmp.toString()); | |
print('null'); | |
print(tmp.toString() == '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
/* | |
* melakukan konversi `Map<dynamic, dynamic>` ke `Map<String, String>`. | |
* dengan ketentuan, `null` harus menjadi `` (string kosong, bukan string `'null'`). | |
* yang digunakan sebagai body pada http-request. | |
*/ | |
void main() { | |
Map<dynamic, dynamic> params = { | |
'null': null, | |
'int0': 0, |
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
// https://stackoverflow.com/a/53765893 | |
class _DumpV1 { | |
@override | |
noSuchMethod(Invocation invocation) { | |
print(invocation.memberName); | |
int index = invocation.memberName.toString().length; | |
for (final e in invocation.positionalArguments) { | |
print(e); | |
if (index < e.toString().length) index = e.toString().length; | |
if (index > 1024) index = 1024; |
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
// @param st: The string that will be trimmed. @default whitespace | |
String.prototype.strim = function(st) { | |
st = st || "\\s"; | |
return this.replace(new RegExp("^"+st+"+|"+st+"+$",'g'),''); | |
} | |
/* | |
example: | |
"alorem ipsuma".strim('a'); // return "lorem ipsum" | |
" lorem ipsum ".strim(); // return "lorem ipsum" |