- Unplug the desk for 20 seconds. Plug it back in. Wait a full 20 seconds.
- Press the up and down buttons until the desk lowers all the way and beeps or 20 seconds pass.
- Release both buttons.
- Press the down buttons until the desk beeps one more time or 20 seconds pass.
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
/* getUrlWithParams() | |
* Add/update or remove url parameters from the provided url. | |
* Example: getUrlWithParams({'tab':tab_name},['remove']); | |
*/ | |
var getUrlWithParams = function(url, add_update, remove = []) { | |
var url = new URL(url); | |
var splita = url.search.substr(1).split('&'); | |
var params = {}; | |
var merged = {}; |
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
<!doctype html> | |
<html> | |
<head> | |
<script> | |
const req = new XMLHttpRequest(); | |
req.addEventListener('load', function(e) { | |
var response = JSON.parse( e.target.response ); | |
var page_html = response.content.rendered; | |
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
var docWidth = document.documentElement.offsetWidth; | |
[].forEach.call( | |
document.querySelectorAll('*'), | |
function(el) { | |
if (el.offsetWidth > docWidth) { | |
console.log(el); | |
} | |
} | |
); |
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
Windows Registry Editor Version 5.00 | |
; Turn off File Explorer ads | |
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced] | |
"ShowSyncProviderNotifications"=dword:00000000 | |
; Turn off Start Menu suggestions | |
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager] | |
"SystemPaneSuggestionsEnabled"=dword:00000000 |
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
<div id="hero_video_container"> | |
<video autoplay muted loop id="hero_video"> | |
<source src="/videos/video.mp4" type="video/mp4" /> | |
<source src="/videos/video.webm" type="video/webm" /> | |
</video> | |
</div> | |
<style> | |
#hero_video_container { | |
position: relative; | |
width: 100%; |
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
# h265 | |
ffmpeg -i input.mp4 -c:v libx265 -vf scale=1280:720 -pix_fmt yuv420p output.mp4 | |
# h265 with colorspace specified | |
ffmpeg -i input.mp4 -c:v libx265 -vf scale=1280:720 -pix_fmt yuv420p -color_primaries bt709 -color_trc bt709 -colorspace bt709 output.mp4 | |
# h265 with colorspace specified and no audio | |
ffmpeg -i input.mp4 -c:v libx265 -vf scale=1280:720 -pix_fmt yuv420p -color_primaries bt709 -color_trc bt709 -colorspace bt709 -an output.mp4 | |
# webm |
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
/* | |
SQL Queries to export customers and orders from OpenCart database as CSV to import into | |
WooCommerce via the WP All Import plugin with the WooCommerce Add-On | |
http://www.wpallimport.com/ | |
- Use wp_all_import_templates.txt with the plugin to save column matching time. | |
- Currently does not import order status | |
*/ |
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 | |
echo -e "Domain: \c " | |
read domain | |
echo -e "Slug: \c " | |
read slug | |
echo -e "Password: \c " | |
read password | |
dir="$domain/ftp/public/.vscode" |
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
"accesskeys", | |
"aria-allowed-attr", | |
"aria-required-attr", | |
"aria-required-children", | |
"aria-required-parent", | |
"aria-roles", | |
"aria-valid-attr-value", | |
"aria-valid-attr", | |
"audio-caption", | |
"button-name", |