Skip to content

Instantly share code, notes, and snippets.

View s4kibs4mi's full-sized avatar
🎯
Focusing

Sakib Sami s4kibs4mi

🎯
Focusing
View GitHub Profile
@s4kibs4mi
s4kibs4mi / go-os-arch.md
Created April 11, 2019 06:41 — forked from asukakenji/0-go-os-arch.md
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.8.3 darwin/amd64.

A list of valid GOOS values

(Bold = supported by go out of the box, ie. without the help of a C compiler, etc.)

  • android
  • darwin
@s4kibs4mi
s4kibs4mi / install-scala-sbt-and-java-on-ubuntu.md
Created September 21, 2017 21:27 — forked from alexislucena/install-scala-sbt-and-java-on-ubuntu.md
Ubuntu: Install Scala, SBT and Java on Ubuntu 16.04

Install Scala 2.11.8

$ sudo apt-get remove scala-library scala
$ sudo wget www.scala-lang.org/files/archive/scala-2.11.8.deb
$ sudo dpkg -i scala-2.11.8.deb

Check Scala version

$ scala -version
@s4kibs4mi
s4kibs4mi / gronthodotcom-dump_27-02-2017.json
Created February 27, 2017 13:17 — forked from prantu/gronthodotcom-dump_27-02-2017.json
JSON dump file of Book Name and their download link (PDF) from my favourite book site, grontho.com. This is a output of my project written with scrapy in python. Cheers.
[
{
"bookNumber": 1,
"bookLink": "http://50.30.47.15/Ebook/English/Peace_and_its_Discontents.pdf",
"bookTitle": "Peace and It’s Discontents",
"pageLink": "http://www.grontho.com/peace-and-its-discontents/"
},
{
"bookNumber": 2,
"bookLink": "No PDF link is available",
@s4kibs4mi
s4kibs4mi / gist:32f4ea3293b33ac827c31e3a4de72aa7
Created July 19, 2016 18:13 — forked from dodyg/gist:5823184
Kotlin Programming Language Cheat Sheet Part 1

#Intro

Kotlin is a new programming language for the JVM. It produces Java bytecode, supports Android and generates JavaScript. The latest version of the language is Kotlin M5.3

Kotlin project website is at kotlin.jetbrains.org.

All the codes here can be copied and run on Kotlin online editor.

Let's get started.

@s4kibs4mi
s4kibs4mi / genymotionwithplay.txt
Created May 5, 2016 13:06 — forked from wbroek/genymotionwithplay.txt
Genymotion with Google Play Services
Download the following ZIPs:
ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links)
Download the correct GApps for your Android version:
Google Apps for Android 6.0 (https://www.androidfilehost.com/?fid=24052804347835438 - benzo-gapps-M-20151011-signed-chroma-r3.zip)
Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161891406 - gapps-L-4-21-15.zip)
Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip)
Google Apps for Android 4.4.4 (https://www.androidfilehost.com/?fid=23501681358544845 - gapps-kk-20140606-signed.zip)
Google Apps for Android 4.3 (https://www.androidfilehost.com/?fid=23060877490000124 - gapps-jb-20130813-signed.zip)
@s4kibs4mi
s4kibs4mi / stuns
Created April 11, 2016 09:40 — forked from yetithefoot/stuns
STUN+TURN servers list
{url:'stun:stun01.sipphone.com'},
{url:'stun:stun.ekiga.net'},
{url:'stun:stun.fwdnet.net'},
{url:'stun:stun.ideasip.com'},
{url:'stun:stun.iptel.org'},
{url:'stun:stun.rixtelecom.se'},
{url:'stun:stun.schlund.de'},
{url:'stun:stun.l.google.com:19302'},
{url:'stun:stun1.l.google.com:19302'},
{url:'stun:stun2.l.google.com:19302'},
package misc;
import java.util.Comparator;
import java.util.Map;
import java.util.TreeMap;
public class ArrayTools
{
private static class ValueComparator<K , V extends Comparable<V>> implements Comparator<K>
{