TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 02-25-2008, 08:15 PM   #1 (permalink)
The Wanderer
 
codyodell's Avatar
 
Join Date: Nov 2007
Posts: 12
Thanks: 2
codyodell is on a distinguished road
Asterix Snipply.com - Code snippet website

I have been working on this idea in my spare time over the last month or two and this is what I've came up with.

Snipply is everything code snippets (or eventually will be) and allows users to find code, organize code, learn code, and communicate with other Snipply users freely. There are still bugs in the site and much needs to be done, but any ideas, suggestions or criticisms you may have would be appreciated.

And don't forget to sign up while your there, thanks.

Snipply - Home
__________________
The man who invented the wheel was smart. The man who invented the other 3, he was a genius.
codyodell is offline  
Reply With Quote
The Following 3 Users Say Thank You to codyodell For This Useful Post:
codefreek (02-26-2008), Nor (03-25-2008), Rendair (03-12-2008)
Old 02-26-2008, 04:10 AM   #2 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

Quite nice! It's something we've mentioned of having on TalkPHP, but not got around to implementing yet.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 02-26-2008, 08:58 AM   #3 (permalink)
The Acquainted
 
obolus's Avatar
 
Join Date: Oct 2007
Location: florida
Posts: 110
Thanks: 36
obolus is on a distinguished road
Default

Nice and clean/simplistic layout. Some of the text in the tag box on the left is super small!

Good work
obolus is offline  
Reply With Quote
Old 02-26-2008, 09:01 AM   #4 (permalink)
The Acquainted
 
obolus's Avatar
 
Join Date: Oct 2007
Location: florida
Posts: 110
Thanks: 36
obolus is on a distinguished road
Default

Also, there's a PHP5 code snippet in the Javascript section. :E
obolus is offline  
Reply With Quote
Old 02-26-2008, 09:45 AM   #5 (permalink)
The Addict
Upcoming Programmer Top Contributor 
 
Rendair's Avatar
 
Join Date: Nov 2007
Location: UK
Posts: 319
Thanks: 18
Rendair is on a distinguished road
Default

I like the idea of it and i have signed up i shall submit some stuff
__________________
www.jooney.co.uk - the online portfolio
Send a message via MSN to Rendair
Rendair is offline  
Reply With Quote
Old 02-26-2008, 05:13 PM   #6 (permalink)
Nor
The Addict
 
Join Date: Nov 2007
Posts: 282
Thanks: 61
Nor is on a distinguished road
Default

Looks bad in IE6: http://aquate.us/u/ugly.PNG
__________________
PHP/XHTML Freelancer:
Cleanscript.com v3 - Programming starting at just $5 act now!
Nor is offline  
Reply With Quote
Old 02-26-2008, 07:03 PM   #7 (permalink)
The Wanderer
 
codyodell's Avatar
 
Join Date: Nov 2007
Posts: 12
Thanks: 2
codyodell is on a distinguished road
Default Thanks

Nor,
Thanks for the screen shot, I haven't gotten around to making it IE friendly yet. If anyone would like to contribute to making the CSS cross-browser, it could speed things up a bit.



In case anyone hasn't seen the code response feature yet, you might want to check it out. You can can respond to someone's snipplet with a snipplet (sort of like a video response on YouTube). This snipplet can be an alteration, improvement, fix, conversion to another language or whatever you want. Over time, this will produce some interesting patterns, or maybe pieces of "super code" that can handle anything you want. This feature will have a lot more coming soon though, I have some more ideas for it.

What I want to do with Snipply for programming, is what Last.fm did for music. To make the data usable every way possible and eventually have a huge resource for developers to find clean, usable code all in one place.

Thanks for all your responses so far, I really need some critical feedback so I can start modeling the site after what everyone wants, and not just what I come up with out of my head.
  • Here are a few things to expect soon from Snipply:
  • Minor Redesign
  • Alternate syntax highlighting themes
  • Favorites
  • Search for code in a:
    Function call
    Class class
    Function definition
    Class definition
    Variable name
  • Support for multi-page code snippets
  • Download snipplet as file
  • Gold account (more on this later)
__________________
The man who invented the wheel was smart. The man who invented the other 3, he was a genius.
codyodell is offline  
Reply With Quote
Old 03-11-2008, 07:32 PM   #8 (permalink)
The Wanderer
 
codyodell's Avatar
 
Join Date: Nov 2007
Posts: 12
Thanks: 2
codyodell is on a distinguished road
Default

Hey guys, I just added a bunch of updates to the site. There is a form to report bugs also. Let me know what you think, thanks.

Snipply - Home
__________________
The man who invented the wheel was smart. The man who invented the other 3, he was a genius.
codyodell is offline  
Reply With Quote
Old 03-11-2008, 07:46 PM   #9 (permalink)
The Contributor
 
wiifanatic's Avatar
 
Join Date: Sep 2007
Posts: 29
Thanks: 8
wiifanatic is on a distinguished road
Default

On the registration page, In flock, you cant type anything in.
Registered with safari.
wiifanatic is offline  
Reply With Quote
Old 03-11-2008, 07:50 PM   #10 (permalink)
The Wanderer
 
