Skip to content

Instantly share code, notes, and snippets.

View kronflux's full-sized avatar
🦜

Richard M kronflux

🦜
  • Edmonton, AB. Canada
View GitHub Profile
@kronflux
kronflux / ngx_pagespeed.cc
Created August 17, 2017 20:37
modified ngx_pagespeed.cc
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@kronflux
kronflux / install_mineos-node
Last active February 10, 2019 13:42 — forked from hexparrot/install_mineos-node
Downloads, installs and configures components required for the MineOS Web User Interface on rpm based systems using systemd.
#!/bin/sh
# update repositories
yum update -y
yum upgrade -y
# download the necessary prerequisite components for mineos
yum install -y epel-release
curl -sL https://rpm.nodesource.com/setup_11.x | bash -
@kronflux
kronflux / w10_CustomStartMenuLayout.xml
Created May 21, 2019 03:09
Custom Start Menu Layout
<LayoutModificationTemplate xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout" Version="1" xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification">
<LayoutOptions StartTileGroupCellWidth="6" />
<DefaultLayoutOverride>
<StartLayoutCollection>
<defaultlayout:StartLayout GroupCellWidth="6">
<start:Group Name="System">
<start:DesktopApplicationTile Size="2x2" Column="2" Row="4" DesktopApplicationID="::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{17CD9488-1228-4B2F-88CE-4298E93E0966}" />
<start:DesktopApplicationTile Size="2x2" Column="0" Row="0" DesktopApplicationID="Microsoft.Windows.Computer" />
<start:DesktopApplicationTile Size="2x2" Column="0" Row="2" DesktopApplicationID="Microsoft.Windows.ControlPanel" />
<start:DesktopApplicationTile Size="2x2" Column="0" Row="4" DesktopApplicationID="::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{8E908FC9-BE
@kronflux
kronflux / desktop_restrictions.reg
Created July 1, 2019 06:31 — forked from prashanthrajagopal/desktop_restrictions.reg
Desktop restrictions for windows - very minimal access to users
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop]
"NoChangingWallPaper"=dword:00000001
"NoAddingComponents"=dword:00000001
"NoClosingComponents"=dword:00000001
"NoDeletingComponents"=dword:00000001
"NoEditingComponents"=dword:00000001
# Camera
system_ext/lib64/vendor.qti.hardware.scve.objecttracker@1.0-adapter-helper.so
system_ext/lib64/vendor.qti.hardware.scve.objecttracker@1.0.so
system_ext/lib64/vendor.qti.hardware.scve.panorama@1.0-adapter-helper.so
system_ext/lib64/vendor.qti.hardware.scve.panorama@1.0.so
system_ext/lib64/vendor.qti.hardware.seccam@1.0.so
system_ext/lib/vendor.qti.hardware.camera.device@1.0.so
system_ext/lib/vendor.qti.hardware.scve.objecttracker@1.0-adapter-helper.so
system_ext/lib/vendor.qti.hardware.scve.objecttracker@1.0.so
system_ext/lib/vendor.qti.hardware.scve.panorama@1.0-adapter-helper.so
get_prop(vendor_init, persist_debug_prop)
get_prop(vendor_init, default_prop)
get_prop(hal_nfc_default, default_prop)
get_prop(vendor_dpmd, vendor_default_prop)
get_prop(rild, default_prop)
set_prop(vendor_init, default_prop)
set_prop(hal_param_default, property_socket)
set_prop(vendor_init, vendor_display_notch_prop)
set_prop(hal_fingerprint_default, vendor_default_prop)
2025-03-23 18:54:00.062 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Unexpected error for call_service at pos 1: Expecting value: line 10 column 1 (char 9)
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/requests/models.py", line 974, in json
return complexjson.loads(self.text, **kwargs)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/simplejson/__init__.py", line 514, in loads
return _default_decoder.decode(s)
~~~~~~~~~~~~~~~~~~~~~~~^^^
File "/usr/local/lib/python3.13/site-packages/simplejson/decoder.py", line 386, in decode
obj, end = self.raw_decode(s)