Skip to content

Instantly share code, notes, and snippets.

View jackpurrin's full-sized avatar
🏳️‍⚧️
i'm taking a break

~jack jackpurrin

🏳️‍⚧️
i'm taking a break
View GitHub Profile
@fathulfahmy
fathulfahmy / xfce-i3-guide.md
Last active October 5, 2025 14:29
A guide on how to setup XFCE with i3wm

How to XFCE with i3WM

Download

  1. Download XFCE Distribution
  2. Download i3 only (i3 status i3 lock dmenu is not needed)

Warning

Do not install preconfigured or distributed i3wm to avoid conflicts with XFCE settings
✅ Do sudo dnf install i3 --setopt=install_weak_deps=False
❎ Don't sudo dnf install i3 desktop or sudo dnf install @i3-desktop-environment

@jcubic
jcubic / cdn.md
Last active October 3, 2025 14:08
How to setup a literally free CDN
@Aikufurr
Aikufurr / hibernation.md
Created November 17, 2021 19:07
How to add hibernation to Arch Linux using a swapfile
  1. Run as root
sudo su

  1. Create swap file

Note: set count to your RAM capacity + 2, eg 8GB RAM so count=10

@mbohanon
mbohanon / animate-browser-title.js
Last active February 19, 2025 03:39
Animate title text when page tab is not active in browser (onblur), this is NOT a marquee. To see example visit http://SHEmedia.us
//Here's an eye catching example to get your visitors back when your web page tab is not active within the browser (onblur). This script will animate the original title text with an intro, the original title text is restored when the tab is returned to active state (focus). When the tab is clicked the original page title is restored. For social media sharing it is highly recommended to include the original page title text with the prefaced animated text (onblur).
//Created by SHEmedia.us
$(function() {
var origTitle, animatedTitle, timer;
function animateTitle(newTitle) {
var currentState = false;
origTitle = document.title; // save original title
@rowanphipps
rowanphipps / macOS_rEFInd_guide.md
Created August 10, 2017 17:53
A guide to using rEFInd on macOS

A Guide to Multibooting a Mac

Disclaimer: This has the potential to destroy all the data on your drive. Make sure you have adequate (and verified working) backups before you proceed. You have been warned!

That being said this should leave all of your data untouched.

Background:

I have a mid-2012 15” non-Retina Mac book pro with a 1TB hard drive. I decided that I wanted to make my system faster by replacing the hard drive with an ssd and while I was at it I decided I also wanted to have Windows and Ubuntu partitions. Doing it this way meant that I had no data on the SSD while I experimented with partitions and boot managers although everything I did should be possible on a drive with an existing system.

Goals:

  • Multiple OSs installed with the ability to add more
int k;
double sin() ,cos();
main(){
float A=0, B=0, i, j, z[1760];
char b[1760];
printf("\x1b[2J");
for(; ; ) {
memset(b,32,1760);
memset(z,0,7040);
for(j=0; 6.28>j; j+=0.07) {