Skip to content

Instantly share code, notes, and snippets.

🐺
Hellow

SamBrishes SamBrishes

🐺
Hellow
Block or report user

Report or block SamBrishes

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@SamBrishes
SamBrishes / ajax.js
Last active Jan 19, 2019
Vanilla JavaScript Handler, similar to jQuery.ajax()
View ajax.js
/*
| A VANILLA JAVASCRIPT AJAX HANDLER
| ... similar to jQuery.ajax()
|
| @version 0.1.0
| @author SamBrishes, pytesNET
| @license Public Domain
| @article https://www.pytes.net/code/just-vanilla-06-xmlhttprequests/
|
| @param string The URL, which should be called
@SamBrishes
SamBrishes / msdos_unix_stamps.php
Last active May 12, 2018
PHP: Convert msDOS to Unix and Unix to msDOS [Timestamp]
View msdos_unix_stamps.php
<?php
/*
| Source:
| https://msdn.microsoft.com/en-us/library/windows/desktop/ms724274(v=vs.85).aspx
| http://zipios.sourceforge.net/zipios-v2.0/dostime_8c_source.html
*/
/*
| CONVERT msDOS TIMESTAMP INTO UNIX TIMESTAMP
View class.neocities.php
<?php
/*
| Neocities for PHP
| @file ./class.neocities.php
| @author SamBrishes, pytesNET
| @version 0.1.0 [0.1.0] - Alpha
|
| @license CC0 - Public Domain
*/
You can’t perform that action at this time.