Skip to content

Instantly share code, notes, and snippets.

View jwill9999's full-sized avatar
💭
working

Jason Williams jwill9999

💭
working
View GitHub Profile
@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 / index.cs
Created April 5, 2017 00:33
Filter search box c#
*******************Example of search by title and genre ********************
public class MovieController : Controller
{
private MovieDBContext db = new MovieDBContext();
public ActionResult Index(string movieGenre, string searchString)
{
var GenreLst = new List<string>();
@jwill9999
jwill9999 / console_color.js
Last active February 21, 2021 15:27
console.log and Makefile colour outputs
## console colour out colour codes
// syntax
console.log("\x1b[33m%s\x1b[0m" ,"I Am Using Yellow");
console.log("\x1b[44m%s\x1b[0m" ,"Background Color Is Blue");
// variable choices
Reset = "\x1b[0m"

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 November 4, 2019 15:35
Git Branch create and push new branches

> Create a new branch:

git checkout -b feature_branch_name

> Push your branch to the remote repository:

git push -u origin feature_branch_name

> To delete a local branch

git branch -d the_local_branch

@jwill9999
jwill9999 / README.md
Last active September 21, 2019 19:55
asp.net core
@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
{