Skip to content

Instantly share code, notes, and snippets.

View unalkalkan's full-sized avatar

Unal Kalkan unalkalkan

View GitHub Profile
@unalkalkan
unalkalkan / docker.md
Created April 27, 2022 09:18 — forked from FreddieOliveira/docker.md
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@unalkalkan
unalkalkan / serve.go
Created March 24, 2019 14:08 — forked from paulmach/serve.go
Simple Static File Server in Go
/*
Serve is a very simple static file server in go
Usage:
-p="8100": port to serve on
-d=".": the directory of static files to host
Navigating to http://localhost:8100 will display the index.html or directory
listing file.
*/
package main
@unalkalkan
unalkalkan / Working Effectively with Legacy Code.md
Created July 15, 2018 00:15 — forked from jeremy-w/Working Effectively with Legacy Code.md
Notes on Michael Feathers' *Working Effectively with Legacy Code*.

Working Effectively with Legacy Code

Notes by Jeremy W. Sherman, October 2013, based on:

Feathers, Michael. Working Effectively with Legacy Code. Sixth printing, July 2007.

Foreword:

  • Software systems degrade into a mess.
  • Requirements ALWAYS change.
  • Your goal as a software developer: Create designs that tolerate change.
@unalkalkan
unalkalkan / 4chan-wget-scraping.md
Created December 22, 2017 14:22 — forked from tayfie/4chan-wget-scraping.md
how to scrape images from 4chan using wget

How To Scrape Images from 4chan Using Wget

This guide is to save other sorry plebs from needing to RTFM in figuring out how to use wget to scrape images from 4chan and other imageboards. There are lots of image downloaders in existence, but they are usually outdated and broken. You will save time following this guide to learn how to use a powerful and general purpose tool instead.

What Is Wget?

Wget is a command-line file downloader that can handle just about any file downloading task normal and power users will ever need to do. It has versions available for Windows, Mac, and Linux. If it is not already installed on your machine, install it now.

Basic syntax

@unalkalkan
unalkalkan / introrx.md
Created July 25, 2017 00:22 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing