Skip to content

Instantly share code, notes, and snippets.

@Narayana108
Narayana108 / wc3_reforged_installation_guide.md
Last active September 2, 2023 14:31
Warcraft III Reforged installation guide via Lutris (Linux)

Warcraft III Reforged installation guide via Lutris

My setup:

  • Computer: Lenovo Thinkpad X1 Carbon 7th Gen - Drivers: Intel Vulkan
  • OS: EndevourOS (Arch Linux)
  • WM: BSPWM

Prerequisites:

Make sure you have all the prerequisites installed like drivers and wine for Lutris.

@yanivmn
yanivmn / open-source-sso.md
Last active April 11, 2024 13:33 — forked from bmaupin/open-source-sso.md
Comparison of open-source SSO implementations
Aerobase Keycloak WSO2 Identity Server Gluu CAS OpenAM Shibboleth IdP
OpenID Connect/OAuth support yes yes yes yes yes yes third-party
Multi-factor authentication yes yes yes yes yes yes yes
Admin UI yes yes yes yes yes yes no
OpenJDK support yes yes yes yes no
Identity brokering yes yes yes
Middleware NGINX, Wildfly Wildfly, JBOSS WSO2 Carbon Jetty, Apache HTTPD any Java app server any Java app server Jetty, Tomc
@wesolowski
wesolowski / .bash_aliases
Last active March 4, 2021 10:29
Cofig file for new comp
# Alias for Windows folder
alias winhome="cd /mnt/c/Users/wesolowski/Desktop/"
alias work="cd ~/workspace"
alias workspace=work
alias nexus="cd ~/workspace/nexus"
phpunit() {

Just some notes and references for myself.

  • In bash, you can access your C:\ drive via /mnt/c/
  • ~ = C:\Users\MLM\AppData\Local\lxss\home\mlm and is different from your Windows user directory C:\Users\MLM

How to google things

@gunjanpatel
gunjanpatel / revert-a-commit.md
Last active April 29, 2024 12:53
Git HowTo: revert a commit already pushed to a remote repository

Revert the full commit

Sometimes you may want to undo a whole commit with all changes. Instead of going through all the changes manually, you can simply tell git to revert a commit, which does not even have to be the last one. Reverting a commit means to create a new commit that undoes all changes that were made in the bad commit. Just like above, the bad commit remains there, but it no longer affects the the current master and any future commits on top of it.

git revert {commit_id}

About History Rewriting

Delete the last commit

Deleting the last commit is the easiest case. Let's say we have a remote origin with branch master that currently points to commit dd61ab32. We want to remove the top commit. Translated to git terminology, we want to force the master branch of the origin remote repository to the parent of dd61ab32:

@DavertMik
DavertMik / gist:7969053
Created December 15, 2013 04:53
EmailTestCase for testing emails with MailCatcher in PHPUnit
<?php
class EmailTestCase extends PHPUnit_Framework_TestCase {
/**
* @var \Guzzle\Http\Client
*/
private $mailcatcher;
public function setUp()
{