Skip to content

Instantly share code, notes, and snippets.

View modenaxe's full-sized avatar
🐢

Luca Modenese modenaxe

🐢
  • University of New South Wales
  • Sydney
View GitHub Profile

Based on this post

wget https://github.com/Archiconda/build-tools/releases/download/0.2.3/Archiconda3-0.2.3-Linux-aarch64.sh
/bin/bash Archiconda3-0.2.3-Linux-aarch64.sh 

To create anchor links that jump down to different sections of a README (as in an interactive table of contents), first create a heading:
#Real Cool Heading

The anchor link for that heading is the lowercase heading name with dashes where there are spaces. You can always get the anchor name by visiting the README on Github.com and clicking on the anchor that appears when you hover to the left of the heading. Copy everything starting at the #:
#real-cool-heading

Wherever you want to link to your Real Cool Heading section, put your desired text in brackets, followed by the anchor link in parentheses:
[Go to Real Cool Heading section](#real-cool-heading)

@modenaxe
modenaxe / git_submodules.md
Created June 4, 2020 08:45 — forked from gitaarik/git_submodules.md
Git Submodules basic explanation

Git Submodules basic explanation

Why submodules?

In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of advantages of using submodules:

  • You can separate the code into different repositories.
@modenaxe
modenaxe / enable-shutter-edit-in-Ubuntu-18.04.md
Created March 24, 2020 19:32
How to enable Shutter edit menu in Ubuntu 18.04

To enable the manu it is necessary to download few debian libraries. I have used this post on itsfoss that has all the links. The post credits this other post from UbuntuHandbook.

@modenaxe
modenaxe / git.migrate
Created December 11, 2019 12:14 — forked from niksumeiko/git.migrate
Moving git repository and all its branches, tags to a new remote repository keeping commits history
#!/bin/bash
# Sometimes you need to move your existing git repository
# to a new remote repository (/new remote origin).
# Here are a simple and quick steps that does exactly this.
#
# Let's assume we call "old repo" the repository you wish
# to move, and "new repo" the one you wish to move to.
#
### Step 1. Make sure you have a local copy of all "old repo"
### branches and tags.
@modenaxe
modenaxe / imagenet1000_clsidx_to_labels.txt
Created November 21, 2019 10:19 — forked from yrevar/imagenet1000_clsidx_to_labels.txt
text: imagenet 1000 class idx to human readable labels (Fox, E., & Guestrin, C. (n.d.). Coursera Machine Learning Specialization.)
{0: 'tench, Tinca tinca',
1: 'goldfish, Carassius auratus',
2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias',
3: 'tiger shark, Galeocerdo cuvieri',
4: 'hammerhead, hammerhead shark',
5: 'electric ray, crampfish, numbfish, torpedo',
6: 'stingray',
7: 'cock',
8: 'hen',
9: 'ostrich, Struthio camelus',
@modenaxe
modenaxe / adding-math-to-github-markdown.md
Last active September 3, 2020 10:19
Adding mathematical formulas to GitHub markdown

Adding equations and math formulas to GitHub markdown files (two options!)

Option1: using codecogs.com

At the moment (11/2019) there is not a straightforward way of including mathematical formulas using GitHub markdown, e.g. README.md files. The best workaround I found online was in this Stackoverflow discussion and suggested to use an external website, codecogs.com to generate links and including them in the markdown text.

Example (Gradient Descend)

These are a couple of options for embedding math from codecogs:

  • using "HTML (Edit)" or "HTML" option just copy the HTML code on the markdown text:
@modenaxe
modenaxe / git-import-repository.md
Created November 13, 2019 16:43 — forked from martinbuberl/git-import-repository.md
Import existing Git repository into another

Import existing Git repository into another

Folder structure before (2 separate repositories):

XXX
 |- .git
 |- (project files)
YYY
 |- .git