ssh -L 8888:localhost:8888 middle@xxx.xxx.xxx.xxx -t ssh -N -L 8888:localhost:8888 endpt@xxx.xxx.xxx.xxx
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
convert source-a.gif -coalesce a-%04d.gif | |
convert source-b.gif -coalesce b-%04d.gif | |
for i in {0000..0200}; do composite -blend 50% a-$i.gif b-$i.gif c-$i.gif; done | |
convert -loop 0 -delay 10 c-*.gif result.gif |
Fix Cuda GL, via https://jkjung-avt.github.io/opencv3-on-tx2/
sudo vi /usr/local/cuda/include/cuda_gl_interop.h
# Comment the following lines, near the top
//#if defined(__arm__) || defined(__aarch64__)
//#ifndef GL_VERSION
//#error Please include the appropriate gl headers before including cuda_gl_interop.h
//#endif
//#else
#include
Mac X11: https://cntnr.io/running-guis-with-docker-on-mac-os-x-a14df6a76efc Ubuntu X11: xhost +local:docker
Mac: docker run -it --rm -e DISPLAY=${HOSTNAME}:0 -v /tmp/.X11-unix/:/tmp/.X11-unix osrf/ros:kinetic-desktop-full-xenial
Ubuntu: docker run -it --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix osrf/ros:kinetic-desktop-full-xenial
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> | |
<meta http-equiv="refresh" content="0; url=https://www.example.me/"> | |
</head> | |
<body> | |
<p>If you aren't automatically redirected, | |
<a href="https://www.example.me/">click here.</a></p> | |
</body> | |
</html> |
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
if(window.location.host == "example.com") { | |
var host = "example.com"; | |
if ((host == window.location.host) && (window.location.protocol != "https:")) { | |
window.location.protocol = "https"; | |
} | |
}else{ | |
var host = "www.example.com"; | |
if ((host == window.location.host) && (window.location.protocol != "https:")) { | |
window.location.protocol = "https"; | |
} |
I hereby claim:
- I am lkwatson on github.
- I am lkwatson (https://keybase.io/lkwatson) on keybase.
- I have a public key ASCgH0hGIHjfaLt31lgo8dqGOg1obHYkvVnq00vJSY8elgo
To claim this, I am signing this object:
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
$('.email-spam-hide').text(function(i,t){ | |
return t.replace("[at]","@"); | |
}); |