QUICK, MAKE A PROGRAM THAT REVERSES THE WORDS IN A STRING IN YOUR LANGUAGE OF CHOICE OR STABBY THE BIRD IS GUNNA FUCK YA!!! ILL START SO STABBY THE FUCKER DON'T FUCK MY M8'S
s = input('Enter a string ya fuck: ') l = s[::-1] v = ''
l = l.split() print(l) for i in l: ----v += i[::-1] ----v += ' ' print(v)
#include int main (void) { int n = 0; char NIGGERS[] = "fuck you stabby the crow!"; char NAGGERS[sizeof(NIGGERS[]] = { 0 }; printf("%s\n",NIGGERS); while(NIGGERS[n] != '\0') { NAGGERS[n] = NIGGERS[sizeof(NIGGERS[])-n]; } NAGGERS[n+1] = '\0'; return 0; }
Jacob Phillips
wait, really?
Easton Foster
I have 0 clue what's happening Take me stabby daddy
Jack Thompson
message = input("type a message to be reversed: ")
msgReverse = " "
while message: msgReverse += message[len(message)-1:] message = message[:len(message)-1]
print("\n\n", msgReverse)
Zachary Ramirez
damnit, i forgot the increment - now i'm ded ;_; been a while since i programmed something
Hudson Campbell
full version
Jace Allen
s
Kevin Baker
Allo German-fag here with Linux Bash Shell Questions, so i left out the 4ch and kra functions, but i wrote this to monitor the clipboard and automatically run commands based on regex matches. I can run it in terminal and copy like a shit ton of urls and it works by counting how many files there are and then wgetting them with a loop and a wait and exits when thread dies. Every one in a while though after running in the background and numerous non matching clipboard entries it 100% stalls, doesnt exit doesnt continue to output "unknown server" msg on screen STDOUT just stops from the main process but threads being monitored continue to loop and download as they are their own forked proc Is there a particular obvious fuckup in my code
~/Pictures/Sup Forums/21-08-2016/Threadname
####################################### CLIPBOARD CONTENT DETECTION ###################################### while true; do CLIP=$(xclip -o)
# Sup Forums Thread Monitor if expr "$CLIP" : '^boards.Sup Forums.org/.*/thread/[0-9].*[0-9]/.*$' >/dev/null; then mkdir -pv "/home/$(whoami)/Pictures/Sup Forums/$(date +[%d-%m-%y]$(echo $CLIP | grep -Eo '[0-9]/.*$' | sed 's/[0-9]//g'))" && cd "/home/$(whoami)/Pictures/Sup Forums/$(date +[%d-%m-%y]$(echo $CLIP | grep -Eo '[0-9]/.*$' | sed 's/[0-9]//g'))" 4ch $CLIP & xclip < /dev/null
# Future Additions # Dropbox File DirectDL # Dropbox Album DirectDL # Dropbox Convert to Direct Link # Imgur User # Imgur Album # Imgur SubReddit # YouTube Audio Extractor # YouTube Video Downloader # Auto MPV Player of (Direct links (ftp|http|https)://.*\.(avi|flv|mkv|mpeg|mpg|ogm|rm)
else echo "Unknown server" fi sleep 1s done
Colton Smith
uh..... 10 PRINT "INPUT=A$" no, wait...that's not right... sudo 10 PRINT "INPUT = A$"
Benjamin Richardson
oops, forgot the qutoes...
s
Thomas Brown
I had one written in assembly but I really dont feel like booting linux so... no
Isaiah Moore
To clarify the main process is still running it does not exit, and all new matching clipboard contents do not trigger an if/elif expr and it never says unknown server i think im getting trapped by the while true since its the only thing before the if statement
Adam Ross
haskell master race
main = getLine >>= putStrLn . unwords . map reverse . words
Charles Lewis
same, absolutely no idea what this is
Alexander Ross
more radable main = putStrLn . revStr =
Colton Barnes
var reverse = function(word){ return word.split('').reverse().join(''); }
Dylan Anderson
STABBED
Gabriel Nelson
op = true faggot = true
if op == faggot: print("yes he is!")
Landon Taylor
...
Ian Green
>lua triggered
Levi Ross
public static void main (String [] args) { java.util.Scanner s = new java.util.Scanner(System.in); String choice = scanner.next(); System.out.println(choice.reverse()); }