This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat Large-File.csv | parallel --header : --pipe -N2000 'cat >file_{#}.csv' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install libsquashfuse0 squashfuse fuse | |
sudo apt install snapd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[...document.querySelectorAll("#datatable_profitability > tbody > tr > td:nth-child(1) > div > div:nth-child(2) > a > span:nth-child(2)")].reduce((all, item) => { | |
let a = `<li><a href='${item.parentNode.href}'>${item.textContent}</a></li>` | |
return `${all}${a}` | |
}, "") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Kill All Containers | |
sudo docker kill $(sudo docker ps -q) | |
# Prune Containers, Images, Volumes, Cache | |
sudo docker system prune --all |