Shows how many commits ahead and behind git remotes are.
How to run:
bash remote_status.sh [remote]
The remote defaults to origin
// ==UserScript== | |
// @name Bursch Blog Cleaner | |
// @version 1.0 | |
// @description This makes Mr.Bursch's blog legible! | |
// @author Aaron Janse | |
// @match http://mrbursch.blogspot.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { |
I hereby claim:
To claim this, I am signing this object:
// from http://stackoverflow.com/a/7869457 | |
// converted to js code | |
// x and y are the angles in radians | |
function getDifference(x, y) { | |
var a = x-y; | |
a = (function(i, j) {return i-Math.floor(i/j)*j})(a+Math.PI, Math.PI*2); // (a+180) % 360; this ensures the correct sign | |
a -= Math.PI; | |
return a; | |
} |
from https://www.ostechnix.com/adjust-size-root-partition-live-arch-linux/:
mount -o remount,size=1G /run/archiso/cowspace
Look for the name in your display (e.g. VGA-1
) and possible resolutions (e.g. 1280x768
) in
xrandr -q | head
And resize your display like so:
xrandr --display :0 --output NAME_OF_YOUR_DISPLAY --mode WIDTHxHEIGHT
31 26 21 16 11 9 6 0
vv vv vv vv vv vv vv vv
'F'E'D'C'B'A'9'8'7'6'5'4'3'2'1'0 F E D C B A 9 8 7 6 5 4 3 2 1 0
[ jump target 25][ opcode 7] J-type
[ rd 5][ upper immediate 19][ opcode 7] U-type
[ rd 5][ rs1 5][ immhi 5][ immlo 7][fun3][ opcode 7] I-type
[ immhi 5][ rs1 5][ rs2 5][ immlo 7][fun3][ opcode 7] B-type
[ rd 5][ rs1 5][ rs2 5][ funct 10][ opcode 7] R-type
[ rd 5][ rs1 5][ rs2 5][ rs3 5][ funct 5][ opcode 7] R4-type
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"log" | |
"os" | |
"strings" | |
sssa "github.com/SSSAAS/sssa-golang" |
{ stdenv, buildPackages, fetchurl, lib , makeRustPlatform }: | |
let | |
rpath = lib.makeLibraryPath [ | |
buildPackages.stdenv.cc.libc | |
"$out" | |
]; | |
bootstrapCrossRust = stdenv.mkDerivation { | |
name = "binary-redox-rust"; | |
{ stdenv, autoPatchelfHook, ffmpeg_3, fetchurl, bash, jdk, kmod, pkgs }: | |
stdenv.mkDerivation { | |
name = "energia"; | |
version = "1.8.10E23"; | |
src = fetchurl { | |
url = "http://energia.nu/downloads/downloadv4.php?file=energia-1.8.10E23-linux64.tar.xz"; | |
sha256 = "065vii9x9b7x4bj1b97grz2vwd4xam1lprsbgsfagry3adf3bshv"; | |
}; |