Create a new repository, or reuse an existing one.
Generate a new SSH key:
ssh-keygen -t rsa -C "[email protected]"
Copy the contents of the file ~/.ssh/id_rsa.pub
to your SSH keys in your GitHub account settings.
Test SSH key:
Create a new repository, or reuse an existing one.
Generate a new SSH key:
ssh-keygen -t rsa -C "[email protected]"
Copy the contents of the file ~/.ssh/id_rsa.pub
to your SSH keys in your GitHub account settings.
Test SSH key:
# CCZE Colourize Config for Centos | |
# http://lintut.com/colorize-log-files-on-linux-using-ccze-tool/ | |
# http://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/ | |
CCZE=`which ccze` | |
if [ "$TERM" != dumb ] && [ -n "$CCZE" ] | |
then | |
function colourify { `$@` | $CCZE -A } | |
alias colourify=colourify | |
alias configure='colourify ./configure' |
import requests | |
import sys | |
import json | |
def waybackurls(host, with_subs): | |
if with_subs: | |
url = 'http://web.archive.org/cdx/search/cdx?url=*.%s/*&output=json&fl=original&collapse=urlkey' % host | |
else: | |
url = 'http://web.archive.org/cdx/search/cdx?url=%s/*&output=json&fl=original&collapse=urlkey' % host |
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# ... or force ignoredups and ignorespace | |
HISTCONTROL=ignoredups:ignorespace |
Kdenlive enabling GPU rendering by entering custom rendering parameters. | |
Note that GPU rendering is experimental. You may experience crashes, etc. | |
Here are the available GPU Rendering Parameters: | |
Nvidia – NVENC – H264 – Constant Bit Rate | |
f=mp4 vcodec=nvenc_h264 vb=30000k rc=cbr acodec=aac ab=192k | |
Nvidia – NVENC – H264 – Variable Bit Rate | |
f=mp4 vcodec=nvenc_h264 vb=30000k minrate=20000k maxrate=60000k acodec=aac ab=192k |
# brew install youtube-dl (on mac) | |
# https://github.com/rg3/youtube-dl | |
# alias | |
alias cd..="cd .." | |
alias sync="adb push --sync ~/Movies/*.mp4 mnt/sdcard/Movies/" | |
alias yt="youtube-dl -o '~/Movies/[%(release_date)s]-[%(id)s].%(title)s.%(ext)s' --restrict-filenames" | |
alias ytplaylist="youtube-dl -o '~/Movies/%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s'" | |
alias mp3="youtube-dl --extract-audio --format bestaudio --audio-format mp3 --prefer-ffmpeg --audio-quality 160K --output '%(title)s.%(ext)s'" |
# In The Name Of Allah . | |
# -- --- ---- -- ----- - | |
# Sun Nov 8 07:42:54 2020 | |
# Written By : zer0err0r . | |
# ======= == = ========= = | |
# 3, Configuring The System . | |
# Adding our user to [libvirt] group : | |
$ usermod -aG libvirt zer0err0r |
# In The Name Of Allah . | |
# -- --- ---- -- ----- - | |
# Thu Aug 27 09:54:36 2020 | |
# Written By : zer0err0r . | |
# ======= == = ========= = | |
# [duplicity] On CentOS8 . | |
= All these steps are applied on the client, Except for some steps . | |
# Installation : |
# In The Name Of Allah . | |
# -- --- ---- -- ----- - | |
# Wed Oct 28 07:46:15 2020 | |
# Written By : zer0err0r . | |
# ======= == = ========= = | |
# DNSMasq DHCP Only Server Setup . | |
= Set a static IP for your server . | |
$ dns install -y dnsmasq | |
$ vim /etc/dnsmasq.d/my_configs |