The AWS VPN client sucks and it breaks docker networking. It flips ip_forwarding off when you connect. This script will fix that.
sudo nano /etc/network/if-up.d/tun-up
sudo chmod +x /etc/network/if-up.d/tun-up
| #!/bin/bash | |
| # Run this script with the following command: | |
| # while true; do ./ping_and_trace.sh; sleep 1; done | |
| # Set the host to ping | |
| HOST="1.1.1.1" | |
| PING_COUNT=5 | |
| # Get current time |
| /* | |
| * Inspect the Tabs Outliner window. Run this code in the console. Copy the resulting HTML string. Save to a new HTML file. Done! | |
| */ | |
| var connection = indexedDB.open('TabsOutlinerDB34', 2); | |
| connection.onsuccess = (event) => { | |
| const db = event.target.result; | |
| const transaction = db.transaction(["current_session_snapshot"]); | |
| const objectStore = transaction.objectStore("current_session_snapshot"); | |
| const request = objectStore.get("currentSessionSnapshot"); |
| // Go to https://www.youtube.com/playlist?list=WL and run this in browser console. | |
| var popupContainer = $("ytd-popup-container"); | |
| var videos = $("ytd-playlist-video-list-renderer #contents").getElementsByClassName("ytd-playlist-video-list-renderer") | |
| function removeVideo() { | |
| if (videos.length) { | |
| videos[0].getElementsByTagName("button")[0].click(); | |
| setTimeout(function() { | |
| var dropdown = popupContainer.getElementsByTagName("tp-yt-iron-dropdown"); | |
| console.log(dropdown); | |
| var stringElems = dropdown[0].getElementsByClassName("yt-formatted-string"); |
| root@Anubis:~# smartctl -x /dev/sdc | |
| smartctl 7.1 2019-12-30 r5022 [x86_64-linux-4.19.107-Unraid] (local build) | |
| Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org | |
| === START OF INFORMATION SECTION === | |
| Vendor: SAMSUNG | |
| Product: MZ6ER200HAGM/003 | |
| Revision: DM0L | |
| Compliance: SPC-4 | |
| User Capacity: 200,049,647,616 bytes [200 GB] |
| <?php | |
| use Drupal\Core\Utility\UpdateException; | |
| use Drupal\paragraphs\Entity\Paragraph; | |
| /** | |
| * Convert news,blog,event body field to paragraphs. | |
| */ | |
| function custom_util_post_update_convert_newsblogevent_body(&$sandbox) { |
| <?php | |
| /** | |
| * Implements hook_preprocess_HOOK(). | |
| */ | |
| function my_theme_preprocess_views_view(&$variables) { | |
| $view = $variables['view']; | |
| $variables['breadcrumb_links'] = \Drupal::service('breadcrumb')->build(\Drupal::routeMatch())->getLinks(); | |
| $variables['view_page_urls'] = []; |
| # *** Documentation Links | |
| Documentation list: https://communities.intel.com/community/makers/edison/documentation/content | |
| Edison Guide: https://communities.intel.com/docs/DOC-23158 | |
| Mini Breakout Guide: https://communities.intel.com/docs/DOC-23252 | |
| Mini Breakout Schematic: https://communities.intel.com/docs/DOC-23323 | |
| Mini Breakout BoM: https://communities.intel.com/docs/DOC-23322 | |
| Arduino Breakout Guide: https://communities.intel.com/docs/DOC-23161 | |
| Arduino Breakout Schematic: https://communities.intel.com/docs/DOC-23309 | |
| Arduino Breakout BoM: https://communities.intel.com/docs/DOC-23308 | |
| BSP Guide (yocto build environment): https://communities.intel.com/docs/DOC-23159 |
I hereby claim:
To claim this, I am signing this object: