Skip to content

Instantly share code, notes, and snippets.

View krisp1's full-sized avatar
🐍

Kris H krisp1

🐍
  • n/a
  • Melbourne
  • 13:30 (UTC +10:00)
View GitHub Profile
@4wk-
4wk- / README.md
Last active May 21, 2024 11:51
Clean uninstall then reinstall of WSL on Windows 10, with systemD support

Uninstall then reinstall WSL on Windows 10 (clean way)

Background

I've been using wsl (version 2) with genie mod for years without issue, but one day, Windows 10 finally catch up on wsl Windows 11 features and gives us a way to use systemD natively.

I wanted to use the new "right way" to enable systemD on Windows Subsystem for Linux (without genie), and I also had a (probably related) infinite Windows RemoteApp error poping in.

Fixing it

A - Uninstall wsl and related stuff

  1. In powershell (as admin)
$lightgray : #819090;
$gray : #708284;
$mediumgray : #536870;
$darkgray : #475B62;
$darkblue : #0A2933;
$darkerblue : #042029;
$paleryellow : #FCF4DC;
$paleyellow : #EAE3CB;
$yellow : #A57706;
$orange : #BD3613;
@simonewebdesign
simonewebdesign / install_sublime_text.sh
Last active March 11, 2024 12:23
Install Sublime Text 3 on Linux via POSIX shell script - http://simonewebdesign.it/install-sublime-text-3-on-linux/
#!/bin/sh
# Sublime Text 3 Install (last update: Monday 13 March 2017)
#
# No need to download this script, just run it on your terminal:
#
# curl -L git.io/sublimetext | sh
# Detect the architecture
@thewilkybarkid
thewilkybarkid / fancybox_jquery.patch
Last active December 22, 2015 23:58
Patch for the Drupal fancyBox module (verrsion 7.x-2.0-beta6) to remove the jQuery version checking (assumes that your theme provides version 1.7+).
diff --git a/fancybox.admin.inc b/fancybox.admin.inc
index 8ba8a31..d95ddc3 100644
--- a/fancybox.admin.inc
+++ b/fancybox.admin.inc
@@ -44,12 +44,6 @@ function fancybox_admin_settings_form($form, &$form_state) {
$jquery = drupal_get_library('system', 'jquery');
- if (version_compare($jquery['version'], '1.7', '<')) {
- drupal_set_message(t('fancyBox requires jQuery 1.7 or higher. Please !configure to use a higher jQuery version.', array('!configure' => l(t('configure jQuery Update'), 'admin/config/development/jquery_update'))), 'error');