Skip to content

Instantly share code, notes, and snippets.

Avatar

Ismandra Eka Nugraha ienugr

View GitHub Profile
@ienugr
ienugr / README.md
Last active Jul 11, 2019
Script to get JSON data from local file and show country regions by specifying the country id
View README.md

Country Info

Prerequisites

  • Node JS

How to run

node index.js
@ienugr
ienugr / LeftRotation.java
Created Oct 25, 2017
A left rotation operation on an array of size n shifts each of the array's elements 1 unit to the left.
View LeftRotation.java
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class Solution {
public static void LeftShift(int arr[], int n) {
int temp = arr[0];
for (int i = 0; i < n-1; i++) {
View codility-demo-test.js
// Task description
// This is a demo task.
// Write a function:
// function solution(A);
// that, given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A.
// For example, given A = [1, 3, 6, 4, 1, 2], the function should return 5.
View Install Laravel on LEMP Ubuntu 14.04.md

#Steps to install latest Laravel, LEMP on AWS Ubuntu 14.4 version. This tutorial is the improvised verision of this tutorial on Digitalocean based on my experience.

Install PHP 7 on Ubuntu

Run the following commands in sequence.

sudo apt-get install -y language-pack-en-base
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install zip unzip
View raleigh.md

Raleight Table Assembly Instruction

This is the assembly instruction of Raleigh Table.

Raleigh Table Image

Parts

  1. Table Top - 1x
  2. Magazine Shelf - 1x