Snippets Collections
mbpfan is a daemon that uses input from coretemp module and sets the fan speed  using  the
applesmc  module.   This  enhanced version assumes any number of processors and fans (max.10), and it is distro- and kernel-independent.

# Download
# Create a folder
$ mkdir actions-runner && cd actions-runner
# Download the latest runner package
$ curl -o actions-runner-linux-x64-2.291.1.tar.gz -L https://github.com/actions/runner/releases/download/v2.291.1/actions-runner-linux-x64-2.291.1.tar.gz# Optional: Validate the hash
$ echo "1bde3f2baf514adda5f8cf2ce531edd2f6be52ed84b9b6733bf43006d36dcd4c  actions-runner-linux-x64-2.291.1.tar.gz" | shasum -a 256 -c
# Extract the installer
$ tar xzf ./actions-runner-linux-x64-2.291.1.tar.gz
# Configure
# Create the runner and start the configuration experience
$ ./config.sh --url https://github.com/TousssaintThomas/wren.v1.0.0 --token AB7YEM2R2HZDVVBJ3VEFFLLCSI5U6# Last step, run it!
$ ./run.sh
# Using your self-hosted runner
# Use this YAML in your workflow file for each job
# runs-on: self-hosted
sudo apt update; sudo apt upgrade -y; sudo apt autoremove -y; clear;
certbot certonly --standalone -d kfc-copypaste-api.the-lion.com --staple-ocsp -m josuedjh456@gmail.com --agree-tos
grep -inRsH "Text to be searched" apps/
ssh -i mykeypair_openssh.ppk <user>@<host ip>
  
# with port
ssh -i mykeypair_openssh.ppk <user>@<host ip> -P 50055
puttygen ~/.ssh/my.ppk -O private-openssh -o ~/.ssh/my_openssh.ppk
# Create a ".desktop" file in "/usr/share/applications" with following content

[Desktop Entry]
Name=NameOfApplication
Exec=/path/to/your/script
Icon=/path/to/image/to/use/as/icon.png
Terminal=false
Type=Application
curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo nano /etc/default/grub

# There is a line in that: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" (like this), replace with: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=1"
# Save it (CTRL+O)

sudo update-grub
sudo reboot
ip addr | grep eth0 | grep inet | awk '{print $2}' | awk -F '/' '{print $1}' | awk '{printf "%s:3000", $0}' | clip.exe
star

Sat Dec 03 2022 18:21:51 GMT+0000 (UTC) https://smallbusiness.chron.com/forgot-server-login-password-ubuntu-81716.html

#ubuntu #linux
star

Tue Oct 04 2022 13:49:00 GMT+0000 (UTC) https://askubuntu.com/questions/40779/how-do-i-install-a-deb-file-via-the-command-line

#ubuntu #linux #deb #install
star

Sat May 28 2022 21:19:29 GMT+0000 (UTC) http://manpages.ubuntu.com/manpages/bionic/man8/mbpfan.8.html

#ubuntu #linux #mbpfan
star

Sat May 28 2022 14:42:18 GMT+0000 (UTC) https://github.com/TousssaintThomas/wren.v1.0.0/settings/actions/runners/new?arch=x64&os=linux

#bash #linux #ubuntu
star

Sun May 15 2022 17:04:29 GMT+0000 (UTC)

#ubuntu #linux #bash #sariohara
star

Mon Apr 11 2022 14:11:19 GMT+0000 (UTC)

#linux #ubuntu #nginx
star

Mon Apr 11 2022 13:41:23 GMT+0000 (UTC)

#linux #ubuntu #nginx
star

Tue Mar 15 2022 04:10:40 GMT+0000 (UTC)

#ubuntu #bash #ssh
star

Tue Mar 15 2022 03:32:29 GMT+0000 (UTC) https://serverfault.com/questions/854208/ssh-suddenly-returning-invalid-format

#ubuntu #bash #ssh
star

Mon Feb 14 2022 07:24:44 GMT+0000 (UTC) https://medium.com/ruralscript/install-and-setuppostgresql-on-ubuntu-amazon-ec2-5d1af79b4fca

#ec2 #postgres #setup-postgres-on-ec2 #ubuntu
star

Tue Jun 08 2021 08:36:37 GMT+0000 (UTC) https://www.computerwissen.de/linux/distributionen/ubuntu/ubuntu-programme/so-erstellen-sie-einen-eigenen-starter/

#ubuntu #scripts #gui
star

Sun Apr 18 2021 16:35:19 GMT+0000 (UTC)

#ubuntu #bash #linux
star

Sun Dec 06 2020 21:15:55 GMT+0000 (UTC) https://askubuntu.com/questions/761706/ubuntu-15-10-and-16-04-keep-freezing-randomly

#bash #ubuntu
star

Sun Nov 29 2020 16:44:07 GMT+0000 (UTC) https://forums.docker.com/t/start-a-gui-application-as-root-in-a-ubuntu-container/17069

#bash #docker #ubuntu
star

Fri Dec 27 2019 13:19:35 GMT+0000 (UTC) https://dev.to/codeluggage/today-i-wrote-a-handy-little-snippet-to-easily-access-ubuntu-from-windows-in-wsl2-19l

#commandline #interesting #windows #ubuntu #linux

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension