Skip to content

Instantly share code, notes, and snippets.

View Calinou's full-sized avatar
🦄
______ is best pony.​

Hugo Locurcio Calinou

🦄
______ is best pony.​
View GitHub Profile
@bradwilson
bradwilson / invoke-cmdscript.ps1
Created March 7, 2017 04:19
Invoke a CMD/BAT script and scrape the environment variable changes
param(
[Parameter(Position=0, Mandatory=$true, ValueFromPipeline=$true)][string] $Script,
[Parameter(Position=1, Mandatory=$false)][string] $Parameters
)
$tempFile = [IO.Path]::GetTempFileName()
cmd /c " `"$script`" $parameters && set > `"$tempFile`" "
Get-Content $tempFile | %{
@bradwilson
bradwilson / vs2017.ps1
Last active January 23, 2018 19:05
VS 2017 PowerShell script; if you need invoke-cmdscript, it's here: https://gist.github.com/bradwilson/3fca203370d54304eff1cce21ffc32aa
param(
[string]$edition,
[switch]$noWeb = $false
)
# Try and find a version of Visual Studio in the expected location, since the VS150COMNTOOLS environment variable isn't there any more
$basePath = join-path (join-path ${env:ProgramFiles(x86)} "Microsoft Visual Studio") "2017"
if ((test-path $basePath) -eq $false) {
write-warning "Visual Studio 2017 is not installed."
@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active October 6, 2025 10:52
Hyperlinks in Terminal Emulators
@graphitemaster
graphitemaster / openglbb.md
Created July 6, 2017 19:13
OpenGL Black Bible

OpenGL Black Bible

Author: Dale Weiler

Preface

The following is a writeup of the following things I've independently discovered or been told over the years on how to utilize OpenGL effectively. Not everything in here I gurantee to be factually correct - though several others share similar ideas as present here. Take these are your own peril, like everything else - nothing is absolute; so profile to be sure and check the standards if something here is incorrect. These things presented here I've come to accept as being a safe

@Calinou
Calinou / DarkMonokai-Calinou.qss
Last active May 13, 2022 01:29
Dark Quassel theme stylesheet (based on Dark Monokai)
/**
** ____ _ ___ ___ _ _
** | _ \ | | | \/ | | | (_)
** | | \ |__ _ _ __| | __ | . . | ___ _ __ ___ | | __ __ _ _
** | | | | _` | '__| |/ / | |\/| |/ _ \| '_ \ / _ \| |/ // _` | |
** | |_/ /(_| | | | < | | | | (_) | | | | (_) | <| (_| | |
** |____/\__,_|_| |_|\_\ \_| |_/\___/|_| |_|\___/|_|\_\\__,_|_|
**
** Quassel Theme
**
@Calinou
Calinou / calinou.conf
Last active April 14, 2020 21:00
Configuration file used on my Minetest server
# These settings are used on Calinou [Europe/Paris].
## General
name = Calinou
motd = Welcome to a Calinou's server, hosted in Paris, France.
remote_media = http://games.hugo.pro/minetest/calinou/
default_password = 123
server_announce = true
server_name = Calinou [Europe/Paris] - default password: 123
@Calinou
Calinou / .rtorrent.rc
Created September 3, 2017 15:12
rTorrent configuration file
scgi_port = 127.0.0.1:5000
dht.mode.set = on
protocol.pex.set = yes
trackers.use_udp.set = yes
throttle.max_uploads.set = 100
throttle.max_uploads.global.set = 250
throttle.min_peers.normal.set = 20
throttle.max_peers.normal.set = 60
@Calinou
Calinou / cmd-calinou-colors.reg
Created September 7, 2017 17:16
Color schemes for the Windows Command Prompt and Windows PowerShell
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Console]
"ColorTable00"=dword:00242424
"ColorTable01"=dword:00FFAA77
"ColorTable02"=dword:0077EE77
"ColorTable03"=dword:00EEEE77
"ColorTable04"=dword:007777FF
"ColorTable05"=dword:00EE77EE
"ColorTable06"=dword:0077EEEE
@Calinou
Calinou / godot_android.bat
Created September 9, 2017 20:25
Compile Godot for Android (from Windows)
@ECHO OFF
set threads=%NUMBER_OF_PROCESSORS%
call scons platform=android tools=no target=release_debug verbose=no warnings=no progress=no -j%threads%
call scons platform=android tools=no target=release verbose=no warnings=no progress=no -j%threads%
cd platform\android\java\
call gradlew build