Skip to content

Instantly share code, notes, and snippets.

View furycd001's full-sized avatar
😶
Sometimes....

Jonny Sherwood-Bowes furycd001

😶
Sometimes....
View GitHub Profile
#!/bin/env bash
INSTANCE="https://fosstodon.org" # Replace with your Mastodon instance URL
# Function to fetch and display the timeline
function display_timeline {
# Fetch the public timeline using curl and the Mastodon API
toot_timeline=$(curl -s "$INSTANCE/api/v1/timelines/public" | jq -r '.[] | .content? | gsub("<[^>]*>"; "")' | head -n 20)
# Loop through the toot texts and display them
@furycd001
furycd001 / userContent.css
Last active April 21, 2023 12:49
Minimal twitter userContent.css....
/* Newtab */
@-moz-document url("about:blank") {
body {
background-color: #272b35 !important;
}
}
@-moz-document url("about:newtab") {
body {
background-color: #272b35 !important;

Adding a progress bar to GNU Core Utilities copy & move.

Advanced Copy is an awesome mod for GNU Core Utilities that adds a handy progress bar to cp & mv. This can be super helpfully when copying or moving large files or directories, because you'll be able to see how far along the process is.

The install process is extremely simple. Just follow the commands below typing them into a terminal & then logout / log back in to finish..

  • Download GNU Core Utilities....

wget http://ftp.gnu.org/gnu/coreutils/coreutils-8.32.tar.xz

  • Extract the downloaded file & move into the directory....

In TF2 you can bind a single key to crouch jump.

The console command for jump is +jump & the command for crouch is +duck

A + in front of any command means that it will execute for as long as the button is being pressed if at all possible..

You can combine jump & duck to be used with a single key super easily. To do so simple launch TF2, open the console & then type the following three lines in one by one, pressing enter after each one.

  • alias +cjump "+jump;+duck"
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
CPU Family: 0x6
@furycd001
furycd001 / conkypanel.md
Last active January 15, 2020 15:51
Adding conky to xfce4-panel....

Here's how I was able to output conky to a text file and then add it to my xfce4-panel using xfce4-genmon-plugin. Simply follow the steps below if you'd like to do the same.

PLEASE NOTE THAT YOUR CONKY MUST BE A SINGLE LINE OR IT WILL OUTPUT INCORRECTLY TO THE PANEL

1. Add the following to conky.conf....

out_to_x no
out_to_console yes
@furycd001
furycd001 / system information report.txt
Created February 20, 2019 16:02
system information report
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
CPU Family: 0x6