Skip to content

Instantly share code, notes, and snippets.

View diluculo's full-sized avatar

Jong Hyun Kim diluculo

  • FieldCure Co., Ltd.
  • Seoul, Korea
View GitHub Profile
@diluculo
diluculo / SQL Server commands and queries.md
Created September 13, 2023 06:11 — forked from ashish2199/SQL Server commands and queries.md
List of Microsoft SQL Server queries and commands

To create a Table

	create table risk_clos_rank(
		id_num int IDENTITY(1,1) NOT NULL,
	    username nvarchar(100),
	    datetime_of_decision DATETIME
	);
	
	CREATE TABLE TheNameOfYourTable (
 ID INT NOT NULL IDENTITY(1,1),
@diluculo
diluculo / LinearProgramming.cs
Created February 14, 2022 05:00
Linear Programming Simplex Method
// Implemented the `Linear Programming Simplex Method VI` of LabVIEW in C#
namespace Mathematics
{
public static class Optimization
{
/// <summary>
/// Determines the solution of a linear programming problem: Maximize C∙x, subject to M∙x >= b and x >= 0
/// </summary>
/// <param name="objective">C, a array describing the linear functional to maximize.</param>
@diluculo
diluculo / gist:074d1788c2a101688523a46b787baee2
Created November 18, 2019 02:44 — forked from CristinaSolana/gist:1885435
Keeping a fork up to date

1. Clone your fork:

git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@diluculo
diluculo / lua-printproxy.cs
Created November 18, 2015 00:40 — forked from cdhowie/lua-printproxy.cs
Proxying print() calls in Lua to C# (using Eluant)
using System;
using System.Text;
using Eluant;
class Example {
static void Main() {
using (var runtime = new LuaRuntime()) {
using (var proxy = runtime.CreateFunctionFromDelegate(new Action<LuaTable>(PrintProxy))) {
runtime.Globals["printproxy"] = proxy;
}