Skip to content

Instantly share code, notes, and snippets.

View jwill9999's full-sized avatar
💭
working

Jason Williams jwill9999

💭
working
View GitHub Profile

Locators

element(by.<...>)

  • id
  • js
  • css
  • className
  • name
@jwill9999
jwill9999 / .gitconfig
Created December 10, 2019 08:31 — forked from Vadorequest/.gitconfig
My own Git config
[push]
default = current
[alias]
fetch = git fetch --tags
st = status
ci = commit
co = checkout
br = branch
rz = reset --hard HEAD
unwip = reset HEAD^
@jwill9999
jwill9999 / README.md
Last active March 11, 2019 18:50
Autoloader

Create an autoloader in PHP

Guidelines

***** FILE STRUCTURE *****
@jwill9999
jwill9999 / Program.cs
Created December 9, 2018 17:17
C# Dump Class Methods - reflection GetMembers
using System;
using System.Linq;
using System.Reflection;
namespace Print
{
class Program
{
@jwill9999
jwill9999 / Program.cs
Last active December 9, 2018 17:10
c# Dump function - reflection GetMethods
namespace Dump {
class Program {
static void Main(string[] args)
{
Type mytype = (typeof(MyTypeClass));
// Get the public methods - bind the return types public etc
MethodInfo[] myArrayMethodInfo = mytype.GetMethods(BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly);
// Display the number of methods
@jwill9999
jwill9999 / README.md
Created December 4, 2018 19:59
Add Bower Packages in Visual Studio Asp.net core 2.1

Adding Bower Packages to ASP.Net 2.1

Add Bower Packages

  • In Toolbar Project => Quick Install Packages (shortcut => shift Alt 0)
  • Choose Bower
  • Type in Package Name e.g Bootstrap
  • Choose the Version and click Install
  • Create in root of solution two files
  • Bower.json
@jwill9999
jwill9999 / README.md
Last active September 21, 2019 19:55
asp.net core
@jwill9999
jwill9999 / README.md
Last active February 20, 2024 14:56
C# Cheatsheet
@jwill9999
jwill9999 / README.md
Last active December 12, 2023 20:01
ASP.NET Razor Cheat Sheet
@jwill9999
jwill9999 / README.md
Last active December 3, 2018 12:18
Seeding a MySQL database in Visual Studio

Seeding Data into MySQL Database Visual Studio