Jump to content

Question - How do you guys & girls keep track of all your code snippets ?


Recommended Posts

Hi,

i've been spending more time laterly codeing, for work, and my stuff at home.

so this has made me hunt for more code examples, and useful udf files,

at the moment, i store my stuff on 2 PC,s and a USB stick to "sync" it together,

( why u ask, having it in 3 location, backup, nothing worse than have a wonderful peice of code you wrote get lost, and have to start again )

for me, I have 3 groups,

UDF, Code snippets ( useful Functions ) and small programs,

and i'm starting to find it hard to keep track of it all,

so i'm wondering what do other people use, how do you find the peice of code you know u got in your collection,

is there any good management software to keep track of all this ?

thanks in advanced for any replies,

Nigel

Link to comment
Share on other sites

when you do a bunch of programs you know what is in there (so anytime you need a some function, etc...when you need some function/code..you can open up that program and copy what you need)

I store autoit examples, udf, programs on a folder in my DropBox, no file'll be lost ;)

Heroes, there is no such thing

One day I'll discover what IE.au3 has of special for so many users using it.
C'mon there'sĀ InetReadĀ and WinHTTP, way better
happy.png

Link to comment
Share on other sites

Link_UDF

remember where lies

There is a temporary folder, every month new. Best scripts rename and put in a collection. Then search by file name or by text in files.

Sweet, I'm in the list, but the link is wrong.

UDF List:

