Skip to content

Instantly share code, notes, and snippets.

View sethmcleod's full-sized avatar

Seth McLeod sethmcleod

View GitHub Profile

What Hiring Should Look Like

This is definitely not the first time I've written about this topic, but I haven't written formally about it in quite awhile. So I want to revisit why I think technical-position interviewing is so poorly designed, and lay out what I think would be a better process.

I'm just one guy, with a bunch of strong opinions and a bunch of flaws. So take these suggestions with a grain of salt. I'm sure there's a lot of talented, passionate folks with other thoughts, and some are probably a lot more interesting and useful than my own.

But at the same time, I hope you'll set aside the assumptions and status quo of how interviewing is always done. Just because you were hired a certain way, and even if you liked it, doesn't mean that it's a good interview process to repeat.

If you're happy with the way technical interviewing currently works at your company, fine. Just stop, don't read any further. I'm not going to spend any effort trying to convince you otherwise.

@brennanMKE
brennanMKE / README.md
Created October 4, 2016 16:10
React Native on macOS Sierra

React Native Trouble

Updating to macOS Sierra is causing trouble with React Native due to some of the Node.js and system utilities it uses. Specifically the watch utility fails due to a limit on the number of files which can be opened at a time.

The following command shows the current limit.

launchctl limit maxfiles
@dsdsdsdsdsds
dsdsdsdsdsds / cursor.css
Last active November 1, 2023 11:45
CSS: Cross Browser hires/retina cursor image
.cursor {
cursor: url("cursor.png") 0 0, pointer; /* Legacy */
cursor: url("cursor.svg") 0 0, pointer; /* FF */
cursor: -webkit-image-set(url("cursor.png") 1x, url("cursor@2x.png") 2x) 0 0, pointer; /* Webkit */
}
<audio id="alarm" src="alarm.ogg" controls></audio>
<script>
const alarmElement = document.getElementById('alarm');
const alarmTimes = [
new Date('2015-11-13 07:00 -0500'),
new Date('2015-11-13 08:00 -0500'),
new Date('2015-11-13 08:30 -0500'),
];
function playAlarm() {
@Archie22is
Archie22is / featured_post.html
Last active April 4, 2017 21:39
HubSpot HubL - Display a Featured blog post (using a topic or category)
<div class="blog-section">
<div class="blog-listing-outer-wrapper cell-wrapper">
<div class="featured-blog-section">
<div class="feat-blog-listing-wrapper cell-wrapper">
{# simple_list_page indicates the "blog/all" page, which is a list of links to every blog post #}
<!-- blog post -->
@colinmahns
colinmahns / blockchainblockchain.sh
Created October 14, 2015 23:08
suggested by @petertodd. please forgive me for this...
#!/bin/bash
# -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
#
# blockchainblockchain
# ----------
# A simple blockchainscript which blockchainpicks a random blockchainword from a blockchainlist,
# blockchainprepends "blockchain" to it, and blockchainannouces it with espeak. Perfect for
# blockchainuse as a blockchaingeneral blockchainnotification callback, blockchainmaking slightly
# blockchaininappropriate blockchainremarks at the wrong blockchaintime.
@albertstill
albertstill / PostIndex.js
Last active August 4, 2020 00:53
Facebook Relay continuous scrolling example
class PostIndex extends React.Component {
state = { loading: false };
componentDidMount() {
window.onscroll = () => {
if (!this.state.loading
&& (window.innerHeight + window.scrollY)
>= document.body.offsetHeight) {
this.setState({loading: true}, () => {
@colinmahns
colinmahns / colin.txt
Last active August 26, 2016 14:01
colin.txt
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
List of keys
============
Below is a list of keys I claim to own.
For accounts I claim to own please see https://keybase.io/colinmahns
pgp-fingerprints.txt
- --------------------
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active April 19, 2024 11:00
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application: