This file contains hidden or 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
| # Run from the superproject root | |
| git submodule foreach --recursive ' | |
| b=$(git config -f "$toplevel/.gitmodules" "submodule.$name.branch") | |
| if [ -z "$b" ]; then | |
| echo "No branch set in .gitmodules for $name (path: $path). Skipping." | |
| else | |
| echo "Updating $name at $path → branch: $b" | |
| # Ensure the remote exists and fetch latest | |
| git fetch --all --prune | |
| # Checkout the branch (create local tracking if missing) |
This file contains hidden or 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
| const fs = require('fs'); | |
| const htmlContent = ` | |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Side-by-side DIVs</title> | |
| <style> |
This file contains hidden or 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
| // Main cylinder/shaft | |
| shaftW=10; | |
| cylW=17; | |
| cylH=28.23; | |
| // Plate to affix to turntable | |
| ttFixPlateW = 39; | |
| ttFixPlateH = 3; | |
| screwHoleW=3.5; | |
| screwHoleOffset=15.3888; |
This file contains hidden or 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
| function RCmaster() | |
| while true do | |
| local sEvent, param = os.pullEvent("key") | |
| if(sEvent == "key") then | |
| if(param == 200) then | |
| rednet.broadcast("TS Forward") | |
| elseif (param == 208) then | |
| rednet.broadcast("TS Backward") | |
| elseif (param == 203) then | |
| rednet.broadcast("TS TurnLeft") |
This file contains hidden or 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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> | |
| <title>nDs</title> | |
| <link rel="stylesheet" type="text/css" media="screen" href="screen.css" /> | |
| <link href="nd.css" media="screen" rel="stylesheet" type="text/css"> | |
| <script src='http://brandonaaron.net/javascripts/plugins/mousewheel.js' type='text/javascript'></script> |