Skip to content

Instantly share code, notes, and snippets.

View Gusase's full-sized avatar
✴️
Saturnine

Gusesa Abida Ghifar Gusase

✴️
Saturnine
  • Indonesia, Earth
  • 13:09 (UTC)
View GitHub Profile
@Gusase
Gusase / ascii.txt
Created August 18, 2024 18:51 — forked from itsbalamurali/ascii.txt
ASCII Art ;)
_ __ _ __ __ __
| | / /___ _____ __ _____ / | / /__ / /__ ______ _____/ /_______
| | / / __ `/ __ `/ | / / _ \ / |/ / _ \/ __/ | /| / / __ \/ ___/ //_/ ___/
| |/ / /_/ / /_/ /| |/ / __/ / /| / __/ /_ | |/ |/ / /_/ / / / ,< (__ )
|___/\__,_/\__,_/ |___/\___/ /_/ |_/\___/\__/ |__/|__/\____/_/ /_/|_/____/
______ ______ __ __
/_ __/__ ____ _____ ___ / ____/___ / /_ ___ ________ ____ ____/ /___
/ / / _ \/ __ `/ __ `__ \ / / / __ \/ __ \/ _ \/ ___/ _ \/ __ \/ __ /_ /
/ / / __/ /_/ / / / / / / / /___/ /_/ / / / / __/ / / __/ / / / /_/ / / /_
git log \
--color \
--decorate \
--all \
--graph \
--pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' \
--abbrev-commit
function showPreview(event){
if(event.target.files.length > 0){
var src = URL.createObjectURL(event.target.files[0]);
var preview = document.getElementById("file-ip-1-preview");
preview.src = src;
preview.style.display = "block";
}
@Gusase
Gusase / tmstmp.php
Last active October 13, 2023 11:36
unix epoch
<?php
// ref: https://stackoverflow.com/questions/557959/
$mils = round(microtime(true) * 1000);
$sec = ceil($mils / 1000);
echo date("D M d Y H:i:s",$sec);
echo " ---> ";
echo $mils;
@Gusase
Gusase / ev.txt
Created July 12, 2023 02:09
nothing here lol
//
#
<!-->
/**/