Skip to content

Instantly share code, notes, and snippets.

View xlxs4's full-sized avatar
🍭
λf.(λx.f(xx))(λx.f(xx))

Orestis Ousoultzoglou xlxs4

🍭
λf.(λx.f(xx))(λx.f(xx))
View GitHub Profile
@Datseris
Datseris / schelling.jl
Last active May 7, 2022 15:19
Gist of Agents.jl introductory workshop
### Step 1: decide space
using Agents
space = GridSpace((10, 10); periodic = false)
### Step 2: make agent type
mutable struct SchellingAgent <: AbstractAgent
id::Int
pos::NTuple{2, Int}
group::Int
@wanysteus
wanysteus / space-engineering.jpg
Last active June 17, 2025 03:20
Books—and more—for Space Engineering
space-engineering.jpg
/* BoxNet2D runner
* Based on Warp 1.0.7 by Dimitry Tegunov https://github.com/cramerlab/warp/
* Command line interface and Linux port by @biochem_fan
* Licensed under GPLv3
*/
using System;
using System.IO;
using System.Linq; // for toList()
using System.Diagnostics; // for Stopwatch
@3rdp
3rdp / sgdq-2019.txt
Created July 2, 2019 13:17
schedule from sgdq 2019; a neat list of games
Games Done Quick
Event Info
Community Info
About Us
Discord
VODS
HOTFIX
@luukvbaal
luukvbaal / cacheremove.hook
Last active March 8, 2025 19:37
yay paccache hooks
[Trigger]
Operation = Remove
Type = Package
Target = *
[Action]
Description = Clearing cache...
When = PostTransaction
Exec = /home/<user>/.local/bin/tools/removehook
@hjertnes
hjertnes / doom.txt
Created April 6, 2018 08:28
Doom Emacs Cheatsheet
SPC
SPC: find file
, switch buffer
. browse files
: MX
; EX
< switch buffer
` eval
u universal arg
x pop up scratch
@hisplan
hisplan / add-rsync-to-git-bash.md
Created February 21, 2018 09:02
Add rsync to git bash for windows
@collinbarrett
collinbarrett / userChrome.css
Last active April 11, 2024 10:22
A userChrome.css to use with Tree Style Tab (https://github.com/piroor/treestyletab) for Firefox
/*
Windows
Location: C:\Users\<YourUsername>\AppData\Roaming\Mozilla\Firefox\Profiles\<YourFirefoxProfile>\chrome
Notes:
If minimize, maximize, and close buttons are no longer visible, enable the Title Bar or Menu Bar in Firefox Customize.
macOS
Location: /Users/<YourUsername>/Library/Application Support/Firefox/Profiles/<YourFirefoxProfile>/chrome
Notes:
If minimize, maximize, and close buttons overlap other controls, add the Flexible Space in Firefox Customize.
@graffic
graffic / steam.md
Last active June 30, 2025 09:17
Downloading steam games from another computer/faster line

Framing the issue

With almost no bandwith at home, I needed a way to download DOOM that didn't involve blocking the home internet line for two days.

Approach

Using steamcmd you can use any computer to download steam games.

Downloading

  1. Install it
  2. Open it and loging with your username and password: login username password
@jchandra74
jchandra74 / PowerShell Customization.md
Last active May 23, 2025 19:18
PowerShell, Cmder / ConEmu, Posh-Git, Oh-My-Posh, Powerline Customization

Pimping Up Your PowerShell & Cmder with Posh-Git, Oh-My-Posh, & Powerline Fonts

Backstory (TLDR)

I work as a full-stack developer at work. We are a Windows & Azure shop, so we are using Windows as our development platform, hence this customization.

For my console needs, I am using Cmder which is based on ConEmu with PowerShell as my shell of choice.

Yes, yes, I know nowadays you can use the Linux subsystem on Windows 10 which allow you to run Ubuntu on Windows. If you are looking for customization of the Ubuntu bash shell, check out this article by Scott Hanselman.