Skip to content

Instantly share code, notes, and snippets.

git inspector

Andrew Luca iamandrewluca

git inspector
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.

erikras /
Last active Oct 14, 2019
Redux Form Docs Deploy

Directory structure

piecioshka /
Last active Sep 19, 2020
Terminal shortcuts (espacially for macOS)

Terminal shortcuts

  • ctrl + t — move current char backward
  • ctrl + e — move to the end
  • ctrl + p — move to the end
  • ctrl + n — move to the end
  • ctrl + d — the same as [delete]
  • ctrl + h — the same as [backspace]
  • ctrl + b — the same as [left arrow]
  • ctrl + f — the as [right arrow]
calebporzio / pure_html_css_modal.css
Last active Aug 10, 2020
The CSS for the pure HTML/CSS modal I tweeted about.
View pure_html_css_modal.css
details summary {
cursor: pointer;
outline: none !important;
display: inline-block;
padding: 8px 12px;
padding-top: 10px;
border-radius: 4px;
overflow: hidden;
background: #F09825;
color: white;
cmrigney / useRedux.ts
Created Apr 11, 2019
Example for useRedux
View useRedux.ts
// Adapted code from
import { useContext, useState, useEffect, useCallback } from 'react';
import { ReactReduxContext } from 'react-redux';
import { bindActionCreators, ActionCreator } from 'redux';
export function useRedux() {
const { store } = useContext(ReactReduxContext);
const { getState, dispatch, subscribe } = store;
const reduxState = getState();
kitze / missing-date-fns.js
Last active Jun 21, 2020
good ol' date-fns
View missing-date-fns.js
import {
shane-axiom / nginx_google_analytics
Last active Sep 20, 2020
google analytics in nginx
View nginx_google_analytics
# send logs for all traffic (including non-html) to google analytics
# in server block:
# set $google_analytics_id "UA-THECORRECT-ID";
# include /srv/nginx/google_analytics;
# in location blocks:
# post_action @ga;
# notes: post_action has been referred to by nginx devs as a "dirty hack" and this approach may stop working one day.



  • ✏️ method changes this.
  • 🔒 method does not change this.


  • concat(...items: Array<T[] | T>): T[] 🔒 ES3
helhum / composer.json
Last active Feb 13, 2020
The (currently) ideal TYPO3 composer setup
View composer.json
"require": {
"typo3-console/composer-auto-setup": "^0.1",
"georgringer/news": "^6.1",
"helhum/typo3-secure-web": "^0.2.5",
"typo3/cms-introduction": "^3.0"
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
Jakobud / _map-sort.scss
Last active May 29, 2020
Sort a SASS map
View _map-sort.scss
/// map-sort
/// Sort map by keys
/// @param $map - A SASS map
/// @returns A SASS map sorted by keys
/// @requires function list-sort
/// @author Jake Wilson <>
@function map-sort($map) {
$keys: list-sort(map-keys($map));
$sortedMap: ();
@each $key in $keys {
You can’t perform that action at this time.