Skip to content

Instantly share code, notes, and snippets.

View anonymoustafa's full-sized avatar

Mostafa Ramezani anonymoustafa

View GitHub Profile
@anonymoustafa
anonymoustafa / fibbo-series.0.01.js
Created December 17, 2021 10:50
This gist is a nodeJS file that simply prints Fibonacci series to the 300th sentence. The point is, the whole job is organized within a FOR loop.
for (let i = 0, j = 1, temp;
j<300;
temp = i, i = j, j = i + temp)
{console.log(j);};
@anonymoustafa
anonymoustafa / git_create_orphan.sh
Created September 4, 2020 16:33 — forked from seanbuscay/git_create_orphan.sh
Create an orphan branch in a repo.
cd repository
git checkout --orphan orphan_name
git rm -rf .
rm '.gitignore'
echo "#Title of Readme" > README.md
git add README.md
git commit -a -m "Initial Commit"
git push origin orphan_name