Guide to setting up docker https://blog.sixeyed.com/getting-started-with-docker-on-windows-server-2019/
VSCode https://code.visualstudio.com/docs/?dv=win64
Git tools for windows https://git-scm.com/downloads
Install windows 3.5 features
<plugin file="MindMatrix.Plugins.Providers.Default.dll"> | |
<instance class ="MindMatrix.Plugins.Providers.Default.Database.MSSQL2000.Provider"> | |
<user>cEFr6rE6AJaQ5yab</user> | |
<password>desugenuxaS8uqag</password> | |
<location>10.100.222.31\MMSQL2014_02</location> | |
<persist_security>true</persist_security> | |
<catalog>marketopia.amp.vg</catalog> | |
<connection_life>15</connection_life> | |
<max_pool>200</max_pool> | |
</instance> |
using System; | |
using System.IO; | |
using System.Threading; | |
using Microsoft.AspNetCore.Builder; | |
using Microsoft.AspNetCore.Hosting; | |
using Microsoft.AspNetCore.Mvc; | |
namespace demo | |
{ | |
[Route("api/[controller]")] |
{ | |
var q0 = dc.Contacts | |
.Where(x => x.ID > 1 && x.Status == EntityStatus.Active) | |
.OrderByDescending(x => x.ID) | |
.Select(x => new { x.ID, x.Status }); | |
var c0 = q0.FirstOrDefault(); | |
Console.WriteLine(c0); | |
} |
/* To prevent any potential data loss issues, you should review this script in detail before running it outside the context of the database designer.*/ | |
BEGIN TRANSACTION | |
SET QUOTED_IDENTIFIER ON | |
SET ARITHABORT ON | |
SET NUMERIC_ROUNDABORT OFF | |
SET CONCAT_NULL_YIELDS_NULL ON | |
SET ANSI_NULLS ON | |
SET ANSI_PADDING ON | |
SET ANSI_WARNINGS ON | |
COMMIT |
//https://github.com/marcel-dempers/docker-development-youtube-series | |
using System; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Hosting; | |
namespace dockergraveful | |
{ | |
class Program |
Guide to setting up docker https://blog.sixeyed.com/getting-started-with-docker-on-windows-server-2019/
VSCode https://code.visualstudio.com/docs/?dv=win64
Git tools for windows https://git-scm.com/downloads
Install windows 3.5 features
https://www.blackmoreops.com/2014/09/25/find-number-of-unique-ips-active-connections-to-web-server/
On Tue Oct 27, 2015, history.state.gov began buckling under load, intermittently issuing 500 errors. Nginx's error log was sprinkled with the following errors:
2015/10/27 21:48:36 [crit] 2475#0: accept4() failed (24: Too many open files) 2015/10/27 21:48:36 [alert] 2475#0: *7163915 socket() failed (24: Too many open files) while connecting to upstream...
An article at http://www.cyberciti.biz/faq/linux-unix-nginx-too-many-open-files/ provided directions that mostly worked. Below are the steps we followed. The steps that diverged from the article's directions are marked with an *.
su
to run ulimit
on the nginx account, use ps aux | grep nginx
to locate nginx's process IDs. Then query each process's file handle limits using cat /proc/pid/limits
(where pid
is the process id retrieved from ps
). (Note: sudo
may be necessary on your system for the cat
command here, dependI hereby claim:
To claim this, I am signing this object:
DECLARE @CurrentDataType VARCHAR(max) | |
DECLARE @DataTypeToChange VARCHAR(max) | |
DECLARE @SQLQUERY nvarchar(max) | |
SET @CurrentDataType = 'text' ---CHANGE HERE !! | |
SET @DataTypeToChange = 'nvarchar(max)' ---CHANGE HERE !! | |
DECLARE MY_CURSOR CURSOR | |
LOCAL STATIC READ_ONLY FORWARD_ONLY | |
FOR |