[...document.querySelectorAll('.wallet_table_row')] | |
.map(x => { | |
if (x.querySelector('.wht_items').innerText.includes('£')) return x.parentElement.removeChild(x); | |
let amount = (Math.random() * 20).toFixed(2); | |
x.querySelector('.wht_total').innerText = "£" + amount; | |
x.querySelector('.wht_wallet_change').innerText = "-£" + amount; | |
x.querySelector('.wht_wallet_balance').innerText = "£0.00"; | |
}); | |
[...document.querySelectorAll('.wth_payment')].map(x => x.innerText = 'Visa **37'); |
ls -w 1 > list && sed -i -e 's/^list$//' list && sed -i -e 's/^\(.\+\)$/file \'\1\'/' list && cat list && ffmpeg -f concat -safe 0 -i list -c copy output.mp4 |
This is a guide to configure React Native to be built for native and web platforms with Typescript, Vite.js and Storybook support for modelling components.
#!/bin/fish | |
# convert the PDF into a sequence of images | |
# pick input filename | |
set PDF_NAME abc.pdf | |
# you may need to experiment with density to find the correct resolution | |
set DENSITY 300 | |
convert -density $DENSITY -quality 100 $PDF_NAME seq.png | |
# convert the sequence of images into a GIF |
This gist is a guide about how to create and export a scene from Blender for use with Gazebo, and then configuring a new ROS package with a world containing the created scene.
Read on Website | Read on GitHub
- Blender Overview
- Exporting from Blender
- Configuring the ROS package (skip to here if you have a mesh ready)
- Creating the Gazebo world
There is one Karabiner file you need to apply which is 2. pc_shortcuts.json
, this is copied from https://ke-complex-modifications.pqrs.org/#pc_shortcuts.
After applying these, manually change settings below.
Enable normal function keys under "Keyboard Shortcuts" -> "Function Keys".
// Open GIF picker | |
// Then run: | |
(() => { | |
let links = new Set(); | |
function capture() { | |
const elements = [ | |
...document.querySelectorAll("#gif-picker-tab-panel img"), | |
...document.querySelectorAll("#gif-picker-tab-panel video") | |
]; | |
# ROS Noetic + TIAGo workspace | |
source /opt/ros/noetic/setup.bash | |
source /home/ubuntu/tiago_public_ws/devel/setup.bash | |
# Try to determine appropriate ROS_IP based on network interfaces | |
export ROS_IP=$(ip addr | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p' | head -n 1) | |
echo ROS_IP set to $ROS_IP | |
# Switch to and configure LASR workspace | |
alias lasr="cd /media/ubuntu/c26792b8-9486-4e51-8b3d-b8577a6bbf28/lasr_ws && source devel/setup.bash" |
-
Install Stylus: https://addons.mozilla.org/en-US/firefox/addon/styl-us/
-
Select manage styles from extension:
-
Call the style "KEATS Userstyle"
-
Select "write new style" then click on "import" and paste the
keats-userstyle.css
file below. Select "override style", then save the style. -
Subscribe to this Gist for updates