Skip to content

Instantly share code, notes, and snippets.

View thekingofbandit's full-sized avatar
🏠
Working from home

Mohammad Khanafi thekingofbandit

🏠
Working from home
View GitHub Profile
@crot4lus
crot4lus / UK Bank Holidays.csv
Created November 14, 2016 08:40
CSV with MySQL friendly UK bank holidays
Name Bank Holiday Date
New Year's Day 1 2009-01-01
Robert Burns Night (Burns Night) 0 2009-01-25
Holocaust Memorial Day 0 2009-01-27
Valentines Day 0 2009-02-14
Shrove Tuesday (Pancake Day) 0 2009-02-24
Ash Wednesday 0 2009-02-25
St David's Day 0 2009-03-01
St Patricks Day 0 2009-03-17
Mothering Sunday (Mothers Day) 0 2009-03-22
@adwait1-g
adwait1-g / running_the_kernel.md
Last active July 8, 2024 19:37
This gist tells you how to build the kernel and run it on qemu. This is also a way to get started with kernel's internals.

1. Downloading and building the Linux kernel

  1. Clone the github repository onto your local machine.
$ git clone https://github.com/torvalds/linux.git
$ cd linux
  1. Configure the build
@thekingofbandit
thekingofbandit / inlinesvgzoom.jsx
Created August 24, 2021 00:34
inline svg jsx
import React from "react";
import { ReactSVGPanZoom } from "react-svg-pan-zoom";
import { makeStyles } from "@material-ui/core/styles";
import Grid from "@material-ui/core/Grid";
import Diagram from "../components/Diagram";
const svgPanZoom = require("svg-pan-zoom");
const useStyles = makeStyles((theme) => ({
root: {
flexGrow: 1