Skip to content

Instantly share code, notes, and snippets.

View HylkeB's full-sized avatar

Hylke Bron HylkeB

  • Achmea
  • The Netherlands
  • 07:59 (UTC +02:00)
View GitHub Profile
@HylkeB
HylkeB / autoexec.cfg
Created March 7, 2023 19:52
autoexec.cfg
cl_crosshairalpha "230"
cl_crosshaircolor "5"
cl_crosshaircolor_b "50"
cl_crosshaircolor_r "50"
cl_crosshaircolor_g "250"
cl_crosshairdot "0"
cl_crosshairgap "-2"
cl_crosshairsize "2"
cl_crosshairstyle "4"
cl_crosshairusealpha "1"
@HylkeB
HylkeB / enable_android_certificate_revocation_check.kt
Last active April 19, 2026 22:24
Sample code of how to enable certificate revocation checking using a CertPathValidator. Required to make Certificate Transparency a suitable replacement for Certificate Pinning
package com.example
import android.net.http.X509TrustManagerExtensions
import android.os.Build
import androidx.annotation.RequiresApi
import okhttp3.Interceptor
import java.io.IOException
import java.security.KeyStore
import java.security.cert.CertPathValidator
import java.security.cert.CertPathValidatorException
@HylkeB
HylkeB / csgo_configs.cfg
Created June 19, 2020 16:00
CSGO configs for rgb and toggle crosshair
// The following lines are used to toggle between a big and small crosshair:
alias toggle_crosshair crosshair_big
alias "crosshair_normal" "cl_crosshairgap -2;cl_crosshairsize 2;cl_crosshairthickness 0.5;cl_crosshairalpha 250; alias toggle_crosshair "crosshair_big""
alias "crosshair_big" "cl_crosshairgap 0;cl_crosshairsize 500;cl_crosshairthickness 100;cl_crosshairalpha 250; alias toggle_crosshair "crosshair_normal""
bind "=" "toggle_crosshair"
// The following lines are used to create an RGB effect in your game; if you bind the updatecolor alias to each common used button (wsad, scroll, click, etc)
// The hud_color changes cause some stutters, so you could also remove those.