Skip to content

Instantly share code, notes, and snippets.

@s0kil
s0kil / Cudy LT18.md
Last active September 8, 2023 01:34
Cudy LT18

Cudy LT18 4G LTE-A Pro Wi-Fi 6 Router

Default Access

http://cudy.net

192.168.10.1 admin

Default Wi-Fi

@s0kil
s0kil / scar_tissue.md
Created May 28, 2023 01:55 — forked from gtallen1187/scar_tissue.md
talk given by John Ousterhout about sustaining relationships

"Scar Tissues Make Relationships Wear Out"

04/26/2103. From a lecture by Professor John Ousterhout at Stanford, class CS142.

This is my most touchy-feely thought for the weekend. Here’s the basic idea: It’s really hard to build relationships that last for a long time. If you haven’t discovered this, you will discover this sooner or later. And it's hard both for personal relationships and for business relationships. And to me, it's pretty amazing that two people can stay married for 25 years without killing each other.

[Laughter]

> But honestly, most professional relationships don't last anywhere near that long. The best bands always seem to break up after 2 or 3 years. And business partnerships fall apart, and there's all these problems in these relationships that just don't last. So, why is that? Well, in my view, it’s relationships don't fail because there some single catastrophic event to destroy them, although often there is a single catastrophic event around the the end of the relation

@s0kil
s0kil / Volvo S60R P2 Stage Zero List.md
Last active March 11, 2023 02:02
Volvo S60R P2 Stage Zero List

Volvo S60R P2 Stage Zero List

Stage 0 means to get your Volvo’s critical systems as close to new as you can get, or alternately, to get your Volvo’s components replaced or rebuilt in the systems that can cause problems, like braking, or steering, etc. You should do these things to increase reliability, boost economy, in preparation for performance modifications, or all three. https://www.matthewsvolvosite.com/stage-0/

Wear N Tear

  • Motor Oil
  • Transmission Oil
  • Transmission Filter
  • Transmission Mounts
@s0kil
s0kil / Fix for Error U7121.txt
Created November 27, 2022 02:11
Netflix Fix for Error U7121
So after restarting my laptop, Netflix failed to play every download.
The solution:
Copy the download files to a temporary location. The path looks like this:
C:\Users\UserName\AppData\Local\Packages\4DF9E0F8.Netflix_mcm4njqhnhss8\LocalState\offlineInfo\downloads
Reset the App in Apps & Features.
Start Netflix, log in.
@s0kil
s0kil / concurrent_port_scanner.hs
Created April 18, 2022 09:50 — forked from xandkar/concurrent_port_scanner.hs
Concurrent port scanner in Haskell
-- http://blog.moertel.com/articles/2004/03/13/concurrent-port-scanner-in-haskell
module Main (main) where
import Control.Concurrent
import Control.Exception
import Data.Maybe
import Network
import Network.BSD
import System.Environment
@s0kil
s0kil / .stylish-haskell.yaml
Created March 16, 2022 16:43
.stylish-haskell.yaml
# stylish-haskell configuration file
# ==================================
# The stylish-haskell tool is mainly configured by specifying steps. These steps
# are a list, so they have an order, and one specific step may appear more than
# once (if needed). Each file is processed by these steps in the given order.
steps:
# Convert some ASCII sequences to their Unicode equivalents. This is disabled
# by default.
# - unicode_syntax:
@s0kil
s0kil / gist:98e7487557537581b485b1d64ae13950
Created March 4, 2022 12:11
Linux split csv file into multiple and keep header
cat Large-File.csv | parallel --header : --pipe -N2000 'cat >file_{#}.csv'
@s0kil
s0kil / antminer-clock-error.txt
Created December 3, 2021 04:19
Antminer Clock Error
driver/uart.c:49:set_baud: set UART baud to 3000000
driver/driver-btm-api.c:821:check_clock_counter: freq 50 clock_counter_limit 6
driver/register.c:699:quick_dump_core_hash_clock_counter: bad clock counter. chain = 1, asic = 7, core = 0, found 0, clock counter 0x00000000
Assert fail!! driver/driver-btm-api.c:927: clock count check failed, retry.