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
| Copyright 2026 Thiago de Arruda Padilha | |
| Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
| The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
| THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
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
| // We require the Hardhat Runtime Environment explicitly here. This is optional | |
| // but useful for running the script in a standalone fashion through `node <script>`. | |
| // | |
| // When running the script with `hardhat run <script>` you'll find the Hardhat | |
| // Runtime Environment's members available in the global scope. | |
| const hre = require("hardhat"); | |
| async function main() { | |
| // Hardhat always runs the compile task when running scripts with its command | |
| // line interface. |
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
| node_modules | |
| downloads | |
| crashes |
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
| # Necessary to prevent random host freeze. For more details, see: | |
| # https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1849720/comments/65 | |
| seccomp_sandbox = 0 |
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
| commit 6defd383ae86a65a4cdcc8ec47f4aabf7aac69a6 | |
| Author: Thiago Padilha <thiagopadilha@cloud.upwork.com> | |
| Date: Fri Oct 16 19:10:26 2020 -0300 | |
| OTA-10843: Implement URL patterns for intercept*Protocol | |
| By passing an array of URL patterns (same syntax as webRequest), it is now | |
| possible to filter which URLs are passed to intercept*Protocol handlers. | |
| diff --git a/shell/browser/api/electron_api_protocol_ns.cc b/shell/browser/api/electron_api_protocol_ns.cc |
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
| import asyncio | |
| import collections | |
| import mpack | |
| class ErrorResponse(BaseException): | |
| pass | |
| class MpackRpcSession(object): | |
| def __init__(self, reader, writer, mpack_session=None): |
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
| <domain type='lxc'> | |
| <name>vpntest</name> | |
| <uuid>ffee008c-ec6b-48ab-af6d-4aba830847a1</uuid> | |
| <memory unit='GiB'>8</memory> <!-- The container can use at most 8G of memory --> | |
| <idmap> | |
| <uid start='0' target='300000' count='65536'/> | |
| <gid start='0' target='300000' count='65536'/> | |
| </idmap> | |
| <os> | |
| <type arch='x86_64'>exe</type> |
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
| <html> | |
| <body> | |
| <webview id="foo" allowpopups sandbox="true" preload="preload-webview.js" src="index.html" style="display:inline-flex; width:640px; height:480px"></webview> | |
| <script type="text/javascript" charset="utf-8"> | |
| </script> | |
| </body> | |
| </html> |
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
| package main | |
| import ( | |
| "io/ioutil" | |
| "os" | |
| "path/filepath" | |
| "regexp" | |
| "strings" | |
| ) |
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
| #!/usr/bin/expect | |
| # Workaround to automatically start unprivileged containers on boot. This is | |
| # required because unprivileged containers only seem to work when started from | |
| # an interactive login session. Reference: https://github.com/lxc/lxc/issues/411#issuecomment-71414916) | |
| # | |
| # This script can be called from the user crontab with the @reboot | |
| # directive(runs once at startup). One way to achieve this is to save this | |
| # script to /home/USER/lxc-autostart.tcl and add the following entry to | |
| # `crontab -e`: |