Skip to content

Instantly share code, notes, and snippets.

View thamognya's full-sized avatar
🐧
Hello World, I am a dev.

Thamognya thamognya

🐧
Hello World, I am a dev.
View GitHub Profile

Technologies to learn to become a Back End Developer (Python/Django)

  • Linux - be proficient using Ubuntu for example and the CLI and understand how the shell works, what are environment variables, subshells, processes/tasks, etc...
  • Docker (and docker-compose) - what are containers and how they work (conceptually) and how to create and run ones
  • Git - what does version control system mean and how to use Git
  • RDB (relational databases) - what are relational databases, and understand tables, how to create them and make relations between them as needed... also understand that through SQLite and PostgreSQL (preferred) or MySQL
  • Python - how to write Python very well and understand its [OOP] implementation...
  • Virtualenv - And how to create virtual environments for python to isolate it from the system's installed version...
  • Virtualenvwrapper to manage virtual environments easily
@thamognya
thamognya / gentoo-recompile-everything.pl
Created March 28, 2022 01:37
Gentoo Script to Recompile Everything
#!/usr/bin/perl -w
#
# Generate a script which when run recompiles each and every package
# in the Gentoo system.
# This will typically be required on a major GCC upgrade.
#
# $HeadURL: /caches/xsvn/trunk/usr/local/sbin/recompile-entire-system $
# $Author: root $
# $Date: 2006-09-01T14:15:49.548823Z $
# $Revision: 334 $
@thamognya
thamognya / debian-hurd-installer.sh
Created April 2, 2022 00:53
Debian GNU/Hurd Installler: Gets Debian GNU/Hurd working with kvm.
#!/bin/sh
# -i to specifiy iso directory
# -c to install iso cd, if you do not have it already (if you have specify with -i option)
# -d to install iso dvd, if you do not have it already (if you have specify with -i option)
base_current_link="https://cdimage.debian.org/cdimage/ports/hurd-i386/current/iso-dvd/"
while getopts ":hi:cd:" opt; do
case $opt in
i) dir_for_iso=${OPTARG};;
@thamognya
thamognya / launcher.json
Created April 7, 2022 13:19
Karabiner complex modifications launcher json
{
"title": "Launch apps",
"rules": [
{
"description": "Launch apps by right shift+letters. Editied",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "v",
@thamognya
thamognya / bits-stdc++.h
Last active October 22, 2022 10:12
Source code of bits/stdc++.h
// C++ includes used for precompiling -*- C++ -*-
// Copyright (C) 2003-2015 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)
// any later version.