Skip to content

Instantly share code, notes, and snippets.

View silvernode's full-sized avatar

Mollusk silvernode

  • USA
View GitHub Profile
#!/usr/bin/env ruby
require_relative 'which'
require_relative 'managers'
require_relative 'pacman'
require_relative 'apt-get'
args=ARGV
argsShift=[]
#!/usr/bin/env ruby
def pacman(args, pkgArgs)
installCmd = "pacman -S"
searchCmd = "pacman -Ss"
updateCmd = "pacman -Su"
syncCmd = "pacman -Sy"
syncANDupdateCmd = "pacman -Syu"
refreshSyncCmd = "pacman -Syy"
#!/bin/bash
# Paths
MOUNTPATH="/mnt/mediadrive"
DEVICEDIR="/dev"
HOMEDIR="/home"
# Colors
RED='\033[0;31m'
LRED="\033[1;31m"
[mollusk@voidpad ~]$ sudo xbps-install -Sy pluma
[*] Updating `https://repo.voidlinux.eu/current/x86_64-repodata' ...
[*] Updating `https://repo.voidlinux.eu/current/multilib/nonfree/x86_64-repodata' ...
[*] Updating `https://repo.voidlinux.eu/current/multilib/x86_64-repodata' ...
[*] Updating `https://repo.voidlinux.eu/current/nonfree/x86_64-repodata' ...
Name Action Version New version Download size
pluma install - 1.18.2_1 -
Size required on disk: 14MB

Keybase proof

I hereby claim:

  • I am silvernode on github.
  • I am mollusk (https://keybase.io/mollusk) on keybase.
  • I have a public key ASAg-xPGoH3STRWLKp8qM61cqSu2zBr8o1y4nTm9dRdiIgo

To claim this, I am signing this object:

@silvernode
silvernode / build_wire_rpm.sh
Created September 4, 2017 10:51 — forked from soamaven/build_wire_rpm.sh
Bash script to create the rpm for the Wire Desktop app for fc26
# Make a temporary dir to hold downloaded files
mkdir ~/tempwire
cd ~/tempwire
# Get Wire Version
WIRE_VER=$(curl -s -N "https://github.com/wireapp/wire-desktop/releases.atom" | grep -o -m1 ".*Linux.*" | grep -Po "[0-9.]{9}");
# Get latest files from Connor Anderson's Git repo
git clone "https://gitlab.com/ConorIA/wire-builds/repository/archive.tar.gz?ref=master" ~/tempwire
# Get and sort the sources
sed -i "s/<VERSION>/${WIRE_VER}/" wire-desktop.spec
@silvernode
silvernode / Xorg.log
Created September 10, 2017 17:44
Xorg.log output
[ 6.389] (--) Log file renamed from "/var/log/Xorg.pid-2004.log" to "/var/log/Xorg.0.log"
[ 6.390]
X.Org X Server 1.19.3
Release Date: 2017-03-15
[ 6.390] X Protocol Version 11, Revision 0
[ 6.390] Build Operating System: Linux 4.11.6_1 x86_64
[ 6.390] Current Operating System: Linux blackhole 4.12.11_1 #1 SMP PREEMPT Fri Sep 8 10:17:18 UTC 2017 x86_64
[ 6.390] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.12.11_1 root=UUID=f8f62656-6a47-4361-a7c3-bc2b204d7e46 ro loglevel=4 slub_debug=P page_poison=1
[ 6.390] Build Date: 10 July 2017 01:02:19PM
[ 6.390]
@silvernode
silvernode / dmesg.log
Created September 10, 2017 17:49
Dmesg output
[ 0.000000] Linux version 4.12.11_1 (void-buildslave@build) (gcc version 6.3.0 (GCC) ) #1 SMP PREEMPT Fri Sep 8 10:17:18 UTC 2017
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.12.11_1 root=UUID=f8f62656-6a47-4361-a7c3-bc2b204d7e46 ro loglevel=4 slub_debug=P page_poison=1
[ 0.000000] Disabled fast string operations
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
@silvernode
silvernode / geuphoria.sh
Last active October 4, 2017 05:05
Install script for Open Euphoria
#!/bin/bash
###############################################################################
## ISC LICENSE:
##
## Permission to use, copy, modify, and/or distribute this software for
## any purpose with or without fee is hereby granted, provided that the above
## copyright notice and this permission notice appear in all copies.
##
## THE SOFTWARE IS PROVIDED “AS IS” AND ISC DISCLAIMS ALL WARRANTIES WITH
@silvernode
silvernode / pm-suspend.log
Created February 8, 2018 02:08
Suspend log
+ log Initial commandline parameters:
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ Initial commandline parameters: = -n ]
+ printf %s\n Initial commandline parameters:
Initial commandline parameters:
+ load_hook_blacklist
+ [ ]
+ return