Skip to content

Instantly share code, notes, and snippets.

View ikbelkirasan's full-sized avatar

Ikbel ikbelkirasan

View GitHub Profile
@ikbelkirasan
ikbelkirasan / host_apt_repo_on_github.md
Last active January 2, 2026 19:44
Host an APT repository on Github

Host an APT repository on Github

This guide will help you host an APT repository on Github.

Prerequisites

You need to install the following packages.

  • reprepro
@ikbelkirasan
ikbelkirasan / readme.md
Created November 2, 2018 11:18
Install Canon LBP6030b drivers on Ubuntu 18.04 (64bit)
@ikbelkirasan
ikbelkirasan / writing-a-state-of-the-art-section.md
Created November 1, 2018 19:28
Writing the "Related Work" Section of a Paper/thesis

Writing the "Related Work" Section of a Paper/thesis

By: Chamin Morikawa (https://www.linkedin.com/pulse/writing-related-work-section-paperthesis-chamin-morikawa/)

For most students, writing about what they did on their own is not hard. But writing about others' work - which is what you have to do in the "State of the Art" or "Related Work" section - is quite hard for them. Here are a few guidelines to make this task a bit easier.

The Basics

Let's lay down our assumptions before continuing. I assume that you want to write a "Related Work" section for a research paper or a thesis that describes your approach to solve some problem. Let's also assume that there are other publications that attempt to solve the same problem, but the solutions in them are not perfect. Finally, let's assume that your approach has some difference when compared to those by others, and some improvement (faster, more accurate, easier to afford, etc.).

@extremecoders-re
extremecoders-re / openwrt-qemu.md
Last active June 16, 2026 07:15
Running OpenWRT ARM under QEMU

Environment

The steps shown below are done on a Ubuntu VM using Qemu 3.0

$ qemu-system-arm -version
QEMU emulator version 3.0.0
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

To quit Qemu at any time press Ctrl+a x, i.e. Ctrl+a and then x

@ikbelkirasan
ikbelkirasan / map_caps_to_menu.sh
Created October 15, 2018 06:28
Map Caps Lock to Menu key in ubuntu
dconf write /org/gnome/desktop/input-sources/xkb-options "['caps:menu']"
@joseluisq
joseluisq / currencies.json
Created April 3, 2018 08:39
JSON list of all currency symbols available from the Open Exchange Rates API - https://docs.openexchangerates.org/docs/currencies-json
{
"AED": "United Arab Emirates Dirham",
"AFN": "Afghan Afghani",
"ALL": "Albanian Lek",
"AMD": "Armenian Dram",
"ANG": "Netherlands Antillean Guilder",
"AOA": "Angolan Kwanza",
"ARS": "Argentine Peso",
"AUD": "Australian Dollar",
"AWG": "Aruban Florin",
@icebob
icebob / example.js
Last active August 26, 2018 15:34
Safe JSON Serializer for Moleculer framework
const ServiceBroker = require("moleculer");
const SafeJSONSerializer = require("./safe-json-serializer.js");
const broker = new ServiceBroker({
logger: true,
serializer: new SafeJSONSerializer()
});
@davidpiesse
davidpiesse / tailwind_md_all_colours.js
Last active February 25, 2025 16:31
A colour set for Tailwind CSS that include all Material Design Colours, shades, accents and contrast colours
// https://davidpiesse.github.io/tailwind-md-colours/
//
//Notes
//
//All colours are generated from Material Design Docs
//Colours have a base, a set of shades (50-900) accent colours
//In addition a companion set of contrast colours are included for colouring text / icons
// Example usage
// class="w-full bg-red-600 text-red-600-constrast"
@ikbelkirasan
ikbelkirasan / install.sh
Last active June 27, 2018 18:54
Install ubuntu 16.04 server dependencies
# update apt cache
sudo apt update
# install composer
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
# install nvm
wget -qO- https://cdn.rawgit.com/creationix/nvm/master/install.sh | bash
# run a new terminal to reflect changes
<?php // database/migrations/2014_10_12_000000_create_users_table.php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*