This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin | |
| export PATH | |
| #================================================= | |
| # System Required: CentOS 6+,Debian7+,Ubuntu12+ | |
| # Description: BBR+BBR魔改版+Lotserver | |
| # Version: 1.0.6 | |
| # Author: 千影 | |
| # Blog: https://www.94ish.me/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Add new property to claims on login | |
| private async Task SignInAsync(User user, ClaimsIdentity identity = null, bool rememberMe = false) | |
| { | |
| if (identity == null) | |
| { | |
| identity = await _userManager.CreateIdentityAsync(user, DefaultAuthenticationTypes.ApplicationCookie); | |
| } | |
| identity.AddClaim(new Claim("Application_UserEmail", user.EmailAddress)); //SETTING NEW PROPERTY |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # usage python unwxapkg.py filename | |
| import sys,os | |
| import struct | |
| class WxapkgFile: | |
| nameLen = 0 | |
| name = "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 链接 | |
| https://github.com/dotnet/coreclr/blob/master/Documentation/botr/ryujit-tutorial.md | |
| https://github.com/dotnet/coreclr/blob/release/1.1.0/Documentation/botr/ryujit-overview.md | |
| https://github.com/dotnet/coreclr/blob/release/1.1.0/Documentation/botr/porting-ryujit.md | |
| https://github.com/dotnet/coreclr/blob/release/1.1.0/Documentation/building/viewing-jit-dumps.md | |
| https://github.com/dotnet/coreclr/blob/release/1.1.0/Documentation/project-docs/clr-configuration-knobs.md | |
| https://github.com/dotnet/coreclr/blob/release/1.1.0/Documentation/building/debugging-instructions.md | |
| https://github.com/dotnet/coreclr/blob/release/1.1.0/Documentation/botr/clr-abi.md | |
| https://github.com/dotnet/coreclr/blob/release/1.1.0/Documentation/design-docs/finally-optimizations.md | |
| https://github.com/dotnet/coreclr/blob/release/1.1.0/Documentation/design-docs/jit-call-morphing.md |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static class SessionExtensions | |
| { | |
| public static void Set<T>(this ISession session, string key, T value) | |
| { | |
| session.SetString(key, JsonConvert.SerializeObject(value)); | |
| } | |
| public static T Get<T>(this ISession session, string key) | |
| { | |
| var value = session.GetString(key); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| ** randomWord 产生任意长度随机字母数字组合 | |
| ** randomFlag-是否任意长度 min-任意长度最小位[固定位数] max-任意长度最大位 | |
| ** xuanfeng 2014-08-28 | |
| */ | |
| function randomWord(randomFlag, min, max){ | |
| var str = "", | |
| range = min, | |
| arr = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace AOWEN.BLL | |
| { | |
| public class BaseBll<T> | |
| { | |
| /// <summary> | |
| /// 批量插入 | |
| /// </summary> | |
| /// <param name="list"></param> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using Hangfire.Common; | |
| using Hangfire.States; | |
| using Hangfire.Storage; | |
| namespace Hangfire.Pro | |
| { | |
| /// <summary> |