I hereby claim:
- I am eqdw on github.
- I am eqdw (https://keybase.io/eqdw) on keybase.
- I have a public key whose fingerprint is 2FA5 BEFD 659F A4AD B4B6 3ED4 CC84 3CA9 3E26 942A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# I want to make a utility class that encapsulates a bunch of useful | |
# methods. It doesn't really need any state, it's really more of a | |
# namespace to put the methods in. Say, for example, a math utility | |
# Math.random => random number | |
# Math.sin(x) => sine(x) | |
# Math.PI => 3.14159265...... | |
# etc. | |
# Wat do? |
I hereby claim:
To claim this, I am signing this object:
If (user_logged_in? && validated?) || | |
admin_logged_in? || | |
!production_data? ) | |
Save! | |
End |
void broken_function(char * string, size_t length) { | |
if(length >= 3 && | |
string[0] == 'F' && | |
string[1] == 'U' && | |
string[2] == 'Z' && | |
string[3] == 'Z') { | |
do_the_thing(); | |
} | |
} |
STRINGS = ... # dictionary list
SUPERSTRINGS = ... # list of words to check
def check_string(superstring, STRINGS)
string = get_first_string(STRINGS)
while(string != null)
while(s->string[i] != '\0') { | |
newStringData[i] = s->string[i]; | |
i++; | |
} | |
//strcpy(newStringData, s->string); | |
// copy over the null terminator + the checksum value | |
for(int j=0;j<5;j++){ | |
newStringData[i+j] = s->string[i+j]; | |
} |