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
pwsh -ExecutionPolicy ByPass -NoProfile "%~dp0Startup.ps1" %* |
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 System.Text; | |
using System.Threading.Tasks; | |
namespace ConsoleApplication1 | |
{ | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; |
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
//dynamic load css file | |
function loadcss(path){ | |
if(!path || path.length === 0){ | |
throw new Error('argument "path" is required !'); | |
} | |
var head = document.getElementsByTagName('head')[0]; | |
var link = document.createElement('link'); | |
link.href = path; | |
link.rel = 'stylesheet'; | |
link.type = 'text/css'; |
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
if (!IsPostBack) | |
{ | |
RetInfo info = new RetInfo(); | |
string ret = null; | |
try | |
{ | |
using (Stream input = HttpContext.Current.Request.InputStream) | |
{ | |
if (input == null || input.Length <= 0) | |
{ |
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
<?php | |
/* | |
* description: git webhook sample | |
* author: seayxu | |
* email: [email protected] | |
*/ | |
header('Content-type: text/html;charset=utf-8'); | |
ini_set('date.timezone','Asia/Shanghai'); | |
error_reporting(1); |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Bootstrap Table Checkbox Select All and Cancel</title> | |
<link href="//cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet"> | |
</head> | |
<body> | |
<h2>Bootstrap Table Checkbox Select All and Cancel</h2> | |
<table class="table table-striped"> |
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 Demo | |
{ | |
static class Program | |
{ | |
[DllImport("kernel32.dll")] | |
static extern bool FreeConsole();//Call Sysytem API,Disposed Console | |
[DllImport("kernel32.dll")] | |
public static extern bool AllocConsole();//Call Sysytem API,Show Console | |
[STAThread] |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>加载效果html+css实现|Loading</title> | |
<link rel="stylesheet" href=""> | |
<style type="text/css" media="screen"> | |
h3{text-align: center;padding-top: 30px;} | |
/*begin style-1*/ |