Skip to content

Instantly share code, notes, and snippets.

View kyleturman's full-sized avatar

Kyle Turman kyleturman

View GitHub Profile
(*
Meet with Google Calendar
-
A way to create a meeting invite quickly from
a selected email address in macOS.
1. Open Automator on your Mac and create a new Quick Action
2. Change "Workflow recieves current" to "text" and in "any application"
3. Find "Run AppleScript" in the Actions library on the left and double click it
4. Paste in the contents of this file
<!DOCTYPE html>
<html>
<head>
<title>Number types</title>
</head>
<body>
<h1>Enter a number and I'll tell you what it is!</h1>
<input id="number" placeholder="Enter a number" />
<button id="number-button">Check number</button>
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<div class="hero">
<h1>Hello again!</h1>
</div>
<!DOCTYPE html>
<html>
<head>
<title>Spot the Bug - March 6th</title>
</head>
<body>
<div class='hero'>
<h1>Hello there!</h1>
</div>
<!DOCTYPE html>
<html>
<head>
<title>Spot the Bug - March 6th</title>
</head>
<body>
<div class='hero'>
<h1 class='hero-title'>Hello!</h1>
</div>

Keybase proof

I hereby claim:

  • I am kyleturman on github.
  • I am kyleturman (https://keybase.io/kyleturman) on keybase.
  • I have a public key whose fingerprint is D75F 1EB3 C374 51DF FFCB 6C38 B01C 50F0 D8F1 F5E6

To claim this, I am signing this object:

<?php
// Prevent Widows Kirby CMS plugin
// Makes line breaking text go from:
// Lorem ipsum dolor sit amet, consectetur adipiscing
// elit.
// To:
// Lorem ipsum dolor sit amet, consectetur
// adipiscing elit.
a, img { outline: none; border: none; }
button { cursor:pointer; display: inline-block; background: none; border-radius: none; border: none; outline: none; }
header,nav,section,article,aside,footer,hgroup { display: block; }
meta.foundation-mq-small {
font-family: "/only screen and (max-width: 40em)/";
width: 0em; }
meta.foundation-mq-medium {
@kyleturman
kyleturman / Sass Watch Daemon.md
Last active May 14, 2020 13:56
Enable `sass --watch` as a daemonized service on Ubuntu & Debian.

This guide assumes that you have ruby and the sass gem installed, and that you have a basic knowledge of the unix terminal. I use nano here, but you can use whatever editor you'd like.

###Find out Path Info

$ echo $PATH
$ gem environment

Save output from $PATH variable and paths in "GEM PATHS:" in a blank text file somewhere for use in the sass-watch file.

$("nav a").on("click", function(e){
e.preventDefault();
$("html,body").animate({ scrollTop: $( $(e.currentTarget).attr("href") ).offset().top });
});