-
First install Java, Scala and Spark in Ubuntu
- Install Java
sudo apt-add-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer
- Install Java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <math.h> | |
#include <GL/glut.h> | |
#include <time.h> | |
//#include <fstream.h> | |
#include <stdarg.h> | |
#include <stdio.h> | |
#include <string.h> | |
typedef struct { | |
float v[3]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
public class No3 { | |
public static void main(String[] args) { | |
Scanner input1 = new Scanner(System.in); | |
System.out.println("masukkan kalimat :"); | |
String kalimat = input1.nextLine(); | |
char[] kata = kalimat.toCharArray(); | |
char hurufDepan = kata[0]; | |
char hurufBelakang = kata[kata.length-1]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adapt settings in map file <tt>pmapper_demo.map</tt> for the following tags to match settings | |
# on your machine (see additionally MapServer documentation for detailed information): | |
# MAP | |
# SHAPEPATH | |
# FONTSET | |
# SYMBOLSET | |
# WEB | |
# IMAGEPATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pmapper> | |
<ini> | |
<pmapper> | |
<pmTitle>p.mapper - A MapServer PHP/MapScript Framework</pmTitle> | |
<debugLevel>3</debugLevel> | |
<plugins>export</plugins> | |
<plugins>scalebar</plugins> | |
<plugins>transparency</plugins> | |
</pmapper> | |
<config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:latest | |
MAINTAINER Ainun Abdullah <abdullah.ainun4@gmail.com> | |
RUN apk add --update --upgrade bash git curl openssl | |
RUN apk add php7 \ | |
#REQUIRED BY COMPOSER | |
php7-json \ | |
#REQUIRED BY COMPOSER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
using namespace std; | |
// Base Class | |
class Kendaraan { | |
private: | |
// Private attribute | |
string nama; | |
int jumlahRoda; |
FWIW: I'm not the author of the content presented here (which is an outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node { | |
env.WORKSPACE = pwd() | |
def now = new Date() | |
def major = "1" | |
def month = now.format("M", TimeZone.getTimeZone('UTC')) | |
def day = now.format("d", TimeZone.getTimeZone('UTC')) | |
def week = (int)((Integer.parseInt(day,10) - 1) / 7 + 1) | |
def version = "v"+major+"."+month+"."+week | |
def name = "microservice-transaksi" | |
def branch = "master" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(void) | |
{ | |
printf("## Program Bahasa C Persegi Angka ## \n"); | |
printf("====================================== \n\n"); | |
int besar_persegi,baris,kolom, i,j; | |
printf("Input besar persegi: "); |