How to manage code snippets, passwords etc..

scud

Expert Member
Joined
Sep 1, 2005
Messages
1,169
Reaction score
277
Location
Cape Town, SA
I've always been very messy at managing information. It's either scribbled down somewhere, or on some duplicated document on my laptop.

So with a view to changing my ways, i'm looking for a system, or a program which I can use to manage everything from login details, code , server details etc..

I have tried Basecamp.com which is pretty good, just worried about security. Any suggestions
 
did'nt think of that, I use lastpass for a few docs, i'll give that a try , see there is a desktop app now
 
I've always been very messy at managing information. It's either scribbled down somewhere, or on some duplicated document on my laptop.

So with a view to changing my ways, i'm looking for a system, or a program which I can use to manage everything from login details, code , server details etc..

I have tried Basecamp.com which is pretty good, just worried about security. Any suggestions



Does it have to be one product?

Lastpass is great passwords, server details etc.
Great for secure numbers you need to remember (like Alarm Codes etc.)

Not sure about code snippets.

Evernote works very well for keeping text and documents. Very easy to search and find stuff.
Its no good for passwords.
 
I never knew lastpass allowed 1 GB storage for attachments etc..

Will check out Evernote, but would be nice if I can get away with just lastpass

"File attachments are limited to 10 MB per item. While you can add multiple items to a Secure Note, we do not recommend going too far above the 10 MB threshold with multiple items attached to one note.

For attachment storage limits, free users can hold up to 50 MB of encrypted data. For Premium & Enterprise users, we offer up to 1 GB of encrypted data storage."
 
Or you could just write your own tool. Its pretty trivial to do.
 
I don't need it mobile or secure and I'm not paranoid - all work related... so I use Excel workbooks and file-based storage. Most important for me is to text-search something within 2 seconds.

Pin the Excel password/locations, task list, supported job info... and that takes care of most of what I do.

Being a MS lacky... I also create a Toolbar menu with per-system-environment shortcuts for SQL management studio (including a saved working .sql file), network locations, RDP etc.

The rest I just stored in folders... docs/sql/access forms/change controls/test code - don't get to code too much anymore so I don't focus on organizing that.
 
Dare I pipe up in a thread where [)roi(] has posted and suggest that all your "snippets" should have been refactored into libs instead?

If your "snippets" are equivalent to an IDE's snippets then use the IDE. (Eg shortcuts to get a switch/case going)

If they are reasonably complex write a lib (as appropriate to your language) to reuse them.

If they fall in between... you need to refactor your snippets.
 
Last edited:
Dare I pipe up in a thread where [)roi(] has posted and suggest that all your "snippets" should have been refactored into libs instead?

If your "snippets" are equivalent to an IDE's snippets then use the IDE. (Eg shortcuts to get a switch/case going)

If they are reasonably complex write a lib (as appropriate to your language) to reuse them.

If they fall in between... you need to refactor your snippets.
Lol.... :D Agreed (good advice).
 
Dare I pipe up in a thread where [)roi(] has posted and suggest that all your "snippets" should have been refactored into libs instead?

If your "snippets" are equivalent to an IDE's snippets then use the IDE. (Eg shortcuts to get a switch/case going)

If they are reasonably complex write a lib (as appropriate to your language) to reuse them.

If they fall in between... you need to refactor your snippets.
Just a question: Do you really suck the OP?
 
There's always Github's Gist or bitbucket's equivalent. Paste the code, make it private or public, access it when you need to.
 
Top
Sign up to the MyBroadband newsletter
X