This is a tried and tested method for upgrading Fedora to a newer version within WSL.
Replace 43 and 44 with your current version and the target version respectively.
| class MainActivity : ComponentActivity() { | |
| override fun onCreate(savedInstanceState: Bundle?) { | |
| WindowCompat.setDecorFitsSystemWindows(window, false) | |
| super.onCreate(savedInstanceState) | |
| setContent { | |
| RubberBandSliderTheme { | |
| Surface(modifier = Modifier.fillMaxSize(), color = MaterialTheme.colorScheme.background) { | |
| Box(contentAlignment = Alignment.Center) { | |
| RubberBandSlider(modifier = Modifier | |
| .height(200.dp) |
This guide allows a safe and rootless installation of Podman on WSL2. Head over the hyperlinks to discover more about these two wonderful technologies!
This guide assumes that Debian 11 "bullseye" is installed as WSL2 base OS. To do it, simply open your Windows Powershell console under Admin rights and run
PS> wsl install -d Debian
After installation, please check that you are under the latest Debian. If not, please upgrade it.
| var gulp = require('gulp'); | |
| var babel = require("gulp-babel"); | |
| var sourcemaps = require('gulp-sourcemaps'); | |
| var concat = require('gulp-concat'); | |
| var uglify = require('gulp-uglify'); | |
| gulp.task('default', () => { | |
| return gulp.src('js/main.js') | |
| .pipe(sourcemaps.init()) | |
| .pipe(babel({ |
| #!/usr/bin/bash | |
| img=(`find ~/pictures/wallpapers/ -name '*' -exec file {} \; | grep -o -P '^.+: \w+ image' | cut -d':' -f1`) | |
| while true | |
| do | |
| feh --bg-scale "${img[$RANDOM % ${#img[@]} ]}" | |
| sleep 30m | |
| done |
| package main | |
| import ( | |
| "fmt" | |
| "github.com/gorilla/mux" | |
| "github.com/gorilla/securecookie" | |
| "net/http" | |
| ) | |
| // cookie handling |
| // base class | |
| function Class() { } | |
| // base class name | |
| Class.prototype.className = 'Class'; | |
| // lists all parent classes and outputs JSON with it | |
| Class.prototype.toString = function() { | |
| var str = ''; | |
| var next = this.__proto__; |
| var sys = require('sys'); | |
| var express = require('express') | |
| , passport = require('passport') | |
| , util = require('util') | |
| , TwitterStrategy = require('passport-twitter').Strategy | |
| , RedisStore = require('connect-redis') (express); | |
| var https = require('https'); | |
| var oauth = require('oauth').OAuth; | |
| var TWITTER_CONSUMER_KEY = "LJgg"; | |
| var TWITTER_CONSUMER_SECRET = "0Q7vE"; |
| import java.io.IOException; | |
| import javafx.application.Application; | |
| import javafx.scene.Scene; | |
| import javafx.scene.layout.StackPane; | |
| import javafx.scene.web.WebEngine; | |
| import javafx.scene.web.WebView; | |
| import javafx.stage.Stage; | |
| public class Test extends Application { |