Skip to content

Instantly share code, notes, and snippets.

View mark05e's full-sized avatar

mark05E mark05e

View GitHub Profile
@tomhodgins
tomhodgins / cibc2csv.js
Last active December 4, 2021 21:24
Paste this function into your JS console on CIBC's online banking website to scrape your account ledger into a CSV formatted file the browser can save that can be imported into Excel
function cibc2csv() {
var table = document.querySelector('table.smart-account')
var csv = ''
var head = []
var row = []
// read header cells
table.querySelectorAll('thead th').forEach(th => {
head.push(`${trim(th.textContent)}`)
})
@Sstobo
Sstobo / salary.txt
Created November 30, 2017 23:14
[Salary Negotiation] #salary #careers #job
!!GET WEBSITE FROM ANNIKA DO COURSE
##### PREPARE FOR SALARY CONVERSATION #####
1) Understand the market and your value
# do your homework #
* assess own value (salary.com, payscale) -
* determine market salary range (glassdoor, indeed, linkedin)
2) Know what is important to you

Given a subscribed calendar with a url like

https://example.com/example.ics

To force Google Calendar to refresh and reload the contents right now, unsubscribe from the calendar and subscribe to a new calendar with a URL like

https://example.com/example.ics#1

Adding the anchor tag will force Google Calendar to think of it as a new calendar

@itsthedoc
itsthedoc / Start-ProcessExample.ps1
Created February 26, 2018 12:38
Start-ProcessExample
$ProcessParameters = @{
FilePath = "C:\Users\xxx\AppData\Local\UiPath\app-18.1.2\UiRobot.exe"
ArgumentList = @(
'/file:"C:\Users\xxx\Documents\UiPath\test\Main.xaml"'
"/input:`"{'arg1':'$Var'}`""
)
NoNewWindow = $true
Wait = $true
}
Start-Process @ProcessParameters
@nordineb
nordineb / DetectDotNetFrameworkVersions.ps1
Created March 1, 2018 09:32
Detect DotNet Framework Versions
# Credits to https://stackoverflow.com/questions/3487265/powershell-script-to-return-versions-of-net-framework-on-a-machine
# Get the text from github
$url = "https://raw.githubusercontent.com/dotnet/docs/master/docs/framework/migration-guide/how-to-determine-which-versions-are-installed.md"
$md = Invoke-WebRequest $url -UseBasicParsing
# Replace the weird text in the tables, and the padding
# Then trim the | off the front and end of lines
$map = $md -split "`n" -replace " installed [^|]+" -replace "\s+\|" -replace "\|$" |
@echo off
setlocal enabledelayedexpansion
set SCRIPT_ROOT=%~dp0
exit /b
@scotgabriel
scotgabriel / Windows command line gui access.md
Last active November 11, 2023 14:53
Common windows functions via rundll user32 and control panel

Rundll32 commands

OS: Windows 10/8/7

Add/Remove Programs

  • RunDll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,0

Content Advisor

  • RunDll32.exe msrating.dll,RatingSetupUI

Control Panel

@cyberbiosecurity
cyberbiosecurity / windows_defs.py
Created May 23, 2018 20:41
windows API constants
# https://github.com/huangzx/swin/tree/807df36dd4ef53fdf797a19894f7e5d68891e429/src/winui
# Copyright (c) 2007, 2008 Agostino Russo
#
# Written by Agostino Russo <[email protected]>
# Mostly copied from win32con.py
#
# winui is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of
# the License, or (at your option) any later version.
@noelbundick
noelbundick / LICENSE
Last active March 30, 2025 13:12
Exclude WSL installations from Windows Defender realtime protection
MIT License
Copyright (c) 2018 Noel Bundick
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@maxfunke
maxfunke / PowershellBasics.md
Last active April 27, 2020 15:45
Basics for Powershell. From Pluralsight course.

Powershell Essentials

📝 ps1 boilerplate

Gather information for cmdlets and functions

Basically all cmdlets look like so: verb-noun

Basic process of information gathering