Skip to content

Instantly share code, notes, and snippets.

View Robbie-Cook's full-sized avatar
🎯

Robbie Cook Robbie-Cook

🎯
View GitHub Profile
@InBrewJ
InBrewJ / FilterDependabotFromPRs.txt
Last active August 1, 2025 09:25
Filter for PRs from real people (i.e. not dependabot)
is:open is:pr -author:app/dependabot
@Robbie-Cook
Robbie-Cook / webpack.config.js
Last active January 11, 2021 10:31
A Webpack config for compiling libraries (including React component libraries)
const nodeExternals = require("webpack-node-externals");
const path = require("path");
module.exports = {
entry: path.resolve(__dirname, "./src/index.ts"),
output: {
path: path.resolve(__dirname, "./dist"),
filename: "index.js",
libraryTarget: "commonjs2"
},
@medatech
medatech / ReachComponent.code-snippets
Last active May 30, 2020 05:58
React Component Rich Snippet
{
"Styled Component": {
"scope": "javascript",
"prefix": [
"styled",
"styled-component"
],
"body": [
"import React from \"react\"",
"import PropTypes from \"prop-types\"",
@aberezin
aberezin / iterm
Created June 22, 2018 22:53 — forked from vyder/iterm
iterm.bash - Launch iTerm from command line
#!/usr/bin/env bash
#
# Open new iTerm window from the command line using v3 syntax for applescript as needed in iTerm2 Version 3+
# This script blocks until the cmd is executed in the new iTerm2 window. It then leaves the window open.
# TODO Add option to close iTerm2 after cmd execs
# See also https://www.iterm2.com/documentation-scripting.html
#
# Usage:
@siwalikm
siwalikm / aes-256-cbc.js
Last active August 11, 2025 11:49
AES-256-CBC implementation in nodeJS with built-in Crypto library
'use strict';
const crypto = require('crypto');
const ENC_KEY = "bf3c199c2470cb477d907b1e0917c17b"; // set random encryption key
const IV = "5183666c72eec9e4"; // set random initialisation vector
// ENC_KEY and IV can be generated as crypto.randomBytes(32).toString('hex');
const phrase = "who let the dogs out";
var encrypt = ((val) => {
@silverjerk
silverjerk / .hyper.js
Last active October 10, 2025 14:42
Hyper Config File
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// Choose either "stable" for receiving highly polished,
// or "canary" for less polished but more frequent updates
updateChannel: 'stable',
@coco-napky
coco-napky / hyper.js
Created March 8, 2017 23:21
Hyper config for git bash in Windows
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
@FrancesCoronel
FrancesCoronel / sampleREADME.md
Last active December 14, 2025 15:38
A sample README for all your GitHub projects.

Repository Title Goes Here

Frances Coronel

INSERT GRAPHIC HERE (include hyperlink in image)

Subtitle or Short Description Goes Here

ideally one sentence >