Skip to content

Instantly share code, notes, and snippets.

View codestaintin's full-sized avatar
🎯
Focusing

Isioye Mohammed codestaintin

🎯
Focusing
  • Lagos, Nigeria
View GitHub Profile
@codestaintin
codestaintin / ansible-macos-homebrew-packages.yml
Created July 19, 2022 20:10 — forked from mrlesmithjr/ansible-macos-homebrew-packages.yml
Install MacOS Homebrew Packages With Ansible
---
- name: Install MacOS Packages
hosts: localhost
become: false
vars:
brew_cask_packages:
- atom
- docker
- dropbox
- firefox

SHORTCUTS

Key/Command Description
Tab Auto-complete files and folder names
Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + U Clear the line before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + W Delete the word before the cursor
Ctrl + T Swap the last two characters before the cursor
@codestaintin
codestaintin / oneliners.js
Created April 8, 2019 12:20 — forked from mikowl/oneliners.js
👑 Awesome one-liners you might find useful while coding.
// By @coderitual
// https://twitter.com/coderitual/status/1112297299307384833
// Remove any duplicates from an array of primitives.
const unique = [...new Set(arr)]
// Sleep in async functions. Use: await sleep(2000).
const sleep = (ms) => (new Promise(resolve => setTimeout(resolve, ms)));
// Type this in your code to break chrome debugger in that line.

Advanced JavaScript Learning Resources

This is a list of advanced JavaScript learning resources from people who responded to this [Tweet][13] and this [Tweet][20].

  • [You Don't Know JS][3]

  • [Frontend Masters courses by Kyle Simpson][12]

  • [@mpjme][6]'s [YouTube videos][5]

@codestaintin
codestaintin / Game.css
Last active September 28, 2018 11:44
Math Challenge - Plurasight course
.fa-star {
margin: 0.5em;
font-size: 24px;
}
span {
display: inline-block;
margin: 0.5em;
text-align: center;
background-color: #ccc;
@codestaintin
codestaintin / README.md
Created July 11, 2018 09:11 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@codestaintin
codestaintin / README-Template.md
Created March 22, 2018 18:31 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

{
  "root": true,
  "extends": "airbnb-base",
  "env": {
    "node": true,
    "es6": true,
    "mocha": true
  },
 "rules": {
@codestaintin
codestaintin / git.txt
Created January 20, 2018 05:17 — forked from wakatta/git.txt
Collection of useful git commands
#!/usr/bin/env bash
##
# Collection of git commands I found usefull in day to day work
#
# Comprehensive tutorial about git commands can be found:
# @link https://www.kernel.org/pub/software/scm/git/docs/
#
# @author Vladimir Kadic <[email protected]>
##