Skip to content

Instantly share code, notes, and snippets.

View orlys's full-sized avatar
🍭

ᴼʳˡʸˢ orlys

🍭
View GitHub Profile
@orlys
orlys / Enumeration.cs
Last active May 24, 2020 03:57
Enumeration type extension methods. (For resolve Attribute, attach/detach enum values).
// author: Orlys
// source: github.com/orlys
// contact: contact.orlys@gmail.com
// required: C# 7.3
// license: MIT
// Copyright 2020 © Orlys Ma
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
namespace SelfSerialization
{
using System;
using System.IO;
using System.Reflection;
using System.Runtime.Serialization.Formatters.Binary;
public class BinarySerializer : Serializer<BinarySerializer>
{
@orlys
orlys / script.js
Created August 12, 2019 08:48
add script to chrome devtool
var importJs=document.createElement('script')
importJs.setAttribute("type","text/javascript")
importJs.setAttribute("src", 'https://code.jquery.com/jquery-3.4.1.min.js')
document.getElementsByTagName("head")[0].appendChild(importJs)
@orlys
orlys / Injectable.cpp
Created March 23, 2019 01:44 — forked from aaaddress1/Injectable.cpp
Simple UserMode Hook Example
#include <windows.h>
#include <stdio.h>
FARPROC fpCreateProcessW;
BYTE bSavedByte;
// Blog Post Here:
// https://0x00sec.org/t/user-mode-rootkits-iat-and-inline-hooking/1108
// tasklist | findstr explore.exe
@orlys
orlys / async.cs
Created October 20, 2018 19:20 — forked from dgrunwald/async.cs
Async/Await support for .NET 4.0
// Copyright (c) 2012 Daniel Grunwald
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, modify, merge,
// publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
// to whom the Software is furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all copies or
// substantial portions of the Software.
@orlys
orlys / gist:6e34a35d641f01c0b25c92550a020550
Created June 13, 2018 12:21 — forked from Rottweiler/gist:44fe4461a4552acf303a
Heavily obfuscated UnConfuserEx tool
UnConfuserEx https://mega.nz/#!U1hxwQKb!7WFBSjrZgg8ieFp15K0RJW8rWuyMHZTO9bpCekhBQfY
ConfuserExDupPopPatcher https://mega.nz/#!IkhHzZDS!vPYABdYJtuDIGJBHdKzwIqLajxugJaNlENWr5CWjNlo
ConfuserExStringDecryptor https://mega.nz/#!plhxRJyY!Vq9eRS-gixC__q75860gDD8Tcm_ncOfCCCP_HQKguUM
ConfuserExCallFixer https://mega.nz/#!0gZFlbwC!KFka_Kxe-GuU-d8COni91xmGPbiRnbX6lBLYAomn7No
I'm not responsible for what you do with these -- they may very well be backdoored
@orlys
orlys / 词性标记.md
Created July 17, 2017 03:46 — forked from luw2007/词性标记.md
词性标记: 包含 ICTPOS3.0词性标记集、ICTCLAS 汉语词性标注集、jieba 字典中出现的词性、simhash 中可以忽略的部分词性

词的分类

  • 实词:名词、动词、形容词、状态词、区别词、数词、量词、代词
  • 虚词:副词、介词、连词、助词、拟声词、叹词。

ICTPOS3.0词性标记集

n 名词

nr 人名

@orlys
orlys / ArrayList.cpp
Created March 13, 2017 08:44
ArrayList Arduino the C++ Way
/*
* The Arduino Header ArrayList
* Written: Obed Isai Rios
*/
#ifndef ArrayList_h
#define ArrayList_h
// the #include statment and code go here...
#include "Arduino.h"