Skip to content

Instantly share code, notes, and snippets.

View AndrwM's full-sized avatar
🥺

Andrew McIntee AndrwM

🥺
View GitHub Profile
#!/bin/bash
#
# free_wifi.sh
#
# Description:
# Get free wifi by spoofing an authenticated mac address on a paid wifi service like
# inflight wifi. Obviously in order for this to work there needs to be at least one
# device on the network that paid for the wifi service. The script attempts to find
# that device and uses the mac address of that device.
#
export class Timer {
static FORMAT = {
NANOSECOND: 'ns',
MILLISECOND: 'ms',
} as const;
private start = this.now;
private get now() {
return process.hrtime.bigint();
@AndrwM
AndrwM / am-preonic_1-0-6.json
Last active March 8, 2023 14:18
Preonic Keymap
{
"version": 1,
"notes": "",
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n",
"keyboard": "preonic/rev3_drop",
"keymap": "am-preonic_1-0-5",
"layout": "LAYOUT_preonic_2x2u",
"layers": [
[
"KC_GRV",
// ==UserScript==
// @name [JIRA] Child Issue Filtering Userscript
// @version 0.1
// @description Yolo overflow
// @author Andrew McIntee
// @match https://kajabi.atlassian.net/browse/*
// ==/UserScript==
(function() {
'use strict';
ZSH_THEME="spaceship"
SPACESHIP_PROMPT_ORDER=(
time # Time stamps section
user # Username section
dir # Current directory section
host # Hostname section
git # Git section (git_branch + git_status)
exec_time # Execution time
# ruby # Ruby section
@AndrwM
AndrwM / brew-install.sh
Last active September 18, 2023 19:13
New System Brew Install
# Gui Applications
brew install --cask \
authy \
beamer \
bitwarden \
brave-browser \
dash \
discord \
docker \
dropbox \
@AndrwM
AndrwM / google-it-bookmarklet.js
Last active May 3, 2021 13:36
Google It Bookmarklet: Quickly jump from Duckduckgo to Google
javascript:(function(){window.open(`https://www.google.com/search?q=${new URLSearchParams(location.search).get('q')}`, '_blank')})();
@AndrwM
AndrwM / source.scpt
Last active March 11, 2021 15:22
BetterTouchTool, Listen For Zoom.app meeting: active || muted || inactive
-- thanks to: https://gist.github.com/jsulak/5cd63e5d5ac1eb6461096b6bb30dcad3
property responseMuted : "Zoom: MUTED"
property responseNotMuted : "Zoom: ACTIVE"
property responseInactive : "" -- Return an empty string
property btnTitleMute : "Mute audio"
property btnTitleUnMute : "Unmute audio"
on is_running(appName)

UI

The styles are broken down into a few different types by folder and included in the master application.scss manifest file:

  1. Variables There is one master variables file that exists at the stylesheet root. This file provides you with standardized type, spacing, timing, colors, etc. Keep in mind these variables affect the whole site.
  2. Tools Tools are mixins or functions. Please prefix each file with its type _mixin or _function.
  3. Normalize Prevents initial style cross-browser inconsistencies...you know the drill.
  4. @font-face
  5. Base This file supplements any addition element styling that Normalize missed.
  6. Components These are the meat and bones of our interface–anything visual on the page is a component. Component classes are constructed like this: .c-title, with child elements: .c-title__subtitle, style variants can be used like so: .c-title.c-title--small. Children elements of a component should never be nested inside of a different parent component, f