Skip to content

Instantly share code, notes, and snippets.

View Navds's full-sized avatar

Navalona Ramanantoanina Navds

  • Antananarivo, Madagascar
View GitHub Profile
@Navds
Navds / WritingMagentoModules.md
Created December 4, 2018 11:38 — forked from leek/WritingMagentoModules.md
Writing Modules for Magento 1.x

Writing Magento Modules

All custom modules should have a Namespace and Module Name. These are used below as {Namespace} and {Module}.

Caution: The Magento autoloader is known to have problems with CamelCase namespaces and/or modules between Windows and *nix systems. If your module requires more than one word for either of these, it is best to just concatenate them to avoid any issues (Example: {Namespace}_{Examplemodule}).

Index

@Navds
Navds / GitHub-Forking.md
Created October 14, 2018 13:15 — forked from Chaser324/GitHub-Forking.md
GitHub Standard Fork & Pull Request Workflow

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j

@Navds
Navds / xpath-cheatsheet.js
Last active June 13, 2018 08:51 — forked from LeCoupa/xpath-cheatsheet.js
XPath Cheatsheet
// XPath CheatSheet
// To test XPath in your Chrome Debugger: $x('/html/body')
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/
// 0. XPath Examples.
// More: http://xpath.alephzarro.com/content/cheatsheet.html
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class
@Navds
Navds / svn.md
Last active July 1, 2019 11:49 — forked from kidpixo/svn.md
SVN Cheatsheet
@Navds
Navds / gitcom.md
Last active May 31, 2018 07:14 — forked from jednano/gitcom.md
Git every day

Git Workflow

Initial Setup

Create an empty git repo or reinitialize an existing one

$ git init
@Navds
Navds / git_most_used_command.md
Last active May 30, 2018 20:37 — forked from chrismccoy/gitcheats.txt
git most used command

shortform git commands

alias g='git'

get a list of all commit messages for a repo

git log --pretty=format:'%s'
@Navds
Navds / MarkdownCheatsheet.md
Created May 30, 2018 19:31 — forked from Janfy/MarkdownCheatsheet.md
Markdown Cheatsheet
@Navds
Navds / multiple_ssh_setting.md
Last active May 30, 2018 19:15 — forked from jexchan/multiple_ssh_setting.md
Version control quickref

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"