Skip to content

Instantly share code, notes, and snippets.

View RyuaNerin's full-sized avatar
🏠
Room-keeper

RyuaNerin RyuaNerin

🏠
Room-keeper
View GitHub Profile
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace BankHttps
{
class Program
@RyuaNerin
RyuaNerin / CompareClassWithStruct.cs
Created March 17, 2014 11:12
Struct 와 Class 의 메모리 참조를 비교하는 파일
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GITTEST
{
class Program
{
struct a
17977 10116 67574 38380 39851 64201 79551 75542 66853 56894 57592 09670 19804 48789 88700 55557 82501 36390 24539 87234
51785 84608 40058 67563 10173 00078 98076 47889 08711 20716 31584 53092 50742 05767 00326 35468 79890 43195 05542 64099
53164 75646 65392 59367 76804 01850 86828 27020 20066 70716 90987 17166 08358 62164 31979 89781 66446 68848 28655 74746
40782 74021 58965 80390 68014 70108 04681 57957 75270 35202 33743 64452 69133 16484 29759 44066 71832 88924 67546 11182
17393 51506 37572 85455 61950 99876 99865 09099 32043 29548 32375 82419 86143 45006 05516 03911 06776 54493 01142 73546
39676 65562 78497 60326 59597 64762 14457 78359 64461 76302 30342 04157 60353 64736 84830 24261 18105 30628 54692 99952
52116 50994 33174 55713 28471 76857 90604 41753 86018 33863 94625 00564 41495 01336 20191 73211 91385 56407 49054 75309
90402 91683 24994 69766 96982 48146 38427 28535 58831 26686 57798 51403 41397 39950 33935 10179 11634 19420 79127 68568
74619 85941 58962 14598 46382 15005 20683 06861 80500 10
@RyuaNerin
RyuaNerin / BigNumber.cs
Created May 14, 2014 02:48
간단하게 만들어본 BitNumber Class
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RyuaNerin
{
public class BigNumber
{
public BigNumber()
public static void Png32ToPna(Bitmap image)
{
BitmapData data = image.LockBits(new Rectangle(0, 0, image.Width, image.Height), ImageLockMode.ReadWrite, image.PixelFormat);
try
{
unsafe
{
byte* ptr = (byte*)data.Scan0;
for (int i = 0; i < data.Height; i++)
// TaskProgressBar (Portable)
// Edited By RyuaNerin
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Windows.Forms;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System;
using System.Collections.Generic;
using System.IO;
namespace pConsole
{
class Program
{
static void Main()
{
using System;
using System.Security.Cryptography;
using System.Text;
namespace pConsole
{
class Program
{
static Random rnd = new Random(DateTime.Now.Millisecond);
//
// net { A = "B", C = 1, D = 0.22 }
// => Dictionary<string, object>
//
public static IDictionary<string, object> PropertyToDictionary(object values)
{
try
{
Dictionary<string, object> dic = new Dictionary<string, object>();
@RyuaNerin
RyuaNerin / twitter_test.cs
Created February 8, 2015 22:38
트위터 공홈에 있는 방식 그대로 썼다가 망한거
// Same with Twitter
class TwitterStr
{
public TwitterStr(string url, int i1, int i2)
{
this.url = url;
this.indices = new int[] { i1, i2 };
}