From: http://www.openfusion.net/tags/dell/
# yum install ipmitool
# ipmitool sel info
# ipmitool sel list
# ipmitool sel clear
#!/bin/bash | |
# Install Java Runtime + Compiler (optional), | |
# other options: package "default-jdk" will get openjdk-11 | |
sudo apt install openjdk-8-jdk | |
# install Jenkins | |
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - | |
echo "deb https://pkg.jenkins.io/debian-stable binary/" > /etc/apt/sources.list.d/jenkins.list | |
sudo apt update |
icacls "%HOMEPATH%\Dropbox" /grant "%USERNAME%":(F) /T |
// start the server HTTP & HTTPS | |
const http = require('http'); | |
const https = require('https'); | |
const fs = require('fs'); | |
var credentials = { | |
key: fs.readFileSync('./ssl-cert.key'), | |
cert: fs.readFileSync('./ssl-cert.cert') | |
}; |
const fs = require('fs'); | |
const httpProxy = require('http-proxy'); | |
httpProxy.createServer({ | |
target: { | |
host: 'localhost', | |
port: 3000 | |
}, | |
ssl: { | |
key: fs.readFileSync('./server.key'), | |
cert: fs.readFileSync('./server.crt') |
#!/bin/bash | |
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"2581\", ATTRS{idProduct}==\"1b7c\", MODE=\"0660\", GROUP=\"plugdev\"" > /etc/udev/rules.d/20-ledger.rules | |
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"2581\", ATTRS{idProduct}==\"2b7c\", MODE=\"0660\", GROUP=\"plugdev\"" >>/etc/udev/rules.d/20-ledger.rules | |
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"2581\", ATTRS{idProduct}==\"3b7c\", MODE=\"0660\", GROUP=\"plugdev\"" >>/etc/udev/rules.d/20-ledger.rules | |
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"2581\", ATTRS{idProduct}==\"4b7c\", MODE=\"0660\", GROUP=\"plugdev\"" >>/etc/udev/rules.d/20-ledger.rules | |
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"2581\", ATTRS{idProduct}==\"1807\", MODE=\"0660\", GROUP=\"plugdev\"" >>/etc/udev/rules.d/20-ledger.rules | |
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"2581\", ATTRS{idProduct}==\"1808\", MODE=\"0660\", GROUP=\"plugdev\"" >>/etc/udev/rules.d/20-ledger.rules | |
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"2c97\", ATTRS{idProduct}==\"0000\", MODE=\"0660\", GRO |
# date: 2017-12-30 | |
# continuing from https://gist.github.com/whizzzkid/37c0d365f1c7aa555885d102ec61c048 | |
# today, Ubuntu pushed a new update for Nvidia, and it crashed my machine. | |
# if blinking uncontrollably, it is because gdm is crashed and trying to restart | |
# use Ctrl+Alt+F2 (multiple times) trying to switch to second console, and login | |
sudo systemctl stop gdm # stop gdm service, thus stop the blinking | |
# go to bumblebee config | |
sudo vi /etc/bumblebee/bumblebee.conf |
From: http://www.openfusion.net/tags/dell/
# yum install ipmitool
# ipmitool sel info
# ipmitool sel list
# ipmitool sel clear
I got stuck when trying to extend the root partition. The partition table ended up broken and I cannot boot into the system.
sudo yum install -y syslinux
)#!/bin/bash | |
# an answer from https://superuser.com/questions/692990/use-ffmpeg-copy-codec-to-combine-ts-files-into-a-single-mp4 | |
for i in `ls *.ts | sort -V`; do echo "file $i"; done >> mylist.txt | |
ffmpeg -f concat -i mylist.txt -c copy -bsf:a aac_adtstoasc video.mp4 |