Skip to content

Instantly share code, notes, and snippets.

Spyridakis Christos CSpyridakis

Block or report user

Report or block CSpyridakis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bradtraversy
bradtraversy / docker-help.md
Last active May 29, 2020
Docker Commands, Help & Tips
View docker-help.md

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@eltonvs
eltonvs / arch_installation.md
Last active May 28, 2020
Arch Linux step to step installation guide
View arch_installation.md

Arch Linux Installation Guide

This guide will show step-by-step how to Install Arch Linux on UEFI mode.

Table of Contents

  • Bootable Flash Drive
  • BIOS
  • Pre installation
    • Set Keyboard Layout
    • Check boot mode
    • Update System Clock
@umidjons
umidjons / youtube-dl-download-audio-only-on-best-quality.md
Last active May 26, 2020
Download Audio from YouTube with youtube-dl
View youtube-dl-download-audio-only-on-best-quality.md

Download Audio from YouTube

-i - ignore errors

-c - continue

-t - use video title as file name

--extract-audio - extract audio track

@miekg
miekg / udpserv.c
Created May 10, 2017
udp server in C
View udpserv.c
/*
* udpserver.c - A simple UDP echo server
* usage: udpserver <port>
*/
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <netdb.h>
@jcavat
jcavat / Dockerfile
Last active May 24, 2020
docker-compose with php/mysql/phpmyadmin/apache
View Dockerfile
FROM php:7.1.2-apache
RUN docker-php-ext-install mysqli
@xtrymind
xtrymind / archinstall.md
Last active May 23, 2020 — forked from miguelfrde/archinstall.md
Windows 10 and Arch Linux dual boot with UEFI
View archinstall.md

Arch Linux installation (Windows 10 dual boot)

Before

  1. Disable Windows Fast-Startup
  2. Disable Secure Boot

Partitioning

View pysize.py
import sys
def get_size(obj, seen=None):
"""Recursively finds size of objects"""
size = sys.getsizeof(obj)
if seen is None:
seen = set()
obj_id = id(obj)
if obj_id in seen:
return 0
View beamer-slides-with-notes.pdf
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mattiaslundberg
mattiaslundberg / arch-linux-install
Last active May 18, 2020
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
View arch-linux-install
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set swedish keymap
@LunaCodeGirl
LunaCodeGirl / examples.sh
Created Sep 25, 2013
Figlet how to and examples
View examples.sh
figlet "I've got something to say"
figlet -f thick "Make Tech ASCIIer"
date | figlet -f basic
You can’t perform that action at this time.