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
using System; | |
using System.Collections.Generic; | |
using RedditSharp; | |
using RedditSharp.Things; | |
namespace RedditScanner | |
{ | |
public class RedditScreener | |
{ |
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 | |
if (isset($_POST['login']) && $_POST['login']) { | |
if (!isset['username'] && !isset['email']) { | |
echo 'No username or email provided!'; | |
exit(1); | |
} | |
if (!isset['passwd']) { | |
echo 'No password provided!'; | |
exit(1); | |
} |
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
function lex(code) { | |
code = code.split('\n'); | |
code = { | |
src: code, | |
height: code.length, | |
width: 0 | |
} | |
code.src = code.src.map(line => { code.width = Math.max(code.width, line.length); return line.split(''); }); |