Skip to content

Instantly share code, notes, and snippets.

View bit-twit's full-sized avatar

Iulian Pleșoianu bit-twit

View GitHub Profile
Continent_Name Continent_Code Country_Name Two_Letter_Country_Code Three_Letter_Country_Code Country_Number
Asia AS Afghanistan, Islamic Republic of AF AFG 4
Europe EU Albania, Republic of AL ALB 8
Antarctica AN Antarctica (the territory South of 60 deg S) AQ ATA 10
Africa AF Algeria, People's Democratic Republic of DZ DZA 12
Oceania OC American Samoa AS ASM 16
Europe EU Andorra, Principality of AD AND 20
Africa AF Angola, Republic of AO AGO 24
North America NA Antigua and Barbuda AG ATG 28
Europe EU Azerbaijan, Republic of AZ AZE 31
@bit-twit
bit-twit / launch.json
Created May 22, 2018 12:18 — forked from tonysneed/launch.json
Chrome Debugging with VS Code and Angular CLI
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "ng serve",
"url": "http://localhost:4200/#",
"webRoot": "${workspaceRoot}"
},
@bit-twit
bit-twit / AP42_Debian_Linux_Install.md
Created March 23, 2018 16:53 — forked from pjobson/AP42_Debian_Linux_Install.md
AP42 Debian/Mint/Ubuntu Linux Install Instructions

AP42 Linux Mint / Ubuntu Linux Variants Install Instructions

Instructions on installing Debian variants on Beelink AP42 or Kodlix AP42 and possibly other Apollo Lake Intel CPU computers.

This is the specific machine I purchased from Amazon CoolFun N42 DIY SSD Mini PC Intel Apollo Lake Pentium N4200 Processor.

I couldn't find any step-by-step instructions detailing this, so here we go.

@bit-twit
bit-twit / SplitTest
Last active August 29, 2015 14:07
Java String.split() implementation is broken
package test;
import java.util.regex.Pattern;
import org.apache.commons.lang3.StringUtils;
public class SplitTest {
public static void main(String[] args) {
String test = "//gws/bestprice//netbank-giro/";
<html>
<head>
<title>My first Three.js app</title>
<style>canvas { width: 100%; height: 100% }</style>
</head>
<body>
<script src="https://rawgithub.com/mrdoob/three.js/master/build/three.js"></script>
<script>
var scene = new THREE.Scene();
var camera = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 0.1, 1000 );