error: Couldn't load public key... : No such file or directory?
fatal: failed to write commit object
First, I removed the format = ssh
from my ~/.gitconfig
file.
It is suggested to have a dedicated virtual environment for each Django project, and one way to manage a virtual environment is pipenv or venv, which is included in Python.
With venv, you can create a virtual environment by typing this in the command prompt, remember to navigate to where you want to create your project.
Windows:
py -m venv myproject
Unix/MacOS:
" Customise tabs length | |
set tabstop=4 shiftwidth=4 | |
" Indent automatically | |
set autoindent | |
" Intelligent indentation for C code | |
set smartindent | |
set cindent |
" Mouse settings | |
:set mouse=a | |
" Customise tabs length | |
:set tabstop=4 shiftwidth=4 smarttab softtabstop=4 | |
" Indent automatically | |
:set autoindent | |
" Intelligent indentation for C code |
# sign commits alias | |
alias commit='commit -S' | |
# gnupg - verifies signed commits in GitHub | |
export GPG_TTY=$(tty) | |
[ -f ~/.fzf.bash ] && source ~/.fzf.bash | |
# compile C programs (Aggresive compiler) | |
alias gcc='gcc -Wall -Werror -pedantic -Wextra -std=gnu89' |
Here are numerous self-taught resources available online for beginners in software engineering. Here's a step-by-step guide for someone starting out, complete with resources:
Computer Science Basics:
Programming Language:
JavaScript: Eloquent JavaScript by Marijn Haverbeke.
$ wget \ | |
--recursive \ | |
--no-clobber \ | |
--page-requisites \ | |
--html-extension \ | |
--convert-links \ | |
--domains website.org \ | |
--no-parent \ | |
www.website.org/tutorials/html/ |
echo off | |
mkdir outputs | |
for %%a in ("*.mp4") do ffmpeg -i "%%a" -b:a 192K -vn "outputs\%%~na.mp3" | |
pause |
#!/bin/python3 | |
import requests | |
resp = requests.post('https://textbelt.com/text', { | |
'phone': '5555555555', # Customise the phone number for your personal use | |
'message': 'Hello world', # Customise the message for your personal use | |
'key': 'textbelt', # Use key=textbelt to send 1 free text per day | |
}) | |
print(resp.json()) |