On the Surface RT, I created a USB recovery drive using the Recovery Drive app. I used a 4GB USB drive and the tool formats the drive and copies the recovery files (uncheck the checkbox for backing up files).
Download a Surface Recovery Image from Microsoft. If you type in your serial number, the site will provide the corresponding image for Windows 8.1.
Extract all the files from the recovery image zip file onto the USB overwriting existing files.
Power off the Surface RT. Insert the USB drive. Press and hold volume down, press the power button to power on, and as soon as you see the Surface logo, release the volume down button. The Surface should boot from the USB and under Advanced Options, you can reset from the drive. Choose to repartition the drive to make sure everything is reset.
This is the point at which if you connect to the network, you will get the Windows Update error. Instead, go through the OOBE but skip connecting to a network.
One of the easiest ways to ensure that ssh-agent
is running is to use keychain
.
To install keychain
, use:
sudo apt install keychain
Then you need to edit your .bashrc
file to include the following line:
eval `keychain -q --eval --agents ssh IDLIST`
Replace IDLIST with the list of identity files in your ~/.ssh
folder.
For example, in my .bashrc
file I have the line:
eval `keychain -q --eval --agents ssh id_rsa id_ed25519`
Now, each time you open a shell, keychain
will check if ssh-agent
is running and if not start it.
One approach would be to rename to something else, then back again with the desired case. However, there is an easier way using the command prompt.
In a command prompt running as Administrator, use the following command:
WMIC computersystem where caption='current_name' rename new_name
I was reading about the latest git security issue
this evening when I realized that upgrading the Windows version of git
using
Chocolatey gave me a much newer version than the
Ubuntu version on WSL.
C:\>git --version
git version 2.30.2.windows.1
I found this description of how to
Install latest Git on Ubuntu-based Linux distributions
by adding a new Personal Package Archive (PPA) to your apt repository list that
tracks the latest version of git
.
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git
Now I have the latest version installed.
$ git --version
git version 2.30.2
I came across an old post with a similar issue on Surface Pro 3. I recall that there have been a variety of SD card issues with SP3 over the years that didn’t crop up with other editions, but I figured this was worth a try.
The change is to switch from the RealTek driver to a generic USB driver as follows:
I only just made this change a few days ago so I will see how it goes, but so far I haven’t had any further disconnects.
]]>The command line needs to be running as Administrator (Win+X, Command Prompt (Admin)).
Now, run the following command:
wmic computersystem where caption='current_pc_name' rename new_pc_name
Replace current_pc_name with your current computer name, and new_pc_name with your desired new computer name.
After running the command, you will need to reboot for the changes to become effective.
To determine the current name of the computer, you can use the following command:
wmic computersystem get caption
Open the Run dialog and type shell:startup
.
[Source: TechJunkie]
]]>It is possible to change the name your Windows PC uses for the Bluetooth device without needing to change the way the PC name is reflected elsewhere. To do this, use Device Manager and navigate to the Bluetooth radio adapter on your PC.
In the Properties for the Bluetooth Radio Adapter, on the Advanced tab, you can edit the name that the PC device appears as over Bluetooth. Here, I was able to change the name from all caps to a single capitalized word so that the headphones will capture the new name and report it out correctly.
]]>The analysis in the post actually addressed the question of whether a consumer could sue a company for failing to post the link, but it did not address who else might have a cause of action.
§1798.150 of the CCPA provides a cause of action for a data breach involving disclosure of a consumer’s personal information because of a business’s failure to implement reasonable security measures. This section allows consumers to sue the business for damages after giving the business notice and a chance to cure the issue if that is possible.
§1798.155 of the CCPA allows the California Attorney General to bring a civil action against a business. This action can be brought for any violation of the CCPA including a failure to post a ‘do not sell my personal information’ link if the business is required to provide one. Just like in the data breach case, businesses have a chance to cure the issue after being notified of a potential violation before an action can be commenced.
Of course, there is a higher chance of being sued under a law that provides a private cause of action, which allows anybody who is injured to sue you, than there is under a public cause of action, which requires a public body such as the state Attorney General to sue you. Government agencies only have so many resources and they need to prioritize where they focus their efforts.
Nevertheless, it seems irresponsible to suggest that a company cannot be sued if they fail to post the required ‘do not sell my personal information’ link. Depending upon the nature of the company, the type of information collected, and the way in which it is being sold, a business might attract the attention of the AG, and the penalties for intentionally violating the CCPA could be large (up to $7,500 per violation, which could be per consumer).
The CCPA comes into effect on January 1, 2020 and businesses that sell personal information should provide a “clear and conspicuous link” titled “Do Not Sell My Personal Information” on the homepage that California consumers will see (see §1798.135).
Disclaimer: the information included here is provided AS IS for discussion purposes only. It may not be completely accurate, may not be applicable in all situations, and should not be acted upon without specific legal advice based on particular situations.
]]>String
objects (see StringPrintableHelper
in wiring/src/spark_wiring_string.cpp), I have written a small
library that allows printing into a simple buffer. This avoids the reallocation of memory that occurs when using the String
class.
The library is available on GitHub and I’ve published it to the Particle
library list so you can add it through the IDE or by use particle library add printable-buffer
using the CLI.