블로그 이미지
Every unexpected event is a path to learning for you.

카테고리

분류 전체보기 (2738)
Unity3D (817)
Programming (475)
Server (33)
Unreal (4)
Gamebryo (56)
Tip & Tech (228)
협업 (58)
3DS Max (3)
Game (12)
Utility (136)
Etc (96)
Link (32)
Portfolio (19)
Subject (90)
iOS,OSX (53)
Android (14)
Linux (5)
잉여 프로젝트 (2)
게임이야기 (3)
Memories (20)
Interest (38)
Thinking (38)
한글 (30)
PaperCraft (5)
Animation (408)
Wallpaper (2)
재테크 (18)
Exercise (3)
나만의 맛집 (3)
냥이 (10)
육아 (16)
Total
Today
Yesterday
04-30 00:00

[링크] http://masterfarseer.blogspot.com/2020/08/10-10.html?m=1

 

10년간 슈퍼셀을 경영하며 배운 10가지 교훈

게임 기획과 관련된 영문 자료를 번역합니다. 게임 개발과 관련된 영문 자료를 번역합니다.

masterfarseer.blogspot.com

 

반응형
Posted by blueasa
, |

유니티 데이터 통신 압축용으로 사용 중.

 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using ICSharpCode.SharpZipLib.BZip2;

public class ZipHelper
{
    public static byte[] Zip(byte[] data)
    {
        return Zip(data, 0, data.Length);
    }

    public static byte[] Unzip(byte[] data)
    {
        return Unzip(data, 0, data.Length);
    }

    public static byte[] Zip(byte[] data, int offset, int size)
    {
        MemoryStream inStream = new MemoryStream(data, offset, size);
        MemoryStream outStream = new MemoryStream();
        BZip2.Compress(inStream, outStream, false, 3);

        byte[] result = outStream.ToArray();
        inStream.Close();
        outStream.Close();

        return result;
    }

    public static byte[] Unzip(byte[] data, int offset, int size)
    {
        MemoryStream inStream = new MemoryStream(data, offset, size);
        MemoryStream outStream = new MemoryStream();
        BZip2.Decompress(inStream, outStream, false);

        byte[] result = outStream.ToArray();
        inStream.Close();
        outStream.Close();

        return result;
    }
}

// 예제
//class Program
//{
//    static void Main(string[] args)
//    {

//        byte[] array = new byte[1000];
//        for (int i = 0; i < array.Length; i++)
//        {
//            array[i] = (byte)(i % 255);
//        }
//        byte[] compress = ZipHelper.Zip(array);
//        byte[] decompress = ZipHelper.Unzip(array);


//    }

//}

 

 

[SharpZip dll 다운로드] https://www.nuget.org/packages/SharpZipLib/

 

[참조] https://nahyungmin.tistory.com/38

반응형
Posted by blueasa
, |
using System;
using Mono.Data.Sqlite;

public class Example
{

    static void Main() 
    {
        string cs = "URI=file:test.db";        
        
        using (SqliteConnection con = new SqliteConnection(cs)) 
        {
            con.Open();

            using(SqliteTransaction tr = con.BeginTransaction())
            {
                using (SqliteCommand cmd = con.CreateCommand())
                {

                    cmd.Transaction = tr;
                    cmd.CommandText = "DROP TABLE IF EXISTS Friends";
                    cmd.ExecuteNonQuery();
                    cmd.CommandText = @"CREATE TABLE Friends(Id INTEGER PRIMARY KEY, 
                                        Name TEXT)";
                    cmd.ExecuteNonQuery();
                    cmd.CommandText = "INSERT INTO Friends(Name) VALUES ('Tom')";
                    cmd.ExecuteNonQuery();
                    cmd.CommandText = "INSERT INTO Friends(Name) VALUES ('Rebecca')";
                    cmd.ExecuteNonQuery();
                    cmd.CommandText = "INSERT INTO Friends(Name) VALUES ('Jim')";
                    cmd.ExecuteNonQuery();
                    cmd.CommandText = "INSERT INTO Friends(Name) VALUES ('Robert')";
                    cmd.ExecuteNonQuery();
                    cmd.CommandText = "INSERT INTO Friends(Name) VALUES ('Julian')";
                    cmd.ExecuteNonQuery();
                    cmd.CommandText = "INSERT INTO Friends(Name) VALUES ('Jane')";
                    cmd.ExecuteNonQuery();
                }

                tr.Commit();
            }

            con.Close();
        }
    }
}

 


출처: https://unsigned.tistory.com/entry/Sqlite-Insert-속도-문제시 [공부하자 공부공부]

 

Sqlite Insert 속도 문제시

using System; using Mono.Data.Sqlite; public class Example { static void Main() { string cs = "URI=file:test.db"; using (SqliteConnection con = new SqliteConnection(cs)) { con.Open(); using(SqliteTr..

unsigned.tistory.com

 

 

반응형
Posted by blueasa
, |

[링크] https://explorermax.drivethelife.com/

ExplorerMax - Smart File Explorer and Manager for Windows Platforms

If you want to track the file you managed at a certain moment, go and check Timeline. Here, you can find your browsing history classified into four groups -- Today, Yesterday, Latest Week, Latest Month. Then, the parent path is soon accessible. Moreover, f

explorermax.drivethelife.com

Clover가 마음에 들었었는데,
중국산이고 최신 버전은 뭔가 뒤로 하고 있는 것 같아서 찝찝해서
대체 프로그램을 찾고 있었는데 ExplorerMax가 보여서 Trial 깔아봤습니다.
Clover에 있던 원했던 기능이 아래와 같이 3가지 였는데 ExplorerMax에 다 있네요.

1. 탭브라우저 방식 멀티탭
2. 즐겨찾기(Bookmark)
3. 프로그램을 껐다 켜도, 열었던 탭 저장 된 상태로 보존(없는 줄 알았는데 설정에 보니 있네요)

프로그램 껐다 켜도, 이전 열었던 탭 상태로 시작



유료라서 어떨지 몰라서 우선 Trial로 사용해 보는 중인데 문제 없으면 유료구매 할까 생각중입니다.





[추가]
Giveway로 1년 무료 Key가 있어서 넣어보니 되네요.(언제 막힐지는 모르겠습니다)
1년 사용하고 후에 구매 생각을..

[추가2]
언제 등록해도 만료일이 2021년 8월 4일 인 것 같습니다.
Giveway 이벤트 시작일 기준 1년 무료인 것 같네요.

---------------------------------------------------------

Giveaway details

License Key 1

    • BBF92-30413-AD377-E709A-A15F1

       

License Key 2

    • 97383-5AF67-1255C-52748-66D85

       

License Key 3

---------------------------------------------------------

[1년 무료 라이센스 키 URL] https://winningpc.com/product/explorermax-pro-license-key-free/#giveaway-details

반응형
Posted by blueasa
, |