Skip to content

Instantly share code, notes, and snippets.

View abel-masila's full-sized avatar
⚛️
Shipping code!

Abel Masila abel-masila

⚛️
Shipping code!
View GitHub Profile
axios.get(geocodeURL).then((response)=>{
if(response.data.status==='ZERO_RESULTS'){
throw new Error('Unable to find that address!');
}
const lat=response.data.results[0].geometry.location.lat;
const lng=response.data.results[0].geometry.location.lng;
const weatherURL=`https://api.darksky.net/forecast/3708bcb6e2a477e7fb94de8fd3ecdfab/${lat},${lng}`;
@bradtraversy
bradtraversy / docker-help.md
Last active July 9, 2024 10:18
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

Yoda Gitflow Workflow.

Develop and Master Branches

Instead of a single master branch, this workflow uses two branches to record the history of the project. The master branch stores the official release history, and the develop branch serves as an integration branch for features.

We already have a master branch for both projects. To create a develop branch, which will only be done once by one of the team members, run:

git checkout -b develop
or
git branch develop