Skip to content

Instantly share code, notes, and snippets.

View smaslennikov's full-sized avatar
💭
i hereby identify as your excellency

Slava Maslennikov smaslennikov

💭
i hereby identify as your excellency
View GitHub Profile
@smaslennikov
smaslennikov / find-disks.sh
Last active May 30, 2023 21:58
find disks in all projects
#!bin/bash
for i in $(gcloud projects list | \
grep -v PROJECT_NUMBER | \
cut -d ' ' -f 1); do
gcloud config set project $i
gcloud compute disks list \
--filter="local-ssd" \
--uri | \
cut -d / -f 9
@smaslennikov
smaslennikov / digital-dust.md
Last active January 26, 2022 19:52
digital dust

Hearing the difference now isn't the reason to encode to FLAC. FLAC uses lossless compression, while MP3 is 'lossy'. What this means is that for each year the MP3 sits on your hard drive, it will lose roughly 12kbps, assuming you have SATA - it's about 15kbps on IDE, but only 7kbps on SCSI, due to rotational velocidensity. You don't want to know how much worse it is on CD-ROM or other optical media.

I started collecting MP3s in about 2001, and if I try to play any of the tracks I downloaded back then, even the stuff I grabbed at 320kbps, they just sound like crap.

The bass is terrible, the midrange...well don't get me started. Some of those albums have degraded down to 32 or even 16kbps. FLAC rips from the same period still sound great, even if they weren't stored correctly, in a cool, dry place. Seriously, stick to FLAC, you may not be able to hear the difference now, but in a year or two, you'll be glad you did.

I have a PhD in Digital Music Conservation from the University of South Carolina. I have to

Board

Two pieces, hindged together by the long axis. Each:

Axis Measurement
Length 30cm
Width 16.5cm
Height 1cm
@smaslennikov
smaslennikov / Travis to Earth
Created March 4, 2019 23:48
Travis to Earth
Dear Customer,
I am Randy Jacops, the CEO of Idera, Inc. You likely saw the press announcement last month announcing Idera’s acquisition of Travis CI (hereafter, Travis). Here is a link to the announcement if you have not seen it: Idera, Inc. Acquires Travis CI GmbH for Continuous Integration Capabilities.
I’d like to welcome you to the Idera family and look forward to building on Travis’ history of market leading continuous integration products for software developers and testing professionals. I’m writing this letter to introduce Idera and explain why we are excited to acquire Travis.
Idera delivers B2B software productivity tools that allow technical users to do more with less, faster. The company's brands span three divisions—Database Tools, Developer Tools and Testing Tools—with products used and evangelized by millions of community members and more than 50,000 customers worldwide. Continuous integration accelerates software delivery, improves developer productivity, and enables technical innovation t
12:46:01 MassDeba+| I once had a clogged cat that was creating serious amounts of back pressure.
12:46:36 slobber | my cat got clogged once
12:46:45 slobber | the vet felt four poos in him
12:46:55 slobber | had to forcefeed some green goo
12:49:49 Sketch | Skyl3r: a plugged cat isn't good for any engine
12:50:29 Skyl3r | Yeah, but it was a big issue with the Rx8 from what I heard. Because it was kind of a quick death for the engine
12:50:56 Sketch | i see
12:51:18 slobber | obviously solution is remove the cat and move out of california immediately
12:51:26 Skyl3r | ^^
12:51:51 Sketch | slobber: just feed it some grass, it'll puke the clog up
@smaslennikov
smaslennikov / E34 OBC codes
Last active November 30, 2018 20:59
E34 OBC codes
Getting into the Test Codes:
============================
Push OBC buttons 1000 and 10 together. You will see the word Test. By pressing a combination of the 10 and 1's you can enter Test Codes from 1 to 21. After entering the number press R/S and you will get a continuous display of the test function. To cancel, just press any of the OBC function keys.
List of Available Tests:
========================
Test Number Description
1 Display Test (all LCDs and LEDs activate)
2 Current Consumption in litres / 100 km
3 Current Consumption in litres / hour
Initiation:
Before first use, rinse it in hot water then let it dry completely!
Usage:
Avoid placing in a place with high temperatures,​ such as a microwave, oven, or stove.
Cleaning:
Tokoname teapots become glossy as you use them. Oil impurities may become mixed in,​ but if you wash it the glossiness will remain.
Wash with dishwashing detergent should the surface become blackish. Its beautiful gloss will remain.
Do not use dishwasher or dryer! Wash with dishwashing detergent should the surface become blackish.
______________________________________
/ Choose in marriage only a woman whom \
| you would choose as a friend if she |
| were a man. |
| |
\ -- Joubert /
--------------------------------------
\ ^__^
\ (..)\_______
(__)\ )\/\

Keybase proof

I hereby claim:

  • I am smaslennikov on github.
  • I am smaslennikov (https://keybase.io/smaslennikov) on keybase.
  • I have a public key ASDhM9VLe2Isn9L39d0_XSrWDkjZiZHnhypb950NTqBUYQo

To claim this, I am signing this object:

"""Profession: "Security" Engineer
[08:00] Wake up
[09:05] Arrive at work a little after 9 to fight the power
[09:15] Coffee. The daily pilgrimage to the Mr. Coffee is the highlight of my day.
[09:25] Go to meeting scheduled by demon. I don't need to be in the meeting and nod my head whenever they look at me.
[10:05] Check email to find a customer figured out my email and started emailing me on how to figure out their wifi password. This is their 5th time emailing me despite having forwarded them to customer support.