Skip to content

Instantly share code, notes, and snippets.

View hilyin's full-sized avatar

Graham Mickle hilyin

View GitHub Profile
@hilyin
hilyin / remove-microsoft-edge-mac-os.sh
Created May 30, 2024 01:56
Remove Microsoft Edge off Mac OS
# This script checks if specific Microsoft Edge-related files or folders exist in the user's Library directory.
# If they exist, it outputs the corresponding 'mv' command to move those files or folders to the Trash.
# The user can then choose to execute these 'mv' commands manually.
if [ -e "$HOME/Library/Application Scripts/com.microsoft.edgemac.wdgExtension" ]; then echo "mv \"$HOME/Library/Application Scripts/com.microsoft.edgemac.wdgExtension\" ~/.Trash/"; fi
if [ -e "$HOME/Library/Application Support/Microsoft Edge" ]; then echo "mv \"$HOME/Library/Application Support/Microsoft Edge\" ~/.Trash/"; fi
if [ -e "$HOME/Library/Application Support/Microsoft/EdgeUpdater" ]; then echo "mv \"$HOME/Library/Application Support/Microsoft/EdgeUpdater\" ~/.Trash/"; fi
if [ -e "$HOME/Library/Caches/com.microsoft.edgemac" ]; then echo "mv \"$HOME/Library/Caches/com.microsoft.edgemac\" ~/.Trash/"; fi
if [ -e "$HOME/Library/Caches/com.microsoft.EdgeUpdater" ]; then echo "mv \"$HOME/Library/Caches/com.microsoft.EdgeUpdate
button#responsive-menu-pro-button,
#responsive-menu-pro-container {
display: none;
-webkit-text-size-adjust: 100%;
}
#responsive-menu-pro-container {
z-index: 99998;
}
@hilyin
hilyin / Web Development Contract.md
Last active September 17, 2018 22:37 — forked from joeguilmette/Web Development Contract.md
Web Development Contract

Web Development Contract

Based on Contract Killer, an open-source contract for web developers.

Summary:

I’ll always do my best to fulfill your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. I have no desire to trick you into signing something that you might later regret. What I do want is what’s best for both parties, now and in the future.

So in short;

You ([CLIENT COMPANY]), located at [CLIENT ADDRESS] are hiring me ([DEVELOPER]) located at [DEVELOPER ADDRESS] to design and develop a web site for the estimated total price of [QUOTE] as outlined in our previous correspondence.

Keybase proof

I hereby claim:

  • I am hilyin on github.
  • I am hilyin (https://keybase.io/hilyin) on keybase.
  • I have a public key ASDaZDvJMFgGL5I1MbR2UFc_QQ5MY7a7YHdSAiiX5iD0uwo

To claim this, I am signing this object:

@hilyin
hilyin / passwordGen.js
Created February 24, 2017 21:33
Password Generator
#!/usr/bin/env node
var passwordLength = 20;
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*()_+-=[]{}\\|:;\"'<,>.?/'\"";
if (typeof process.argv[2] !== 'undefined') {
passwordLength = parseInt(process.argv[2]);
if (passwordLength < 10) {
console.log('You should really use a larger password.');