Skip to content

Instantly share code, notes, and snippets.


Wayne SeriaWei

Block or report user

Report or block SeriaWei

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ExprParser
View nbmyfamily
using HtmlAgilityPack;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.IO;
using System.Linq.Expressions;
using System.Net;
using System.Net.Http;
using System.Reflection;
View jenkins-dotnet-core-3.0
FROM jenkins/jenkins:lts
USER root
WORKDIR /dotnet
RUN wget -O dotnet.tar.gz
RUN tar zxf dotnet.tar.gz -C ./
ENV PATH="${PATH}:/dotnet:/var/jenkins_home/.dotnet/tools"
RUN rm -rf dotnet.tar.gz
RUN apt update -y
RUN apt install icu-devtools vim zip unzip -y
SeriaWei / parseDate.js
Last active Jul 17, 2017
parse date with format
View parseDate.js
function parseDate(date,format) {
var year=0,month=0,day=0,hour=0,minute=0,seconds=0;
function toNumber(n){
if(n == ''){
return -1;
return Number(n);
function yearSetter(y,p){
View gist:7b11e9db369a07d4dcbe1e06e7dac2b3
Data Source=App_Data/Database.sqlite
View gist:4d347134f00891aada64610f9b2b1dce
FileStream fs = new FileStream(@"c:\tmp\huge_dummy_file", FileMode.CreateNew);
fs.Seek(2048L * 1024 * 1024, SeekOrigin.Begin);
You can’t perform that action at this time.