This is a general-purpose function to ask Yes/No questions in Bash, either with or without a default answer. It keeps repeating the question until it gets a valid answer.
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
IP Address Location | |
89.187.177.134 NYC | |
89.187.177.138 NYC | |
89.187.177.196 NYC | |
89.187.178.130 NYC | |
89.187.179.35 NYC | |
89.187.185.130 LAX | |
89.187.185.153 LAX |
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
# Maintainer: Strykar <strykar@hotmail.com> | |
pkgname=go-livepeer-bin | |
_pkgname=go-livepeer | |
pkgver=0.5.21 | |
pkgrel=1 | |
pkgdesc='Official Go binaries of the Livepeer protocol' | |
arch=('x86_64') | |
url='https://github.com/livepeer/go-livepeer' | |
license=('MIT') |
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
[Unit] | |
Description=Start the Go-Livepeer Orchestrator and Transcoder service | |
After=network.target | |
Wants=network-online.target | |
# See https://www.cyberciti.biz/faq/linux-hide-processes-from-other-users/ | |
[Service] | |
Restart=always | |
Type=simple | |
EnvironmentFile=/etc/go-livepeer/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
ethaddr=0x1a00000000000000000000000000000000000000 | |
ethurl=https://mainnet.infura.io/v3/00000000000011111111110000000000 | |
ethpass=mywalletpassword | |
maxgas=40000000000 | |
unitprice=800 | |
serviceaddr=my.livepeer.node:8935 | |
sesh=6 | |
cliaddr=192.168.10.1:7935 | |
rew=false | |
mon=false |
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
# ASN 18207 YouBroadBand | |
# 103.247.210.0/24 | |
# 103.39.4.0/23 | |
# 103.48.96.0/22 | |
# 103.5.70.0/24 | |
# 123.201.0.0/16 | |
# 150.107.208.0/22 | |
# 175.100.128.0/19 | |
# 196.1.104.0/24 | |
# 203.109.64.0/18 |
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
#!/hint/bash | |
# | |
# /etc/makepkg.conf | |
# | |
######################################################################### | |
# SOURCE ACQUISITION | |
######################################################################### | |
# | |
#-- The download utilities that makepkg should use to acquire sources |
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
root@apu:~# time awk 'BEGIN { OFMT = "%.0f"; for (i = 0; i < 50000; i++) print (95/100 * 42) }' > /dev/null | |
real 0m0.517s | |
user 0m0.435s | |
sys 0m0.081s | |
root@apu:~# time awk 'BEGIN { for (i = 0; i < 50000; i++) printf("%.0f\n", (95/100 * 42)) }' > /dev/null | |
real 0m0.862s | |
user 0m0.624s | |
sys 0m0.237s |
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
========== | |
VULKANINFO | |
========== | |
Vulkan Instance Version: 1.2.153 | |
Instance Extensions: count = 17 | |
=============================== | |
VK_EXT_acquire_xlib_display : extension revision 1 |
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
#!/usr/bin/bash | |
function pacman-last-used { | |
storage_dir=${HOME}/.config/pacman-last | |
mkdir -p "$storage_dir" | |
unsorted=$storage_dir/"packages.1.exec_bins.log" | |
sorted=$storage_dir/"packages.2.exec_bins.sorted" | |
sorted_packs=$(mktemp) #"3.packages.sorted" |