Skip to content

Instantly share code, notes, and snippets.

View cloudrac3r's full-sized avatar
🏳️‍🌈
nonbinary! they/them

Cadence Ember cloudrac3r

🏳️‍🌈
nonbinary! they/them
View GitHub Profile
// ==UserScript==
// @name @chaoticvibing Twitter Blue Nerd - twitter.com
// @namespace Violentmonkey Scripts
// @match *://*.twitter.com/*
// @match *://*.x.com/*
// @grant none
// @version 1.9.2
// @author @chaoticvibing - GH @busybox11
// @description 11/9/2022, 11:45:28 PM
// @updateURL https://gist.githubusercontent.com/busybox11/53c76f57a577a47a19fab649a76f18e3/raw
@A6GibKm
A6GibKm / codecs.org
Last active November 3, 2024 19:31
Multimedia codecs in Fedora

Multimedia codecs in Fedora

Enabling rpm-fusion repositories

Most codecs contains pieces of software which are not free or cannot be included in Fedora repositories so adding rpm-fusion’s repository is required

  • Fedora (22 and later):
        
@shafik
shafik / WhatIsStrictAliasingAndWhyDoWeCare.md
Last active November 8, 2024 20:02
What is Strict Aliasing and Why do we Care?

What is the Strict Aliasing Rule and Why do we care?

(OR Type Punning, Undefined Behavior and Alignment, Oh My!)

What is strict aliasing? First we will describe what is aliasing and then we can learn what being strict about it means.

In C and C++ aliasing has to do with what expression types we are allowed to access stored values through. In both C and C++ the standard specifies which expression types are allowed to alias which types. The compiler and optimizer are allowed to assume we follow the aliasing rules strictly, hence the term strict aliasing rule. If we attempt to access a value using a type not allowed it is classified as undefined behavior(UB). Once we have undefined behavior all bets are off, the results of our program are no longer reliable.

Unfortunately with strict aliasing violations, we will often obtain the results we expect, leaving the possibility the a future version of a compiler with a new optimization will break code we th

@9bitbear
9bitbear / AMD-Radeon-GPU-Linux-setup.md
Last active March 20, 2021 21:54
AMD RX Series GPU setup for Mining

Running AMD Radeon GPUS on Ubuntu 16.04

Cards tested (so far):

Model Released
Radeon RX 550 April 2017
Radeon RX 560 April 2017
Radeon HD 7800 Series March 2012
@joyrexus
joyrexus / README.md
Last active June 27, 2024 15:39
Node.js streams demystified

A quick overview of the node.js streams interface with basic examples.

This is based on @brycebaril's presentation, Node.js Streams2 Demystified

Overview

Streams are a first-class construct in Node.js for handling data.

Think of them as as lazy evaluation applied to data.