What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-09-11 00:25:02
git upload folder
# New local repository git init git add . git commit -m "Initial commit" # New remote repository # Create remote repository (likely on github), then: git remote add origin https://github.com/username/new_repo #https git remote add origin git@gi... Add solution -
Other 2021-09-09 17:46:01
fetch api tutorial
fetch('https://api.github.com/users/manishmshiva', { method: "GET", headers: {"Content-type": "application/json;charset=UTF-8"} }) .then(response => response.json()) .then(json => console.log(json)); .catch(err =&... Add solution -
Python 2021-09-06 05:55:03
python requests
>>> r = requests.get('https://api.github.com/user', auth=('user', 'pass')) >>> r.status_code 200 >>> r.headers['content-type'] 'application/json; charset=utf8' >>> r.encoding 'utf-8' >>> r.text u'{"type&qu... Add solution -
Shell/Bash 2021-09-01 10:01:02
add github repo
# New local repository git init git add . git commit -m "Initial commit" # New remote repository # Create remote repository (likely on github), then: git remote add origin https://github.com/username/new_repo #https git remote add origin git@gi... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5