TODO: Write a project description
TODO: Describe the installation process
| aptitude install -y git curl python-dev python-pip redis-server ruby1.9.1-full rubygems1.9.1 | |
| aptitude install -y mysql-server libmysqlclient-dev | |
| adduser --system --shell /bin/sh --gecos 'git version control' --group --disabled-password --home /home/git git | |
| adduser --disabled-login --gecos 'gitlab system' gitlab | |
| usermod -a -G git gitlab | |
| su - gitlab | |
| ssh-keygen -q -N '' -t rsa -f /home/gitlab/.ssh/id_rsa | |
| aptitude install gitolite | |
| cp /home/gitlab/.ssh/id_rsa.pub /home/git/gitlab.pub | |
| su - git |
| <?xml version="1.0" encoding="utf-8" ?> | |
| <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| <UsingTask | |
| TaskName="GetVersion" | |
| TaskFactory="CodeTaskFactory" | |
| AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll" > | |
| <ParameterGroup> | |
| <VersionString ParameterType="System.String" Required="true" /> | |
| <Version ParameterType="System.String" Output="true" /> |
| unsigned short ChkSum(unsigned int CheckSum, void *FileBase, int Length) | |
| { | |
| int *Data; | |
| int sum; | |
| if ( Length && FileBase != NULL) | |
| { | |
| Data = (int *)FileBase; | |
| do |
| namespace aspapi.Controllers | |
| { | |
| public class TaskApiController : ApiController | |
| { | |
| private readonly ITaskRepository taskRepository; | |
| public TaskApiController() | |
| { | |
| taskRepository = new TaskRepository(); | |
| } |
| public static void RegisterRoutes(RouteCollection routes) | |
| { | |
| routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); | |
| // GET /api/{resource}/{action} | |
| routes.MapHttpRoute( | |
| name: "Web API RPC", | |
| routeTemplate: "api/{controller}/{action}", | |
| defaults: new { }, | |
| constraints: new { action = @"[A-Za-z]+", httpMethod = new HttpMethodConstraint("GET") } |
| using System; | |
| using System.Collections.Generic; | |
| using System.Disposables; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Reflection; | |
| using Funq; | |
| using ServiceStack.Common.Web; | |
| using ServiceStack.Service; |
| function Add-WindowsDefenderExclusionsPolicy | |
| { | |
| $ErrorActionPreference="Stop" | |
| Set-StrictMode -Version Latest | |
| #Get Hyper-V Settings | |
| $vmHost = Get-VMHost | |
| #Default Exclusion Entries | |
| $excludes = @{ |
I'm writing this up from memory, so errors may appear.
This has been updated to use SHA256 certificates.
| server { | |
| listen 80; | |
| #listen [::]:80; | |
| server_name mail.gwtest.us autodiscover.gwtest.us; | |
| return 301 https://$host$request_uri; | |
| } | |
| server { | |
| listen 443; | |
| #listen [::]:443 ipv6only=on; |