Skip to content

Instantly share code, notes, and snippets.

View PranavBhattarai's full-sized avatar
🎯
Focusing

Pranav PranavBhattarai

🎯
Focusing
View GitHub Profile
@siliconjesus
siliconjesus / fedora_33_Packet_tracer_8
Last active July 27, 2023 04:26
Getting the Packet Tracer 8 package to work on Fedora Core 33. (Apparently is works on FC34 as well).
Problem: I'm enrolled in a class that needs to use Packet Tracer for my school work. Cisco provides a Linux package, but its a Debian package (deb).
Tried to use alien to convert from .deb to .rpm, but found this solution for Packet Tracer 7.3. Adapted for Packet Tracer 8 on Fedora 33.
Starting point:
https://ask.fedoraproject.org/t/how-to-install-new-cisco-packet-tracer-7-3-on-fedora-31-workstation/6047/8
Alien aborts due to conflicts (probably can be overcome)
Environment: Fedora 33 // Packet Tracer 8.0
@sleeyax
sleeyax / PimpMyStremio-on-Android.md
Last active March 25, 2024 19:32
PimpMyStremio on Android guide

PimpMyStremio on android

This guide teaches you how to install PimpMystremio on your android device. Please keep in mind that this is just an expirement. I strongly recommend to use PMS on your computer when possible.

You do not need root access or a high end phone to follow this guide. The only thing you need is +-2.5GB of free storage and a basic understanding of linux.

Installation

Preparation

First of all, go to the playstore and install termux (?). Temux is a terminal emulator that allows you to run basic linux commands on your android device. We will use this to install a Ubuntu chroot/proot container that will run PMS.

Secondly, go get the Hacker's Keyboard. It makes typing and navigation on termux way easier.

@icsaas
icsaas / fix.sh
Created March 31, 2014 01:35
dpkg: warning: files list file for package `*****' missing, assuming package has no files currently installed
#!/bin/bash
set -e
# Clean out /var/cache/apt/archives
apt-get clean
# Fill it with all the .debs we need
apt-get --reinstall -dy install $(dpkg --get-selections | grep '[[:space:]]install' | cut -f1)
DIR=$(mktemp -d -t info-XXXXXX)
for deb in /var/cache/apt/archives/*.deb
@chiragchamoli
chiragchamoli / gist:3754597
Created September 20, 2012 08:09
Example of 1NF, 2NF and 3NF in plain english?

1NF is the most basic of normal forms - each cell in a table must contain only one piece of information, and there can be no duplicate rows.

2NF and 3NF are all about being dependent on the primary key. Recall that a primary key can be made up of multiple columns. As Chris said in his response:

The data depends on the key [1NF], the whole key [2NF] and nothing but the key [3NF] (so help me [Codd][1]).

2NF

Say you have a table containing courses that are taken in a certain semester, and you have the following data: