This file contains hidden or 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
D: | |
cd "Program Files\Oracle\VirtualBox" | |
VBoxManage.exe setextradata "Arch2" "CustomVideoMode1" "1920x1200x24" |
This file contains hidden or 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
I was proudly shown some production "web code" yesterday. Cutting | |
edge stuff, apparently. A single file contained HTML, css, and JS. | |
The first thing that hit me is JS didn't contain any semicolon's - | |
something I found disquieting. I was told "no, we don't use them | |
any more". But what about the problems with that pointed out by | |
"Javascript - The Good Parts", I asked. The reply was, "oh, no | |
one does this stuff without running it through an aggressive | |
linter, so its completely safe - mostly strictly type safe in | |
fact". (That was nice - evidently at least some of the scars |
This file contains hidden or 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
prepositions = """ | |
aboard, about, above, across, after, against, along, amid, among, anti, | |
around, as, at, before, behind, below, beneath, beside, besides, between, | |
beyond, but, by, concerning, considering, despite, down, during, except, | |
excepting, excluding, following, for, from, in, inside, into, like, minus, | |
near, of, off, on, onto, opposite, outside, over, past, per, plus, | |
regarding, round, save, since, than, through, to, toward, towards, under, | |
underneath, unlike, until, up, upon, versus, via, with, within, without | |
""".split(', ') |
This file contains hidden or 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
* Now talking on ##secretsecret123 | |
<Wolfy87> So stealthy. | |
<mrout> Sooooo stealthy. | |
* ChemicalRascal ([email protected]) has joined ##secretsecret123 | |
<ChemicalRascal> Boo. | |
<Wolfy87> 3/5 or so. Not bad. | |
<mrout> Secret secret indeed. | |
<mrout> Not bad at all. | |
<Wolfy87> Are we really expecting anyone else? | |
<ChemicalRascal> DarkSpartan, Terry indicated that they were able to make the time, I think. |
This file contains hidden or 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
import collections | |
import random | |
def randprog(length=12): | |
return ''.join(random.choice('><+-[]') for i in range(length)) | |
def execute(prog, tape): | |
i = 0 | |
j = 0 | |
l = len(prog) |
This file contains hidden or 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
# Traditional Makefile style: (different wildcard symbol) | |
# \forall_{$} $.c -> $.o | |
*.o: *.c | |
gcc -c $.c -o $.o | |
# From and to variables: | |
# Using $^ (from) and $v (to) | |
*.o: *.c | |
gcc -c $^ -o $v |
This file contains hidden or 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
/* | |
* Evaluate the expression used in a ":for var in expr" command. | |
* "arg" points to "var". | |
* Set "*errp" to TRUE for an error, FALSE otherwise; | |
* Return a pointer that holds the info. Null when there is an error. | |
*/ | |
void *eval_for_line(char_u *arg, int *errp, char_u **nextcmdp, int skip) | |
{ | |
forinfo_T *fi; | |
char_u *expr; |
This file contains hidden or 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
#include <iostream> | |
#include <limits> | |
#include <stdexcept> | |
#include <exception> | |
using namespace std; | |
static const unsigned long long int max_ull | |
= std::numeric_limits<unsigned long long int>::max(); | |
constexpr unsigned long long int |
This file contains hidden or 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
<milesrout> quote 1 | |
<scybot> [1/1] 2012-04-09 <rmmh> dcpu studio feels like a post-USSR pascal programmer wrote it | |
<milesrout> quote 2 | |
<scybot> [1/1] 2012-04-10 <Tobba> this is genius as fuck | |
<milesrout> quote 3 | |
<scybot> [1/1] 2012-04-10 <Tobba> this is artistic as fuck | |
<milesrout> quote 4 | |
<scybot> [1/1] 2012-04-10 <Tobba> the entire function is pure magic lol | |
<milesrout> quote 5 | |
<scybot> [1/1] 2012-04-10 <MostAwesomeDude> I'm unquotable. |
This file contains hidden or 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
<milesrout> quote 1 | |
<scybot> [1/1] 2012-04-09 <rmmh> dcpu studio feels like a post-USSR pascal programmer wrote it | |
<milesrout> quote rmmh | |
<scybot> no quotes found | |
<milesrout> quote 2 | |
<scybot> [1/1] 2012-04-10 <Tobba> this is genius as fuck | |
<milesrout> quote 3 | |
<scybot> [1/1] 2012-04-10 <Tobba> this is artistic as fuck | |
<milesrout> quote 4 | |
<scybot> [1/1] 2012-04-10 <Tobba> the entire function is pure magic lol |