Skip to content

Instantly share code, notes, and snippets.

View mdmartinez's full-sized avatar
🎯
Focusing

Daniel Martinez mdmartinez

🎯
Focusing
View GitHub Profile
@mdmartinez
mdmartinez / rebase.md
Last active August 5, 2020 11:59
rebase-guide
‎‎​
@mdmartinez
mdmartinez / sampleREADME.md
Created July 13, 2020 00:04 — forked from FrancesCoronel/sampleREADME.md
A sample README for all your GitHub projects.

FVCproductions

INSERT GRAPHIC HERE (include hyperlink in image)

Repository Title Goes Here

Subtitle or Short Description Goes Here

help-tools-cli-mgmt() {
echo "
# 'tldr'
# Abbreviated man pages.
# 'cheat'
# Alternative to 'tldr'.
# 'howdoi'
# Instant coding answers.
@mdmartinez
mdmartinez / help.sh
Created October 22, 2018 12:20
various comment snippets documenting 3rd-party bash programs
# Make PATH easier to read by printing each directory on a new line
easypath() {
echo '\n'; echo $PATH | tr ':' '\0' | xargs -I _ -0 echo _ | ccat
}
help-tools-cli-mgmt() {
echo "
# 'tldr'
# Abbreviated man pages.

Favorites

  1. fabiospampinato.vscode-projects-plus
  2. alefragnani.Bookmarks
  3. xyz.local-history
  4. eamodio.gitlens
  5. RoscoP.ActiveFileInStatusBar
  6. formulahendry.code-runner
  7. jasonnutter.search-node-modules
  8. wix.vscode-import-cost
  9. ritwickdey.LiveServer
{
"bookmarks.saveBookmarksInProject": true,
"bookmarks.treeview.visible": true,
"workbench.colorTheme": "Material Theme",
"workbench.iconTheme": "vscode-icons",
"workbench.editor.labelFormat": "default",
"debug.toolBarLocation": "docked",
"css_peek.activeLanguages": ["html", "ejs", "erb", "php", "jinja", "js"],
"code-runner.executorMap": {
"javascript": "/usr/local/bin/node"
var animal = {
animalType: 'animal'
};
function catFactory(name) {
var _name = name;
newCat = Object.create(animal);
newCat.animalType = 'cat';
newCat.setName = function(name) {
var Animal = function() {
var _name;
this.animalType;
this.setName = function(name) {
_name = name;
};
this.getName = function() {
return _name;
};
};
var sFoo = “bar”;