Yes, I did.
The Who Likes You page SUCKS to manage.
Yes, I did.
The Who Likes You page SUCKS to manage.
{"name":"mainLoop","projectname":"Browser","objectlist":[{"class":"ImageButton","resource-id":"softkey%253A%252Fcalltest","codegen":"","varname":"callTest_1","objecttable-uuid":"1633f19c-b6c2-4c3b-c1e0-40644a7155c4","action":"codegen","uititle":"ImageButton%250Asoftkey%253A%252Fcalltest","uinameinfo":"%253Csoftkey%253A%252Fcalltest%253E","actiontype":"script","calltestloop":"1","calltest":"startTest","loadfromsavedobject":true}],"objectindex":0} |
{"name":"Browser_05_01_04_01","objectlist":[{"class":"ImageButton","resource-id":"softkey%3A%2Fscriptaction","codegen":"logStartTest(%22Browser_05_01_04_01%22)","varname":"scriptAction_2","objecttable-uuid":"cacb6879-6171-492d-d041-99bbf64e28c2","action":"click","uititle":"ImageButton%0Asoftkey%3A%2Fscriptaction","uinameinfo":"%3Csoftkey%3A%2Fscriptaction%3E","actiontype":"script","randomexec":"100","waittime":"0s","loadfromsavedobject":true},{"class":"ImageButton","resource-id":"softkey%3A%2Fgotoapp","codegen":"","varname":"gotoApp_2","objecttable-uuid":"ec8c2cb5-005c-4189-c656-6b608778077e","action":"codegen","uititle":"ImageButton%0Asoftkey%3A%2Fgotoapp","uinameinfo":"%3Csoftkey%3A%2Fgotoapp%3E","actiontype":"script","randomexec":"100","waittime":"0s","inputtext":"Chrome","loadfromsavedobject":true},{"parentid":9223372032559809000,"sourcenodeid":9223372032559809000,"windowid":320,"index":2,"classname":"Button","class":"Button","text":"Accept%20%20continue","parentpathid":-119906854,"objectid":-731197748,"s |
This a collection of notes and files used in my quest to create "Reboot to Windows" and "Reboot to Linux" scripts (and desktop shortcuts) for Linux and Windows respectively that automatically reboot my system and instruct rEFInd to auto-select the appropriate OS entry.
The key for achieving this is to modify the EFI Variable PreviousBoot
with GUID 36d08fa7-cf0b-42f5-8f14-68df73ed3740
, which rEFInd uses to store the last entry selected in the menu and, if using the +
default entry, will be used to select the default OS. By doing this, we trick rEFInd into booting the OS we choose without having to be physically there to press the keyboard.
[ Launch: flying-fuck ] 81aad5e022afb282802c by ptvans[ Launch: flying-fuck ] 6ebeff7f7dbf98474afa by ptvans[ Launch: flying-fuck ] e8ae6baa035b7c5c6423 by ptvans[ Launch: test ] 4653053 by enjalot[ Launch: test ] 4652017 by enjalot[ Launch: test ] 4582399 by enjalot
# PowerShell script to disable Windows power management on all currently connected serial ports, including USB adapters | |
# In simpler terms, it prevents Windows from turning off connected serial devices to save power. | |
# Equivalent to right-clicking on a serial port device in Device Manager > Properties > "Power Management" Tab > Unchecking "Allow the computer to turn off this device to save power." | |
$hubs = Get-CimInstance -ClassName Win32_SerialPort | Select-Object Name, DeviceID, Description | |
$powerMgmt = Get-CimInstance -ClassName MSPower_DeviceEnable -Namespace root\wmi | |
foreach ($p in $powerMgmt) { | |
$IN = $p.InstanceName.ToUpper() | |
foreach ($h in $hubs) { |
var db = mongoose.connect('mongodb://localhost:27017/DB'); | |
// In middleware | |
app.use(function (req, res, next) { | |
// action after response | |
var afterResponse = function() { | |
logger.info({req: req}, "End request"); | |
// any other clean ups |
/* | |
* Play duo melody with Arduino | |
* ============================ | |
* | |
* Description: | |
* This sketch simultaneously plays two separate melodies on two (passive) | |
* speakers or buzzers. This creates effect of a "choir". | |
* For simplicity, it uses function play2Tones(), which only plays two notes | |
* of equal duration simultaneosly. | |
* The actual melody here is the Anthem of Ukraine. |
//added to git | |
// chrome.windows.getAll({}, function (winArr) { | |
// // print(winArr) | |
// for (var win of winArr) { | |
// SinWave(win); | |
// } | |
// }); | |
// function SinWave(win) { |
allprojects { | |
afterEvaluate { | |
// Global KAPT flags applied to all projects. | |
extensions.findByType<KaptExtension>()?.apply { | |
// Do not replace unknown types (including types for the generated classes) by NonExistentClass. | |
correctErrorTypes = true | |
// Provide links to locations in the original Kotlin code rather than generated Java stubs | |
// as it reports errors encountered during annotation processing. |