View auto_file_download.html
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>Please Subscribe</title> | |
</head> | |
<body> | |
<script> | |
// File name and contents |
View linux-commands.json
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
{ | |
"data": [ | |
{ | |
"command": "anytopnm", | |
"description": "attempt to convert an unknown type of image file to a portable anymap" | |
}, | |
{ | |
"command": "aplay", | |
"description": "command-line sound recorder and player for ALSA soundcard driver" | |
}, |
View aethelwuf_starting.json
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
{ | |
"id":1, | |
"name":"Aethelwuf", | |
"inventory":[ | |
{ | |
"name":"Trinket", | |
"quantity":1 | |
}, | |
{ | |
"name":"Mace", |
View php
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 Hash; | |
/** | |
* PHP implementation of the MD5 algorithm according RFC-1321. | |
* This implementation has support for hash context serialization which the php inbuilt HashContext has not. | |
*/ | |
class MD5 | |
{ | |
/** |
View Main.java
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
/* | |
* Heap's algorithm | |
* | |
* Gives all permutations for the numbers 1 through n. | |
* | |
* Java implementation for psuedocode on the algorithm's Wikipedia article: | |
* https://en.wikipedia.org/wiki/Heap%27s_algorithm | |
*/ | |
import java.util.Scanner; |