Skip to content

Instantly share code, notes, and snippets.

View k4m4r82's full-sized avatar
🏠
Working from home

Kamarudin k4m4r82

🏠
Working from home
View GitHub Profile
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">
<changeSet author="Administrator (generated)" id="1484639745890-1">
<createTable tableName="m_customer">
<column name="customer_id" type="CHAR(36)">
<constraints nullable="false"/>
</column>
<column name="nama_customer" type="VARCHAR(50)"/>
<column name="alamat" type="VARCHAR(100)"/>
<column name="kontak" type="VARCHAR(50)"/>
@k4m4r82
k4m4r82 / update-liquibase.properties
Last active January 17, 2017 09:02
File Liquibase Properties untuk update atau patch database target
# liquibase.properties
# username, password dan nilai parameter lainnya menyesuaikan
driver: org.postgresql.Driver
classpath: ./lib/postgresql-9.4.1212.jar
url: jdbc:postgresql://localhost:5432/db-production
username: postgres
password: masterkey
changeLogFile: output/db.changelog-1.0.xml
@k4m4r82
k4m4r82 / diff-liquibase.properties
Last active January 17, 2017 09:03
File Liquibase Properties untuk Diff ChangeLog
# liquibase.properties
# username, password dan nilai parameter lainnya menyesuaikan
driver: org.postgresql.Driver
classpath: ./lib/postgresql-9.4.1212.jar
# db-production
url: jdbc:postgresql://localhost:5432/db-production
username: postgres
password: masterkey
@k4m4r82
k4m4r82 / generate-liquibase.properties
Last active January 17, 2017 09:03
File Liquibase Properties untuk Generate Changelog
# liquibase.properties
# username, password dan nilai parameter lainnya menyesuaikan
driver: org.postgresql.Driver
classpath: ./lib/postgresql-9.4.1212.jar
url: jdbc:postgresql://localhost:5432/db-develop
username: postgres
password: masterkey
changeLogFile: output/db.changelog-1.0.xml
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Northwind.Model;
using Northwind.Repository.Api;
using System.Data.Entity;
[ComVisible(true), ClassInterface(ClassInterfaceType.None), Guid("BA626A6E-0AA9-45C9-AA47-2E9674406A75")]
public class Terbilang : ITerbilang
{
public string TerbilangIndonesia(int nominal)
{
string strTot = string.Empty;
string urai = string.Empty;
string strJmlHuruf = string.Empty;
string bil1 = string.Empty;
string bil2 = string.Empty;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Northwind.Model;
using Northwind.Repository.Api;
using Northwind.Repository.Service;
namespace Northwind.ConsoleApp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Northwind.Repository.Api;
using System.Data;
namespace Northwind.Repository.Service
{
public class Category
{
public int CategoryID { get; set; }
public string CategoryName { get; set; }
public string Description { get; set; }
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Northwind.Model;
using Northwind.Repository.Api;
using Northwind.Repository.Service;
namespace Northwind.ConsoleApp