Art by Lucas Garcete

PR's Tumblrdome
Cosimo Galluzzi

Janaina Medeiros

oozey mess
will byers stan first human second

roma★
he wasn't even looking at me and he found me
d e v o n

tannertan36
I'd rather be in outer space 🛸

titsay
AnasAbdin
Cosmic Funnies
Mike Driver
Sweet Seals For You, Always

★

izzy's playlists!
Lint Roller? I Barely Know Her
i don't do bad sauce passes
NASA
seen from Netherlands

seen from United States

seen from Spain
seen from United States

seen from Bermuda
seen from Germany
seen from United States
seen from Bolivia
seen from United States

seen from United Kingdom
seen from United States

seen from Algeria

seen from Germany

seen from Malaysia
seen from United States

seen from United States

seen from Spain

seen from Türkiye

seen from Canada
seen from Hong Kong SAR China
@hydrian-dev
Art by Lucas Garcete

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
!@#$%^ Nvidia
So on Sunday, I need my laptop for church to stream Zoom. It had been working properly when I shut it down. After connecting all of the A/V I/O, I started it up as my laptop had done before hundreds of times with out issue. This time it hangs at the at the kernel boot screen, just after the GRUB hand-off. Luckily someone else brought up their laptop to do ZOOM A/V.Â
So I just spend nearly a day trying to figure out what was wrong with laptop. After stewing over the laptop/GPU may have died, I finally figured it out it was the proprietary Nvidia Linux GPU driver.Â
Once I figured out the issue, it took my most of that down time to clean up the mess it had made. Nvidia also changed the API calls to their support libraries so it broke my display manager too!
Screw you Nvidia! This is why I don’t buy your products, personally.Â
Make a DOS bootdisk in Linux
This is just a quick article I wrote for myself. I keep on forgetting how to make bootable floppy disks in linux.
Get an floppy image from bootdisk.com or some other source
fdformat /dev/fd0
mkfs.vfat /dev/fd0 ## you may need to use the -I option with some USB floppy drives/li>
unzip bootmec.exe ## that makes a file called bootmec.IMA (if you got an image from bootdisk.com)
dd if=bootmec.IMA of=/dev/fd0
Importing an OpenSSL CSR into Windows CA Server
To import a CSR in to a Windows Certificate Authority Server, you must define a certificate template. Â OpenSSL does not do this because this is a Microsoft only concept. Â With the use of the 'certreq' command, you can apply a template type during the request import process. Â This command should be available on your Microsoft CA server.
certreq -submit -attrib "CertificateTemplate:WebServer" request.csr

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Convert JKS and PKCS12 back and forth with keytool
INTRODUCTION
Here are a few CLI commands to convert a java key store file to a PKCS12 encoded cert chain and back. This requires the java development kit (Sun/Oracle JDK) 6 or newer. Â
INSTRUCTIONS
JKS → P12
$> keytool -importkeystore \ -srckeystore keystore.jks \ -srcstoretype JKS \ -deststoretype PKCS12 \ -destkeystore keystore.p12
P12 → JKS
$> keytool -importkeystore \ -srckeystore keystore.p12 \ -srcstoretype PKCS12 \ -deststoretype JKS \ -destkeystore keystore.jks
POSIX RegEx for Hostnames
Here is a POSIX compliant regular expression for testing a host name. Â This does not support a fully qualified domain name (FQDN). Â This was tested with Linux grep.
'^([[:digit:]a-zA-Z]([-[:digit:]a-zA-Z]{0,61}[[:digit:]a-zA-Z]){0,1})$'
Here is a working example:
grep -E -i -w '^([[:digit:]a-zA-Z]([-[:digit:]a-zA-Z]{0,61}[[:digit:]a-zA-Z]){0,1})$'
Creating VirtualBox USB rawdisks in Ubuntu
I recently was playing with a new 4GB usb stick and I wanted it install a rawdisk VirtualBox VM on it. Â This would give a portable VM with decent speed.When I was trying to create the raw disk formated disk with the following command:
#> vboxmanage internalcommands -rawdisk /dev/sdc -filename ~/VirtualBox\ VMs/usbstick.vmdk
I recieved the following error. Â I even got this error running as root. Â I determined it wasn't a permissons issue.
VBoxManage: error: Cannot open the raw disk '/dev/sdc': VERR_MEDIA_NOT_PRESENT VBoxManage: error: The raw disk vmdk file was not created
After verifying that the device file did truely exist and that the permissions were not an issue. Â I did some wondering. Â What else would be touching this. Â Then I noticed gnome (nautilus) was automounting USB sticks. Â I then disabled the usb stick automounting. Â This affects all USB mass storage devices. Â I did this by opening the gconf-editor program.
#> gconf-editor
I then browsed thought the menu tree to apps -> nautilus -> preferences localtion. Â Then in right column I disabled the media_automount and media_automount_open options. Â Close gconf-editor. Â Unplug and reinsert the usb stick. Now I was able to create the rawdisk without a problem.
#> vboxmanage internalcommands -rawdisk /dev/sdc -filename ~/VirtualBox\ VMs/usbstick.vmdk RAW host disk access VMDK file /home/hydrian/VirtualBox VMs/usbstick.vmdk created successfully.
It seemed that nautilus was grabbing and holding control of the USB stick even after I unmounted it. Â After disabling the above options, nautilus now never grabs access unless told to.
Creating Selfsigned Certificate with an Existing Key
Most OpenSSL documentation out there only shows you how to create a new key and signs it with in single command. Â I wanted to use a self-signed in the interm while waiting for my third-party CA approve my certificate. I already had an existing key. Â Here is the command to create a self-signed certificate from an existing RSA key.
#> openssl req -x509 -new -key {KEYFILE} -out {SELFSIGNEDCERT}
Converting Images for CSS Embedding
This is just a handy command string that is meant for converting images files into base64 for CSS embedding. Â
#> cat {ImageFile} | base64 -w0 > {OutputFile}

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Disabling Chrome GPU Acceleration
Common command line switches and arguments to disable GPU assisted resources. Â
--disable-3d-apis Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. This is controlled by policy and is kept separate from the other enable/disable switches to avoid accidentally regressing the policy support for controlling access to these APIs.Â
--disable-accelerated-2d-canvas Disable gpu-accelerated 2d canvas.Â
--disable-accelerated-compositing Disables accelerated compositing.Â
--disable-accelerated-layers Disables the hardware acceleration of 3D CSS and animation.Â
--disable-accelerated-video Disables GPU accelerated video display. Â
Cloning Partitions Across SSH
Many times I've had to image/clone partitions of the machines across and SSH connection. Â Often there is not sufficient space to compress the whole image and transfer it over to the new machine and the deploy it inside that machine. This is very common with VPS providers.
Instructions
Boot up both machines in single user mode or with a boot CD. I like using rescue CDs/OSs. Make sure all of the source partitions and destination partitions are unmounted or mounted read-only. Also make sure the user you are working with has the permissions to write disk's partition devices.
#> dd if={source partition device}| gzip -1 - | ssh {destination host} 'gunzip - | dd of={target partition device}'
While it isn't required to gzip the data stream, it it highly recommended. If you don't, you'll be wasting lots of time and bandwidth transferring empty space.
Example
dd if=/dev/sda2 |gzip -1 - | ssh [email protected] 'gunzip - |dd of=/dev/xvdb'
Rebuilding an MD RAID After Drive Failure
0. Show Current MD status
#> cat /proc/mdstat
This command will show you all of the /dev/md devices on your system. Take note that there may be multiple md devices associated with one drive.Â
1. Remove Old/Dead Drive
#> mdadm --manage /dev/md0 --fail /dev/sdb1 (Dead Drive)
This remove the old / dead drive from the md0 array. This may have to be run multiple times if you multiple md drives per a single physical drive.Â
2. Remove drive.Â
If your drive or host controller do not support hot-swapping, shutdown your machine. Remove your bad drive.
If your drive or host controller supports hot-swapping, just remove drive.
3. Insert new drive.Â
If your drive or host controller do not support hot-swapping, Insert new/working drive of same size or bigger size. Boot machine. Jump to step 5.Â
If your drive or host controller supports hot-swapping, just insert drive.
4. Rescan host adapter.
#> echo ‘- - -’ > /sys/class/scsi_host/host0/scan
Force a SCSI HBA rescan.Â
5. Partition New Drive
#> sfdisk -d /dev/sda | sfdisk /dev/sdb
Copy partition format from existing drive and import it to new drive. Warning this only works on msdos table drives. GPT tables do not work.Â
6. Add New Drive to MD RAID
#>Â mdadm --manage /dev/md0 --add /dev/sdb1
Add new drive to existing MD RAID device.Â
7. Monitor Rebuild
#> cat /proc/mdstatÂ
Use cat /proc/mdstat to monitor rebuild(s).