Ā 
_AdapterConnections() ā€¢ _AlwaysRun() ā€¢ _AppMon() ā€¢ _AppMonEx() ā€¢ _ArrayFilter/_ArrayReduce ā€¢ _BinaryBin() ā€¢ _CheckMsgBox() ā€¢ _CmdLineRaw() ā€¢ _ContextMenu() ā€¢ _ConvertLHWebColor()/_ConvertSHWebColor() ā€¢ _DesktopDimensions() ā€¢ _DisplayPassword() ā€¢ _DotNet_Load()/_DotNet_Unload() ā€¢ _Fibonacci() ā€¢ _FileCompare() ā€¢ _FileCompareContents() ā€¢ _FileNameByHandle() ā€¢ _FilePrefix/SRE() ā€¢ _FindInFile() ā€¢ _GetBackgroundColor()/_SetBackgroundColor() ā€¢ _GetConrolID() ā€¢ _GetCtrlClass() ā€¢ _GetDirectoryFormat() ā€¢ _GetDriveMediaType() ā€¢ _GetFilename()/_GetFilenameExt() ā€¢ _GetHardwareID() ā€¢ _GetIP() ā€¢ _GetIP_Country() ā€¢ _GetOSLanguage() ā€¢ _GetSavedSource() ā€¢ _GetStringSize() ā€¢ _GetSystemPaths() ā€¢ _GetURLImage() ā€¢ _GIFImage() ā€¢ _GoogleWeather() ā€¢ _GUICtrlCreateGroup() ā€¢ _GUICtrlListBox_CreateArray() ā€¢ _GUICtrlListView_CreateArray() ā€¢ _GUICtrlListView_SaveCSV() ā€¢ _GUICtrlListView_SaveHTML() ā€¢ _GUICtrlListView_SaveTxt() ā€¢ _GUICtrlListView_SaveXML() ā€¢ _GUICtrlMenu_Recent() ā€¢ _GUICtrlMenu_SetItemImage() ā€¢ _GUICtrlTreeView_CreateArray() ā€¢ _GUIDisable() ā€¢ _GUIImageList_SetIconFromHandle() ā€¢ _GUIRegisterMsg() ā€¢ _GUISetIcon() ā€¢ _Icon_Clear()/_Icon_Set() ā€¢ _IdleTime() ā€¢ _InetGet() ā€¢ _InetGetGUI() ā€¢ _InetGetProgress() ā€¢ _IPDetails() ā€¢ _IsFileOlder() ā€¢ _IsGUID() ā€¢ _IsHex() ā€¢ _IsPalindrome() ā€¢ _IsRegKey() ā€¢ _IsStringRegExp() ā€¢ _IsSystemDrive() ā€¢ _IsUPX() ā€¢ _IsValidType() ā€¢ _IsWebColor() ā€¢ _Language() ā€¢ _Log() ā€¢ _MicrosoftInternetConnectivity() ā€¢ _MSDNDataType() ā€¢ _PathFull/GetRelative/Split() ā€¢ _PathSplitEx() ā€¢ _PrintFromArray() ā€¢ _ProgressSetMarquee() ā€¢ _ReDim() ā€¢ _RockPaperScissors()/_RockPaperScissorsLizardSpock() ā€¢ _ScrollingCredits ā€¢ _SelfDelete() ā€¢ _SelfRename() ā€¢ _SelfUpdate() ā€¢ _SendTo() ā€¢ _ShellAll() ā€¢ _ShellFile() ā€¢ _ShellFolder() ā€¢ _SingletonHWID() ā€¢ _SingletonPID() ā€¢ _Startup() ā€¢ _StringCompact() ā€¢ _StringIsValid() ā€¢ _StringRegExpMetaCharacters() ā€¢ _StringReplaceWholeWord() ā€¢ _StringStripChars() ā€¢ _Temperature() ā€¢ _TrialPeriod() ā€¢ _UKToUSDate()/_USToUKDate() ā€¢ _WinAPI_Create_CTL_CODE() ā€¢ _WinAPI_CreateGUID() ā€¢ _WMIDateStringToDate()/_DateToWMIDateString() ā€¢ Au3 script parsing ā€¢ AutoIt Search ā€¢ AutoIt3 Portable ā€¢ AutoIt3WrapperToPragma ā€¢ AutoItWinGetTitle()/AutoItWinSetTitle() ā€¢ Coding ā€¢ DirToHTML5 ā€¢ FileInstallr ā€¢ FileReadLastChars() ā€¢ GeoIP database ā€¢ GUI - Only Close Button ā€¢ GUI Examples ā€¢ GUICtrlDeleteImage() ā€¢ GUICtrlGetBkColor() ā€¢ GUICtrlGetStyle() ā€¢ GUIEvents ā€¢ GUIGetBkColor() ā€¢ Int_Parse() & Int_TryParse() ā€¢ IsISBN() ā€¢ LockFile() ā€¢ Mapping CtrlIDs ā€¢ OOP in AutoIt ā€¢ ParseHeadersToSciTE() ā€¢ PasswordValid ā€¢ PasteBin ā€¢ Posts Per Day ā€¢ PreExpand ā€¢ Protect Globals ā€¢ Queue() ā€¢ Resource Update ā€¢ ResourcesEx ā€¢ SciTE Jump ā€¢ Settings INI ā€¢ SHELLHOOK ā€¢ Shunting-Yard ā€¢ Signature Creator ā€¢ Stack() ā€¢ Stopwatch() ā€¢ StringAddLF()/StringStripLF() ā€¢ StringEOLToCRLF() ā€¢ VSCROLL ā€¢ WM_COPYDATA ā€¢ More Examples...

Updated: 22/04/2018

Link to comment
Share on other sites

GitHub desktop app (free) + BitBucket free private repo (not just for version control, but great for sync / organization / lookup of snippets or whole projects).

Explanation:

0) Yeah, bitbucket now has a vc client, but started using this combo way before they launched it - GH client is (IMHO) fast and easy to use + u don't need to use GH repo with it ('cause they're public when free)

1) BB provides u with free wiki and issue system (great when soloing multiple projects, IMHO, 'cause you don't need to remember stuff, or search thru ur own comments in code (tends to be tedious; my 'issues' comments are large, to put it simply)

2) Code and snippets sync across desktop, netbook and smartphone (in my case), so u can work / lookup snippets where-/whenever u need/want to

Disclaimer:

It is not my intent to advertise these companies or their products - during my work as a programmer I've found that Dropbox and simmilar sware don't fullfill my needs for snippet collections cause they get too cluttered, too fast.

Everything expressed is based on personal experience and opinion; I'm not saying this kind of setup works for everybody (got flamed in the past by purists for using version control this way =) ).

Link to comment
Share on other sites

  • 2 months later...

Not exactly sure why no-one mentioned Snippet Holder, which is available here somewhere at the forum ... other than it may no longer be supported or updated?

I seem to recall a few other similar programs here that have surfaced from time to time.

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...