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
| # @see https://www.snbforums.com/threads/add-swap-to-usb-drive-on-asus-router.46911/ | |
| # Run the command `df` to see where your USB drive is mounted. | |
| # Should be something like /tmp/mnt/volume-label | |
| # Of course use your volume label in the following commands. | |
| #-------------------------------------------- | |
| # Create a swap file | |
| #-------------------------------------------- | |
| dd if=/dev/zero of=/tmp/mnt/volume-label/myswap.swp bs=1k count=524288 | |
| mkswap /tmp/mnt/volume-label/myswap.swp |
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
| ' Example function call: =BuildHTMLTable(A1:D5) | |
| Public Function BuildHTMLTable(rng As Range) As String | |
| ' Given a Range of Cells, build a Bootstrap HTML table, using the formatting | |
| ' specified in the Excel cells. If "header" is specified to equal true, assumes | |
| ' the first row in the table is a header row. | |
| Dim last_r As Long: last_r = rng.Cells(1, 1).Row | |
| Dim tds As New Collection | |
| Dim txt As String | |
| Dim isFirstRow As Boolean: isFirstRow = True |