5dcf243
5dcf243
5DCF243
8 posts
Don't wanna be here? Send us removal request.
5dcf243 · 8 years ago
Text
Datally vs. Mobile Hotspot
Google’s “Datally” app for Android operates a VPN within the device*, which interferes with the OS’s Mobile Hotspot feature.
(At least with my factory-unlocked HTC One A9 running Android 7.0 on AT&T’s LTE network.)
I was able to turn on Mobile Hotspot in the device’s Settings, but a client device was unable to obtain an IP address when connecting to that WiFi network.  Turning off Datally’s “Data Saver” feature (and probably restarting the mobile hotspot) allowed the client device to obtain an IP address and use the Internet.
* The purpose of the VPN is to filter traffic on the mobile network, to block apps chosen by the user from consuming mobile data.
0 notes
5dcf243 · 8 years ago
Text
Note to Self
C++ Special Member Functions
And how to suppress their generation, C++11-style:
class Thing { // “By convention, deleted functions are declared public, not private.” --Meyers public:     // copy constructor     Thing(const Thing&) = delete;     // copy assignment operator     Thing& operator=(const Thing&) = delete;     // move constructor     Thing(Thing&&) = delete;     // move assignment operator     Thing& operator=(Thing&&) = delete;     // default constructor, generated if there are no other constructors     Thing() = delete; // delete to prevent instantiation?     // destructor     ~Thing(); // any reason to delete? };
0 notes
5dcf243 · 9 years ago
Text
In a 3rd-generation Toyota 4Runner, the illumination for the instrument cluster, climate controls, audio controls, ashtray and cigarette lighter are on the taillight circuit.  So if they go dark, your taillights are probably out also, and the fuse to check is that labeled “tail” in the fuse box under the hood, not the one labeled “gauge” in the fuse bank in the driver-side footwell.
0 notes
5dcf243 · 9 years ago
Text
Changing idl tag in stackoverflow
idl → idl-programming-language
The [tag:idl] tag is for Interface Description Language. This question appears related to Interactive Data Language ([tag:idl-programming-language]).
0 notes
5dcf243 · 9 years ago
Text
Vertical Ellipsis (save for cut-n-paste):
 ⋮
0 notes
5dcf243 · 9 years ago
Text
How to view log files in Windows Explorer preview pane
Credit to http://ivan.dretvic.com/2011/02/how-to-view-log-files-in-windows-explorer-preview-pane/
Make registry entry:
[HKEY_CLASSES_ROOT\\.log] @="txtfile" "Content Type"="text/plain" "PerceivedType"="text"
0 notes
5dcf243 · 12 years ago
Text
PowerShell uuidgen function
Function uuidgen { [Guid]::NewGuid().ToString() }
You could put this in an all-users (shared) config script / profile, to make it conveniently available.
0 notes
5dcf243 · 12 years ago
Text
How to run Explorer elevated in Win7
In Windows 7, when you try to run a new instance of Windows Explorer "as administrator", or as a child of an elevated command-prompt, it launches an instance of Explorer as a DCOM server, which is configured in the registry to run as the "Interactive User". Interactive User means the same credentials and integrity level as the desktop instance of Explorer, which is Medium if UAC is enabled; therefore the new instance (DCOM server) of Explorer does not run elevated:
Tumblr media
CLSID:
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{75dff2b7-6936-4c06-a8bb-676a7b00b24b}] @="CLSID_SeparateMultipleProcessExplorerHost" "SingleUse"="" "AppId"="{CDCBCFCA-3CDC-436f-A4E2-0E02075250C2}" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{75dff2b7-6936-4c06-a8bb-676a7b00b24b}\LocalServer32] @="%SystemRoot%\explorer.exe /factory,{75dff2b7-6936-4c06-a8bb-676a7b00b24b}"
AppID:
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{CDCBCFCA-3CDC-436f-A4E2-0E02075250C2}] @="Elevated-Unelevated Explorer Factory" "RunAs"="Interactive User" "AppIDFlags"=dword:00000001
To make Explorer support running elevated, remove the "RunAs" value for the DCOM server from the above registry key.  (Tip: rename "RunAs" to "_RunAs" so it will no longer be in effect, but it will be easy for you to restore it to its previous behavior later.) (Note: to edit this portion of the registry, you need to run RegEdit elevated.)
Then, Explorer will still run as a DCOM server, but it will run with the integrity level (and presumably user account) of the process that triggered it.
Tumblr media
This will not affect the desktop instance of Windows Explorer, which still runs at Medium, so most of the apps you launch will inherit the Medium integrity.
0 notes