# Edit VM/LXC Configuration located at /etc/pve/lxc/XXX.conf
echo "lxc.cgroup.devices.allow: c 10:200 rwm" >> /etc/pve/lxc/XXX.conf
echo "lxc.mount.entry: /dev/net dev/net none bind,create=dir" >> /etc/pve/lxc/XXX.conf
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
| // postman-visualizer-filter-jsonpath | |
| // INFO: The postman Visualizer feature allows response data to be displayed in a number of different ways. Pulling in external modules expands the capability even further. This demonstrates how you can use the jsonpath package, in the Visualize tab, to filter the response JSON data returned in your requests. | |
| // USAGE: Add this code as a part of pre-req or tests for your postman request | |
| // REF: https://www.postman.com/postman/workspace/postman-team-collections/request/1794236-b1c1129a-217b-4b47-8f7c-743dfd896dc4 | |
| // REF: https://community.postman.com/t/how-to-filter-response-based-on-specific-custom-field/11026/2 | |
| let template = ` | |
| <html> | |
| <head> | |
| <script src="https://cdn.jsdelivr.net/npm/[email protected]/jsonpath.min.js"></script> |
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
| // postman-visualizer-filter-xpath | |
| // INFO: The postman Visualizer feature allows response data to be displayed in a number of different ways. Pulling in external modules expands the capability even further. In the Visualize tab, to filter the response XML data returned in your requests. | |
| // USAGE: Add this code as a part of pre-req or tests for your postman request | |
| // REF: https://www.postman.com/odevodyssey/workspace/dev-odyssey-s-public-workspace/collection/7889102-cea7586b-169e-4372-895b-9e2e4ad8428f | |
| // REF: https://community.postman.com/t/visualizer-and-xml/9969 | |
| let template = ` | |
| <html> | |
| <head> | |
| <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script> |
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
| ; | |
| ; +-----------------------------------------------------------------------------+ | |
| ; | AHK Starter Template - mark05e | | |
| ; +-----------------------------------------------------------------------------+ | |
| ; | Change Log: | | |
| ; | 1 - Initial Commit | | |
| ; +-----------------------------------------------------------------------------+ | |
| ; | |
| #NoEnv ; Recommended for performance. |
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
| ; Autohotkey sample to show how to draw a box on screen | |
| ; https://www.autohotkey.com/boards/viewtopic.php?t=25520 | |
| #Persistent | |
| global border_thickness = 10 | |
| global border_color = FF0000 | |
| ; ctrl + 1 | |
| ^1::Rect_Draw(100,100,100,100) | |
| return |
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
| ; Dial A Number using RingCentral Desktop - mark05e | |
| ; ref: https://support.ringcentral.com/app/message/desktop-web/use-keyboard-shortcuts-ringcentral-app.html | |
| ; ref: https://www.reddit.com/r/AutoHotkey/comments/s3oxd0/comment/hsmlffe/ | |
| ; ref: https://gist.github.com/tdalon/84d9caea0368ab0420b81363c2048705 | |
| if A_Args[1] = "" | |
| { | |
| NumberToDial := 18337943556 ; https://www.canada.ca/en/environment-climate-change/services/weather-general-tools-resources/telephone-services/recorded-observations-forecasts.html | |
| } else { | |
| NumberToDial := A_Args[1] |
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
| maskString(inputString){ | |
| ; Initialize variables | |
| returnString := "" | |
| maxCharacters := 10 | |
| ; get first 3 char | |
| firstThreeChar := SubStr(inputString, 1, 3) | |
| ; get last 3 char | |
| lastThreeChar := SubStr(inputString, -2, 3) |
Example: https://www.bbc.co.uk/sounds/play/m001cvcj
-
Open DevTools F12
-
Start stream
-
Select network traffic that has mpd and copy link eg: https://aod-dash-ww-live.akamaized.net/usp/auth/vod/piff_abr_full_audio/6403c7-m001cvch/vf_m001cvch_ce14b6c7-98a9-45d7-8ff9-599177ec6366.ism/pc_hd_abr_v2_nonuk_dash_master.mpd?__gda__=1666731595_111116da9dca2edec0f1212121212121
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
| // original: https://stackoverflow.com/questions/9905533/convert-excel-column-alphabet-e-g-aa-to-number-e-g-25 | |
| // updated: https://gist.github.com/mark05e/29bb2b7564460059da6d3e74f08ab31f | |
| function find(value, range) { | |
| var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
| var sheet = range.split("!")[0]; | |
| var A1Ref = range.split("!")[1]; | |
| var [cellStart, cellEnd] = A1Ref.split(":") | |
| var rowStartNumber = Number(cellStart.replace(/[^0-9]/g,'')) | |
| var rowEndNumber = Number(cellEnd.replace(/[^0-9]/g,'')) |
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
| BEGIN:VCALENDAR | |
| VERSION:2.0 | |
| PRODID:-//ical.marudot.com//iCal Event Maker | |
| CALSCALE:GREGORIAN | |
| BEGIN:VEVENT | |
| DTSTAMP:20221104T170057Z | |
| UID:[email protected] | |
| DTSTART:20221108T083000Z | |
| DTEND:20221108T090000Z | |
| SUMMARY:Arrive |