Code Monkey home page Code Monkey logo

4chantoolbox's Introduction

4chan Toolbox

A toolkit for maximum trolling.

So we made this thing to help people learn programming languages and since we're very close to 4chan's technology board (/g/) we decided that this should contain stuff related to 4chan and/or /g/.

Guidelines:

The structure of this repo should stay like this:

  • a directory with the name of a programming language (e.g. python/, ruby/, ...)
    • a bunch of scripts (see next section)
    • a custom LICENCE file (optional - we're using GPLv3 by default on all projects (read the NOTE inside LICENCE))
  • and README.md and LICENCE

The language-folders should contain the approved scripts, which are (at the moment):

  • the Dupechecker - which checks for duplicate files in a folder by calculating MD5 hashes and stuff and,
  • the Scraper - which downloads images from any 4chan thread

Those scripts should work pretty much the same way in every language - the main idea is, that when somebody already knows one language it might be easier to learn the other one by looking at the exact source in the two different languages.

Pretty much anyone can contribute - just run a pull request and if it fits with the 4chantoolbox-guidelines it'll get merged in.

Other notes:

>mfw the old, blank README file was the only commit by agaric left in this repo :/

4chantoolbox's People

Contributors

big-tacos avatar chownie avatar ciraga avatar command-q avatar johnanthony avatar jtzeng avatar tekkub avatar the-soulless avatar willysuspension avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

4chantoolbox's Issues

Inconsistent behavior in the C dupechecker when argv[1] is "." or "..", recursive flag enabled by default, and minor stuff

Couldn't let me open a pull request, so here it is.

First issue

I was rewriting this as an exercise and noticed the dupechecker doesn't accept "." and ".." as a valid location even though it should work. I'd expected it to work similar to other command line utilities.

To replicate

cd /tmp
git clone http://github.com/gentoomen/4chantoolbox
cd 4chantoolbox/C/
make

touch junk trash	# remember to wash your hands
file . .. junk trash	# should tell you it's a directory
./Dupechecker .		# no output
./Dupechecker ..	# same
./Dupechecker -r . ..	# nothing, again

rm junk trash

Second issue

Recursion flag is enabled by default

unsigned int recursive   = 1;       /* defaults to not recursive */

This just contradicts the comment.

Minor issues

There's also a few other minor issues, such as the message about the current dictionary being used is swallowed up if any match is found, and also the -r flag producing noise if it goes over a . directory. (try running it on the repo) and finally, the -h flag mentions python.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.