At the time of writing, Gnome has no support for changing the touchpad scroll speed.
This is a bit of a hack but it works.
Tested on Framework 13 with Fedora Linux 41 (Workstation Edition)
sudo dnf install systemd-devel| #!/bin/bash | |
| # | |
| # Downloads builds and install openocd for m1 macs | |
| # | |
| #install additional brew libraries | |
| brew install libtool automake texinfo wget gcc pkg-config libusb | |
| # some path magic so compilers know where to look for stuff |
We used to use jQuery for a lot of things.
We used to use jQuery for easily selecting elements. This has never been a problem IMO but its now we also have querySelector which is just as easy as jQuery.
jQ
$('.button')
Vanilla JS
| if ('URLSearchParams' in window) { | |
| var urlParams = new URLSearchParams(window.location.search); | |
| if(urlParams.has('id')){ | |
| var id = urlParams.get('id') | |
| $.ajax({dataType: "json",url: "api.php?id="+id, success: function(result){ | |
| //ajax | |
| }}); | |
| } | |
| }else{ | |
| url = window.location.href; |
| def GenMatrix(row,col): | |
| Matrix = [["+" for x in range(col)] for y in range(row)] | |
| return Matrix | |
| #world descriptions | |
| def RenderWorld(world, world_shape): | |
| for cur_row in range(world_shape[0]):#c | |
| line = "" | |
| for cur_col in range(world_shape[1]):#r | |
| #print(Matrix[x][y]) | |
| line += str(world[cur_row][cur_col]) |
| import numpy as np | |
| import random | |
| render_chars = {} | |
| render_chars[99]="X" | |
| render_chars[12]="^" | |
| render_chars[11]="~" | |
| render_chars[10]="o" | |
| render_chars[9]="#" | |
| render_chars[0]=" " |
| import os | |
| for filename in os.listdir("."): | |
| if(filename != "re.py"): | |
| with open(filename, "r") as infile: | |
| lines = [line for line in infile] # Read all input lines into a list | |
| ordering = [0,1,2,3,4,5,6,7]#change this | |
| with open(filename, "w") as outfile: | |
| for idx in ordering: # Write output lines in the desired order. |
A simple set of scripts for getting output from an Arduino to act is input for Python.
python monitor.py --monitor (You may have to run as root on linux)| wget -r -l 1 -A jpg,jpeg,png,gif,bmp -H http://www.simonstalenhag.se/ |
| <?php | |
| function input($ask = "Command"){ | |
| $answer = readline($ask.": "); | |
| readline_add_history($answer); | |
| return $answer; | |
| } | |
| echo "Welcome \n"; | |
| $name = input("What is your name?"); | |
| echo "Hello ".$name." \n"; | |
| input(); |