Skip to content

Instantly share code, notes, and snippets.

View nielsAD's full-sized avatar

Niels AD nielsAD

View GitHub Profile
type
t = record abc: Boolean; end;
function a: array of array of Single;
begin
Result := [[1, 2, 3]];
end;
function t.b: array of array of Single;
begin
@nielsAD
nielsAD / blacklist.netset
Last active May 11, 2018 11:54
Blacklist
This file has been truncated, but you can view the full file.
0.0.0.0/8
1.0.128.25
1.0.128.93
1.0.139.82
1.0.178.239
1.0.178.4
1.0.180.115
1.0.181.116
1.0.181.188
1.0.185.173
@nielsAD
nielsAD / stagerace.patch
Last active April 28, 2018 11:53
ent-ghost stageplayer race selection
diff --git a/game_base.cpp b/game_base.cpp
index 738267e..99a2e11 100644
--- a/game_base.cpp
+++ b/game_base.cpp
@@ -2846,7 +2846,7 @@ void CBaseGame :: AddPlayerFast( CStagePlayer *potential )
Player->SetScore( potential->GetScore( ) );
m_Players.push_back( Player );
- m_Slots[SID] = CGameSlot( Player->GetPID( ), 100, SLOTSTATUS_OCCUPIED, 0, m_Slots[SID].GetTeam( ), m_Slots[SID].GetColour( ), m_Slots[SID].GetRace( ) );
+ m_Slots[SID] = CGameSlot( Player->GetPID( ), 100, SLOTSTATUS_OCCUPIED, 0, m_Slots[SID].GetTeam( ), m_Slots[SID].GetColour( ), potential->GetRace( ) );
using System;
using System.Net;
using System.Collections.Generic;
using RestSharp;
namespace ConsoleApp1
{
using ArchiveFiles = List<ArchiveFile>;
public class ArchiveFile
@nielsAD
nielsAD / firefox.md
Last active July 25, 2022 11:40
Firefox privacy/performance/usability enhancing settings

Privacy

Setting Value
beacon.enabled false
geo.enabled false
dom.battery.enabled false
social.remote-install.enabled false
privacy.donottrackheader.enabled true
datareporting.healthreport.uploadEnabled false
type Unit1 = type Pointer;
type Unit2 = type Pointer;
procedure Unit1.Func; static;
begin
WriteLn('Hello');
end;
procedure Unit2.Func; static;
begin
@nielsAD
nielsAD / gtk.css
Last active May 10, 2016 09:47
GTK3 Smaller Window Headers
/* File: .config/gtk-3.0/gtk.css */
headerbar.default-decoration {
padding-top: 2px;
padding-bottom: 2px;
min-height: 0px;
}
headerbar.default-decoration button.titlebutton {
padding: 1px;
@nielsAD
nielsAD / style.css
Last active May 2, 2016 12:41
Firefox Stylish Anti-Dark Theme
textarea,
select,
input:not(.urlbar-input):not(.textbox-input):not(.form-control):not([type="button"]):not([type="submit"]):not([type="reset"])
{
-moz-appearance: none !important;
border: 1px solid grey;
border-radius: 4px;
background-color: white;
color: black;
}

Keybase proof

I hereby claim:

  • I am nielsAD on github.
  • I am nielsad (https://keybase.io/nielsad) on keybase.
  • I have a public key whose fingerprint is 8054 2546 B809 FF22 3D2B 05F7 FEA2 DE98 9326 123B

To claim this, I am signing this object: