Skip to content

Instantly share code, notes, and snippets.

View daramkun's full-sized avatar
🐿️

진재연(Jin Jae-yeon) daramkun

🐿️
View GitHub Profile
#!/bin/bash
cd svnroot
mkdir $1
cd $1
svnadmin create --fs-type fsfs ./
chown -R www-data:www-data ./
chmod -R g+rws ./
cd ../..
#!/bin/bash
nohup java -Xmx256M -Xms256M -jar ./minecraft_server.jar nogui &
:while 1
"C:\Program Files (x86)\Steam\SteamApps\common\Universe Sandbox\Universe Sandbox.exe"
ping -n 8 127.0.0.1 > NUL 2>&1
TASKKILL /f /im "Universe Sandbox.exe"
ping -n 3 127.0.0.1 >NUL
goto :while 1
using System;
class Program
{
const int MAX_TEST = 100;
const int MAX_PHASE = 10;
const int MAX_LOOP = 10000000;
public static void Main ( string [] args )
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.NetworkInformation;
using System.Text;
using System.Threading;
using System.Windows.Forms;
namespace DdnsUpdater
{
#include <stdio.h>
#include <Windows.h>
int main(void)
{
bool start = false;
int c = 0;
char str[32] = {0, };
bool exit = true;
using System;
using System.IO;
using System.Text;
namespace OpenCLTest
{
class Program
{
static void Main ( string [] args )
{
@daramkun
daramkun / gethostbyname_example.c
Last active August 29, 2015 14:01
gethostbyname example in Winsock
#include <winsock.h>
#include <Windows.h>
#include <stdio.h>
#pragma comment (lib, "ws2_32.lib")
int main(void)
{
WSADATA wsaData = { 0, };
struct in_addr addr = { 0, };
ffmpeg -i input1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts
ffmpeg -i input2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate2.ts
ffmpeg -i "concat:intermediate1.ts|intermediate2.ts" -c copy -bsf:a aac_adtstoasc output.mp4