Skip to content

Instantly share code, notes, and snippets.

@nikibobi
Last active December 20, 2015 17:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikibobi/6169035 to your computer and use it in GitHub Desktop.
Save nikibobi/6169035 to your computer and use it in GitHub Desktop.
nigga
module nigga;
import std.algorithm : reduce;
import std.conv : to;
import std.process : browse;
import std.stdio : write, writeln, readln;
import std.string : toLower, capitalize, toUpper;
void main() {
"http://www.youtube.com/watch?v=0itOCgJtNVU".browse;
"Yeah, mother fucker".__,
"Sup"._,_,nigga,__,
"Gangsta Rap"._,_,nigga,__,
Nigga,__,
7.Nigga,"im %100"._,_,nigga,__,
7.Nigga,"im %200"._,_,nigga,__,
__,
7.Nigga,"why do police hate"._,_,nigga,"s?".__,
7.Nigga,"they hate us cause our dicks is bigga".__,
7.Nigga,"why you call yourself a"._,_,nigga,"?".__,
7.Nigga,"cause im a mother fucking"._,_,nigga,"!".__,
7.Nigga,"why you drink so much beer?".__,
7.Nigga,"I dont drink beer, I drink malt liquor".__,
__,
"Cause I'm a"._,_,nigga,"!".__,
"I'm a motherfuckin'"._,_,nigga,_,"man, I ain't all that African-American shit".__,
"Fuck that I'm a"._,_,nigga,_,"I ain't mixed I'm a"._,_,nigga,__,
NIGGA,","._,_,nigga,","._,_,"you already know".__,
__,
7.Nigga,"why you eat so much chicken?".__,
7.Nigga,"why won't you make it in my kitchen?".__,
7.Nigga,"why you call them hoes bitches?".__,
7.Nigga,"cause them hoes is bitches!".__,
7.Nigga,"why you stay in the hood?".__,
7.Nigga,"cause I dont like livin by peckerwoods".__,
7.Nigga,"why you aint got no job?".__,
7.Nigga,"seven dollars all wont feed me dog".__,
7.Nigga,"why yo pants gotta sag?".__,
7.Nigga,"cause hand-me-downs downs is all a"._,_,nigga,_,"has!".__,
7.Nigga,"why you scared to go to court?".__,
__,
"Shit, cause the judge look just like that put our ass on the boat and made me a "._,nigga,__,
__,
"Mama Rag".isA!nigga,__,
"Durag".isA!nigga,__,
"Ballstics".isA!nigga,__,
"And I'm Uretha's"._,_,nigga,__,
nigga,"!".__;
readln;
}
//change the magical word and see what happens
enum string Word = "nigga";
void _(string text = " ") {
text.write;
}
void __(string text = " ") {
text.writeln;
}
void nigga(alias f = toLower, string sep = "")(int n = 1) {
if(n == 1) {
_(reduce!((a,c)=>a~c.to!string~sep)("", f(Word)[0..$-1])~f(Word)[$-1..$]);
} else {
foreach(i; 0..n-1)
nigga!(f, sep),_;
nigga!(f, sep),", "._;
}
}
alias nigga!(capitalize) Nigga;
alias nigga!(toUpper, "-") NIGGA;
void isA(alias what)(string who) {
who._,_,"is a"._,_,what;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment