lxc init ubuntu:24.04 -c security.nesting=true android-emulator
lxc config device add android-emulator port5555 proxy listen=tcp:10.0.0.1:5555 connect=tcp:127.0.0.1:5555
lxc config device add android-emulator kvm unix-char source=/dev/kvm
lxc config device add android-emulator vhost-net unix-char source=/dev/vhost-net
lxc config device add android-emulator vhost-vsock unix-char source=/dev/vhost-vsock
lxc start android-emulator
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/env python | |
| import json | |
| import requests | |
| import urllib3 | |
| urllib3.disable_warnings() | |
| cookie = open("cookie.txt").readline().strip() | |
| csrf_token = [x.split("=") for x in cookie.split(";") if "csrf" in x][0][1] |
NOTE: I want disclaimer that this work is not complete mine. Most of the work here is comming from: https://dhwaneetbhatt.com/blog/run-docker-without-docker-desktop-on-macos
$ brew doctor
$ brew update
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
| blueprint: | |
| name: Create Group | |
| description: | | |
| # Create Group Blueprint | |
| This blueprint creates a group with either static or dynamic members. | |
| It has two main functions to add members | |
| - Dynamically include multiple members based on a common string in their object ID's. (```Dynamic Include List```) | |
| - Or statically add individual members. (```Static Entities To Add```) |
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
| esphome: | |
| name: led_strip_1 | |
| platform: ESP8266 | |
| board: esp8285 | |
| includes: | |
| - custom_components/sonoff_l1.h | |
| wifi: | |
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
| using System; | |
| using System.Threading; | |
| using WFICALib; | |
| class Program | |
| { | |
| public static AutoResetEvent onLogonResetEvent = null; | |
| /// This program demo's the basic of launching and ICO session from within an application. | |
| static void Main(string[] args) |
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
| nssm install SeleniumHub java -jar C:\Selenium\selenium-server-standalone-2.48.2.jar -role hub | |
| nssm start SeleniumHub | |
| nssm install SeleniumNode1 java -jar C:\Selenium\selenium-server-standalone-2.48.2.jar -role node -hub http://localhost:4444/grid/register -Dwebdriver.chrome.driver=C:\Selenium\chromedriver.exe | |
| nssm set SeleniumNode1 DependOnService SeleniumHub | |
| nssm start SeleniumNode1 | |
| nssm install SeleniumNode2 java -jar C:\Selenium\selenium-server-standalone-2.48.2.jar -role node -hub http://localhost:4444/grid/register -Dwebdriver.chrome.driver=C:\Selenium\chromedriver.exe | |
| nssm set SeleniumNode2 DependOnService SeleniumHub | |
| nssm start SeleniumNode2 |
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
| @echo off | |
| powershell.exe -executionpolicy unrestricted -command "%~dp0\selenium_node_install.ps1 -nodes ie -hub 192.168.1.1" | |
| REM powershell.exe -executionpolicy unrestricted -command "%~dp0\selenium_node_install.ps1 -nodes ie,chrome -hub 192.168.1.1" | |
| REM powershell.exe -executionpolicy unrestricted -command "%~dp0\selenium_node_install.ps1 -nodes ie,chrome,firefox -hub 192.168.1.1" | |
| pause |