start new:
tmux
start new with session name:
tmux new -s myname
[database] | |
path=/home/USER/mail | |
[user] | |
name=MyName MySurname | |
[email protected] | |
[email protected] | |
#!/usr/bin/python | |
# License for any modification to the original (linked below): | |
# ---------------------------------------------------------------------------- | |
# "THE BEER-WARE LICENSE" (Revision 42): | |
# Sebastiano Poggi and Daniele Conti wrote this file. As long as you retain | |
# this notice you can do whatever you want with this stuff. If we meet some day, | |
# and you think this stuff is worth it, you can buy us a beer in return. | |
import argparse, sys, subprocess, tempfile |
#include <stdlib.h> | |
#include <stdio.h> | |
size_t malloc_calc(size_t size){ | |
const size_t realloc_size = sizeof(void *) * 2; | |
const size_t realloc_add = sizeof(void *); | |
size_t newsize = size / realloc_size; | |
if (size % realloc_size) |
#!/usr/bin/env python | |
# Checking installed packages using linux-info.eclass | |
# for necessary kernel options | |
import portage | |
vartree = portage.db[portage.root]['vartree'] | |
all_cpvs = vartree.dbapi.cpv_all() | |
settings = portage.config() |
To download changes from an old livedvd iso image to a new one without having to redownload the whole image, do the following. | |
1. emerge zsync | |
2. zsync -i oldimage.iso http://77.110.8.68/gentoo13/newimage.iso.zsync | |
#!/bin/bash -ex | |
# Paste this into ssh | |
# curl -sL https://gist.github.com/andsens/2913223/raw/bootstrap_homeshick.sh | tar -xzO | /bin/bash -ex | |
# When forking, you can get the URL from the raw (<>) button. | |
### Set some command variables depending on whether we are root or not ### | |
# This assumes you use a debian derivate, replace with yum, pacman etc. | |
aptget='sudo apt-get' | |
chsh='sudo chsh' |
The list would not be updated for now. Don't write comments.
The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.
Because of GitHub search limitations, only 1000 first users according to amount of followers are included. If you are not in the list you don't have enough followers. See raw data and source code. Algorithm in pseudocode:
githubUsers