Skip to content

Instantly share code, notes, and snippets.

View asheroto's full-sized avatar
😎

asheroto

😎
  • United States
View GitHub Profile
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover]
"ExcludeExplicitO365Endpoint"=dword:00000001
@asheroto
asheroto / phpMyAdmin-config.inc.php
Last active September 20, 2020 01:05
Working phpMyAdmin config.inc.php config with cookie based authentication
<?php
declare(strict_types=1);
/**
* This is needed for cookie based authentication to encrypt password in
* cookie. Needs to be 32 chars long.
*/
$cfg['blowfish_secret'] = '32-character-random-secret'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
/* Authentication type */
var player = new Clappr.Player({
sources: [<url to m3u8 file>],
width: '100%',
height: '100%',
autoPlay: true,
disableVideoTagContextMenu: true,
hideMediaControl: true,
parentId: "#player",
playbackNotSupportedMessage: 'No available streams',
plugins: [HlsjsPlayback],
apt update && apt upgrade -y
apt upgrade build-essential net-tools htop git curl unzip -y
apt update && apt upgrade -y
apt install git curl -y
git clone https://github.com/asheroto/exa-linux-install.git
cd exa-linux-install
sh ./install-exa.sh
cd ..
rm exa-linux-install -r
curl -O http://vestacp.com/pub/vst-install.sh
While in the rescue mode, type these commands:
set root=(hd0,1)
set prefix=(hd0,1)/boot/grub
insmod normal
normal
If you get an error on any of them, change the hd,1 to hd,2 or hd,3, etc until you don't get an error
Once booted into the OS, run these two commands to make it stick:

Keybase proof

I hereby claim:

  • I am asheroto on github.
  • I am asheroto (https://keybase.io/asheroto) on keybase.
  • I have a public key ASAKOUzNenLAk3fU54FgDAzi1YENYwx7p46calIWaEpLQQo

To claim this, I am signing this object: