Skip to content

Instantly share code, notes, and snippets.

View sitsh's full-sized avatar

wilsonjw sitsh

  • ebitoo
  • shagnhai
View GitHub Profile
@jimmylu2333
jimmylu2333 / v2ray-server.json
Last active February 6, 2022 06:21
v2ray配置文件 - v2ray服务器端配置文件 - v2ray server configuration - v2ray configuration
{
"inbound": {
"port": 40006,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "3cfb2db1-7161-44d5-998c-e20d5b30544c",
"level": 1,
"alterId": 64
@jimmylu2333
jimmylu2333 / v2ray-client.json
Last active November 5, 2023 15:01
v2ray配置文件 - v2ray client configuration
{
"policy" : {
"levels": {
"0": {
"handshake": 4,
"connIdle": 300,
"uplinkOnly": 300,
"downlinkOnly": 300
}
}
@scottoffen
scottoffen / ContentType.cs
Last active October 28, 2024 14:32
C# ContentType Enum full source code
using System;
using System.Reflection;
namespace Grapevine
{
public enum ContentType
{
[Metadata(Value = "application/x-authorware-bin", IsBinary = true)]
AAB,
@gemyago
gemyago / generate_dto.sql
Last active September 4, 2023 20:23
TSQL script to generate POCO/DTO from database table
DECLARE @tableName NVARCHAR(MAX), @schemaName NVARCHAR(MAX), @className NVARCHAR(MAX)
--------------- Input arguments ---------------
SET @tableName = 'Incidents'
SET @schemaName = 'dbo'
SET @className = 'IncidentDto'
--------------- Input arguments end -----------
DECLARE tableColumns CURSOR LOCAL FOR
SELECT cols.name, cols.system_type_id, cols.is_nullable FROM sys.columns cols