- Git Etiquettes
- PRs
- Naming conventions
- Commits
- Try to commit everyday
- Messages:
def log(a): | |
print(a) | |
log("hello world") |
for i in *.CR2; do sips -s format jpeg $i --out "${i%.*}.jpg"; done | |
for i in *.CR2; do sips -s format jpeg $i --out "{relative location}$i.jpg"; done | |
// relative location might be as simple as ./ or ../ |
import requests | |
from bs4 import BeautifulSoup, Comment | |
import csv | |
from enum import Enum | |
# CSV: Job number, Job name, date opened, category, stipend, resume type | |
# Conf: | |
DEBUG = 1 | |
ldap_user = '' | |
ldap_pass = '' |
#!/bin/bash | |
# A Simple Shell Script To download youtube videos and playlists | |
# Nautatava Navlakha - 16/Nov/2019 | |
# Always install packages in virtual enviroment | |
`python3 -m venv env` | |
# Install youtube-dl | |
# Find the documentation at https://github.com/ytdl-org/youtube-dl | |
`pip install --upgrade youtube-dl` |
user1 want to be able to 'su' to a specific user, without a password to be entered.
$ sudo visudo
$ user1 ALL=(ALL) NOPASSWD: /bin/bash
for all users
$ user1 ALL=(ALL) NOPASSWD: ALL