codyodell's Avatar
 
Join Date: Nov 2007
Posts: 12
Thanks: 2
codyodell is on a distinguished road
Default

Just fixed it.
__________________
The man who invented the wheel was smart. The man who invented the other 3, he was a genius.
codyodell is offline  
Reply With Quote
Old 03-12-2008, 01:02 AM   #11 (permalink)
The Wanderer
 
ubie's Avatar
 
Join Date: Mar 2008
Location: malang, Indonesia
Posts: 14
Thanks: 0
ubie is on a distinguished road
Default

nice design ^__^
Send a message via Yahoo to ubie
ubie is offline  
Reply With Quote
Old 03-14-2008, 10:06 PM   #12 (permalink)
WebDev'n Beer Drnkn' Fool
 
stewart's Avatar
 
Join Date: Dec 2007
Location: Denver, CO
Posts: 59
Thanks: 2
stewart is on a distinguished road
Default

I'm diggin it cody..
__________________
stewart::howe
Web Developer & Programmer
CelerMedia.Com | iAmStewart.com | CelerLabs.com
Send a message via ICQ to stewart Send a message via AIM to stewart Send a message via MSN to stewart Send a message via Yahoo to stewart
stewart is offline  
Reply With Quote
Old 03-15-2008, 09:28 PM   #13 (permalink)
The Wanderer
 
nullbyte's Avatar
 
Join Date: Jan 2008
Location: Romania
Posts: 6
Thanks: 10
nullbyte is on a distinguished road
Default

XSS vulnerability

Click here to see it live!
Send a message via Yahoo to nullbyte
nullbyte is offline  
Reply With Quote
Old 03-15-2008, 11:09 PM   #14 (permalink)
The Acquainted
 
freenity's Avatar
 
Join Date: Feb 2008
Posts: 119
Thanks: 17
freenity is on a distinguished road
Default

another bug:

http://www. snipply.com/categories.php?c=1'

sql injection :)
__________________
http://feudal-times.net - My PBB Game
http://gwphp.feudal-times.net - My Blog "Gaming With PHP"
freenity is offline  
Reply With Quote
Old 03-15-2008, 11:11 PM   #15 (permalink)
The Acquainted
 
freenity's Avatar
 
Join Date: Feb 2008
Posts: 119
Thanks: 17
freenity is on a distinguished road
Default

and more sql inj:

http://www. snipply.com/snipplets.php?s=59'
http://www. snipply.com/snipplet.php?s=P'

and I guess there should be more
__________________
http://feudal-times.net - My PBB Game
http://gwphp.feudal-times.net - My Blog "Gaming With PHP"
freenity is offline  
Reply With Quote
Old 03-19-2008, 05:01 PM   #16 (permalink)
The Wanderer
 
codyodell's Avatar
 
Join Date: Nov 2007
Posts: 12
Thanks: 2
codyodell is on a distinguished road
Default Fixed

Just fixed the XSS vulnerabilities and the SQL injection bugs throughout the site. Thanks for the testing :)
__________________
The man who invented the wheel was smart. The man who invented the other 3, he was a genius.
codyodell is offline  
Reply With Quote
Old 03-20-2008, 04:54 PM   #17 (permalink)
Super ModTastic
 
mike.fro's Avatar
 
Join Date: Apr 2005
Location: Apple Valley, MN
Posts: 89
Thanks: 1
mike.fro is on a distinguished road
Default

Looks great. I'm really liking the site. Good luck with it!
__________________
Michael.Froseth
www.michaelfroseth.com | Personal Portfolio/Blog *DOWN*
Send a message via AIM to mike.fro Send a message via MSN to mike.fro
mike.fro is offline  
Reply With Quote
Old 03-20-2008, 05:01 PM   #18 (permalink)
The Frequenter
Prolific Welcomer Upcoming Programmer 
 
Join Date: Sep 2007
Posts: 360
Thanks: 24
Haris is on a distinguished road
Default

Absolutely amazing!

Good luck with the site.
__________________
Necessity is the mother of invention.

My blog
Haris is offline  
Reply With Quote
Old 03-20-2008, 08:39 PM   #19 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default

Quote:
Originally Posted by freenity View Post
and more sql inj:

http://www. snipply.com/snipplets.php?s=59'
http://www. snipply.com/snipplet.php?s=P'

and I guess there should be more
The second one can easily be fixed, just do:
PHP Code:

 
if (!is_numeric($_GET['s']))
 {
   
header("Location: ./");
 } 
__________________
VillageIdiot can have my babbies ;d
Orc is offline  
Reply With Quote
Old 03-20-2008, 09:07 PM   #20 (permalink)
The Frequenter
 
Join Date: Dec 2007
Location: In my basement
Posts: 386
Thanks: 47
Aaron is on a distinguished road
Default

A little design tip: More whitespace! :P

It's all like crammed together :(. Set the text size to like 12pt or something >.<

Also, use some colors to play out the important stuff, it is kinda hard to find your way around.
Send a message via MSN to Aaron
Aaron is offline  
Reply With Quote
The Following User Says Thank You to Aaron For This Useful Post:
codyodell (03-21-2008)
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 05:32 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design