Skip to content

Instantly share code, notes, and snippets.


Zander Martineau mrmartineau

Block or report user

Report or block mrmartineau

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mrmartineau /
Last active Jan 21, 2020
Stimulus cheatsheet
mrmartineau / settings.json
Last active Dec 3, 2019
vscode settings.json
View settings.json
"[handlebars]": {
"editor.formatOnSave": false
"[javascript]": {
"editor.formatOnSave": false
"[javascriptreact]": {
"editor.formatOnSave": false
mrmartineau /
Last active Jul 26, 2019 — forked from ggauravr/
Array iteration methods summarized

While attempting to explain JavaScript's reduce method on arrays, conceptually, I came up with the following - hopefully it's helpful; happy to tweak it if anyone has suggestions.


JavaScript Arrays have lots of built in methods on their prototype. Some of them mutate - ie, they change the underlying array in-place. Luckily, most of them do not - they instead return an entirely distinct array. Since arrays are conceptually a contiguous list of items, it helps code clarity and maintainability a lot to be able to operate on them in a "functional" way. (I'll also insist on referring to an array as a "list" - although in some languages, List is a native data type, in JS and this post, I'm referring to the concept. Everywhere I use the word "list" you can assume I'm talking about a JS Array) This means, to perform a single operation on the list as a whole ("atomically"), and to return a new list - thus making it much simpler to think about both the old list and the new one, what they contain, and

mrmartineau /
Last active Jun 24, 2019
CSS grid snippets

Basic grid

.grid {
  display: grid;
  grid-gap: 30px;
  grid-template-columns: repeat(auto-fill, 112px);
  /* or this */
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
mrmartineau /
Created Nov 18, 2017 — forked from jivoi/
Penetrating Testing/Assessment Workflow

Penetrating Testing/Assessment Workflow & other fun infosec stuff

My feeble attempt to organize (in a somewhat logical fashion) the vast amount of information, tools, resources, tip and tricks surrounding penetration testing, vulnerability assessment, and information security as a whole*

mrmartineau / cloudSettings
Last active Nov 18, 2018
VS Code settings
View cloudSettings
View icons.scss
// 3rd party brand colors - find more at
$color-twitter : #55acee;
$color-facebook : #3b5998;
$color-youtube : #cd201f;
$color-pinterest : #bd081c;
$color-instagram : #e4405f;
$color-whatsapp : #25D366;
.socialCTA {
background-color: rgba(#fff, .2);
  • 1Password extension
  • Pesticide for Chrome
  • JSON Formatter
  • Octotree
  • Octo Preview
  • Feature Queries Manager
  • Copy as Markdown
  • React Developer Tools
  • Copy Title and Url as Markdown Style
  • Refined GitHub
You can’t perform that action at this time.