Skip to content

Instantly share code, notes, and snippets.

#include <sol.hpp>
#include <iostream>
#include <tuple>
void breaking() {
std::cout << "Nice!~\n";
}
std::tuple<double, double> breaking_multi() {
return std::make_tuple(567.2, 2.567);
# This file has been generated by shinobi version 0.9.5
ninja_required_version = 1.3
builddir = bin
objdir = obj
cxx = g++
cxxflags = -std=c++11 -pedantic -pedantic-errors -Wextra -Wall -O2 -DNDEBUG
incflags = -I"."
linkflags = -static
@Rapptz
Rapptz / Bootstrap.py
Created September 2, 2013 04:24
Compilation helper. bootstrap
#!/usr/bin/env python
# Python 2.7
import os
import sys
import errno
import glob
# Meta data
project_name = 'untitled'
@Rapptz
Rapptz / breaking.md
Last active November 29, 2015 00:32

Breaking changes from v0.8.0 to v0.9.0:

  • All HTTP requests now throw exceptions.
  • send_message no longer takes in a string ID for destination.
    • Use discord.Object(id='...') instead.
  • discord.InvalidEventName is removed
  • discord.InvalidDestination is renamed to discord.ClientException
  • on_server_create was renamed to on_server_join
  • on_server_delete was renamed to on_server_remove
  • A lot of the factory methods in discord.Colour were renamed.
Appendix A. Collected ABNF for URI
URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
hier-part = "//" authority path-abempty
/ path-absolute
/ path-rootless
/ path-empty
URI-reference = URI / relative-ref
#include <thread>
#include <chrono>
int main() {
while(true) {
std::this_thread::sleep_for(std::chrono::seconds(60));
}
}
@Rapptz
Rapptz / tnl.md
Created August 6, 2015 04:05
Splatoon level chart
Level EXP Required
21 24
22 48
23 72
24 96
25 120
26 144
27 168
28 192
[0021:0213] Skill/14200.img
Traceback (most recent call last):
File "C:\MapleStory\WzReader\run.py", line 178, in <module>
result = func(*args, **kwargs)
File "C:\MapleStory\WzReader\MGeneral.py", line 196, in Unpack
newWzFile.ExtractFile(eachWzFile)
File "C:\MapleStory\WzReader\IMGReader\CWzFile.py", line 254, in ExtractFile
self.Extract73type()
File "C:\MapleStory\WzReader\IMGReader\CWzFile.py", line 54, in Extract73type
self.ExtractBlocks(ValueLocation)

I do not care about "moderator's discretion". However if you truly want that to be a rule then that should be its own separate rule. Rule 7. But this isn't about "moderator's discretion". This is how rule 1 talks about "low quality" content in a completely vague matter that lends itself to be used as mostly as "moderator's discretion". That's not how rules are supposed to be.

It doesn't help that the image of what quality standards are set on reddit are based on the core principles of reddit leads to a lot of people saying "but I thought our votes were what count" but the entire mod team gladly jumps on that point but saying "no no, reddit doesn't work very well". Throw "moderator's discretion" + vague rule 1A into the mix and you will have this scenario keep replaying until the end of time. Sounds fun.

All I'm saying is that if you want the precious "moderator's discretion" then it should be its own separate rule and then make rule 1 as clear as po

type: comment
body (full-exact, regex, case-sensitive): '^[fF]lair:\s*(64|meta|all|ssb4|melee|brawl|projectm)$'
is_top_level: true
author:
is_submitter: true
message: |
Flair successfully applied on your post [{{title}}]({{permalink}}).
parent_submission:
set_flair: ["{{match-2}}", "{{match-2}}"]
overwrite_flair: true