Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View ebangin127's full-sized avatar

Minkyu Kim ebangin127

  • Republic of Korea
View GitHub Profile
#include <stdio.h>
#include <malloc.h>
const int LIMIT = 30;
const int INF = 876543210;
typedef struct {
int x;
int y;
} pos_t;
{
"DocumentVersion": 2,
"Drive": {
"Path": "\\\\.\\PHYSICALDRIVE0",
"Model": "Samsung SSD 950 PRO 256GB",
"Firmware": "2B0QBXX7",
"Size": 256061,
"SMART": {
"Type": "SmartNvme",
"Overview": {
#include<stdio.h>
#include<windows.h>
#include<stdlib.h>
void diskread(HANDLE hDevice, int disk_size,int& bad_sector)
{
char buf[512];
int numread;
int ldistanceHigh = 512;
@ebangin127
ebangin127 / start.sh
Created May 14, 2016 13:05
Docker Quickstart Terminal @ Hyper-V
#!/bin/bash
trap '[ "$?" -eq 0 ] || read -p "Looks like something went wrong in step ´$STEP´... Press any key to continue..."' EXIT
VM=${DOCKER_MACHINE_NAME-default}
DOCKER_MACHINE=./docker-machine.exe
VBOXMANAGE="powershell"
BLUE='\033[1;34m'
GREEN='\033[0;32m'