Skip to content

A repo containing useful snippets of coding in multiple languages

Notifications You must be signed in to change notification settings

Alpenglow88/Useful_Code_stuff

Repository files navigation

Useful_Code_stuff

A repo containing useful snippets of coding in multiple languages - often taken from training courses and other online sources

Whenever I learn something new in a language I like to keep track of it so here is where I have documented some useful bits of code that I have come across and things they are used for.

Where possible they are organised and repeated across languages but this is not always possible so hopefully it matches as well as possible!

Languages

Currently this repo supports the following languages to some degree or another:

Test files

There are test files that are included here so that you can try out any piece of code to make sure it does what you expect. In order to run these you simply need to run the commands listed in the table below. You will need to ensure you have the correct things installed to run the files so check the prerequisites before running them,

Language Prerequisites Command
Ruby Ruby ruby test.rb
Javascript Node node test.js
Python Python X.X python test.py

Page Object Frameworks [WIP]

These are example projects that should serve to show how to setup a page object model testing framework, as well as add to them for future use.

Unsorted Snippets

There are several bits that have been picked up along the way that have yet to make it into any particular area. This is not because they do not belong there but because they have not yet been sorted. These will get sorted as soon as possible.

About

A repo containing useful snippets of coding in multiple languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published