Skip to content

Instantly share code, notes, and snippets.

View maniac787's full-sized avatar
Focusing

maniac787 maniac787

Focusing
View GitHub Profile
@maniac787
maniac787 / multiple_ssh_setting.md
Created September 28, 2023 22:42 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

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 "your_email@youremail.com"
@maniac787
maniac787 / Key_starUML.md
Created August 25, 2023 14:15 — forked from danielquisbert/Key_starUML.md
Key para starUML
@maniac787
maniac787 / semantic-commit-messages.md
Created February 14, 2023 15:42 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@maniac787
maniac787 / xampp_php7_xdebug.md
Created August 31, 2021 02:52 — forked from odan/xampp_php7_xdebug.md
Installing Xdebug for XAMPP
@maniac787
maniac787 / install virtualenv ubuntu 16.04.md
Created August 18, 2018 05:11 — forked from Geoyi/install virtualenv ubuntu 16.04.md
How to install virtual environment on ubuntu 16.04

How to install virtualenv:

Install pip first

sudo apt-get install python3-pip

Then install virtualenv using pip3

sudo pip3 install virtualenv 
@maniac787
maniac787 / git.migrate
Created September 18, 2017 00:55 — 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.
@maniac787
maniac787 / README.md
Created September 5, 2016 03:01 — forked from rvillars/README.md
Spring bundle based translations (i18n) for AngularJS applications with angular-translate

angular-translate with Spring bundles

Synopsis

AngularJS itself doesn't provide any features to translate the texts of your application to different languages and switching the language right on the page. Fornutalty there is now another open-source project called angular-translate that implements the needed functionalities.

AnularJS proposes a technologiy where as much as possible application behevior is exeuted on the client (the browser). So it makes sense to hold translated texts clientside and enrich the static templates with the transalted texts there.

Spring message bundles in the opposite are a collection of serverside key=value files that hold the translated texts each for one language. A well known and widly used pattern.