- Pair and connect on Linux
- Pair and connect on Windows
- Shut down Bluetooth device
- Boot to Linux
- Mount Windows partition
- Go to
<windows-mount>/Windows/System32/config
- Run command
chntpw -e SYSTEM
- Install chntpw if it is not available
var mediaJSON = { "categories" : [ { "name" : "Movies", | |
"videos" : [ | |
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ], | |
"subtitle" : "By Blender Foundation", | |
"thumb" : "images/BigBuckBunny.jpg", | |
"title" : "Big Buck Bunny" | |
}, | |
{ "description" : "The first Blender Open Movie from 2006", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ], |
// | |
// utf8.c | |
// training | |
// | |
// Created by Conrad Kleinespel on 5/27/13. | |
// Copyright (c) 2013 Conrad Kleinespel. All rights reserved. | |
// | |
#include <stdio.h> | |
#include <stdlib.h> |
#include <limits> | |
namespace Detail | |
{ | |
double constexpr sqrtNewtonRaphson(double x, double curr, double prev) | |
{ | |
return curr == prev | |
? curr | |
: sqrtNewtonRaphson(x, 0.5 * (curr + x / curr), curr); | |
} |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <assert.h> | |
#include <time.h> | |
#include <math.h> | |
#define r 10 | |
// ---------------------------------------------------------------------- | |
// ------------------------- DEQUE CLASS -------------------------------- | |
// ---------------------------------------------------------------------- |
@ECHO OFF & :: ANSI-COLOR :: Authored by Ryan Beesley :: https://github.com/rbeesley | |
GOTO :DEFINE_MACROS | |
%=- Entry point after macro definitions -=% | |
:MAIN | |
SETLOCAL ENABLEDELAYEDEXPANSION | |
CALL :PARSE_ARGS %1 %2 %3 %4 %5 %6 %7 %8 %9 | |
:: Error when parsing | |
IF ERRORLEVEL 1 %@exit% %ERRORLEVEL% | |
:: Parsing success |
__wt_osc9_9 () { | |
_win_path=$(wslpath -m $(pwd)) | |
printf "\033]9;9;%s\033\\" "$_win_path" | |
} | |
[ -n "$BASH_VERSION" ] && [ -n "$WT_SESSION" ] && PROMPT_COMMAND="__wt_osc9_9" | |
[ -n "$ZSH_VERSION" ] && [ -n "$WT_SESSION" ] && precmd_functions+=(__wt_osc9_9) | |
true |
function prompt { | |
$p = $($executionContext.SessionState.Path.CurrentLocation) | |
$converted_path = Convert-Path $p | |
$ansi_escape = [char]27 | |
"PS $p$('>' * ($nestedPromptLevel + 1)) "; | |
Write-Host "$ansi_escape]9;9;$converted_path$ansi_escape\" | |
} |
__wt_osc7 () { | |
_win_path="$(cygpath -m $(pwd))" | |
printf "\033]7;file://%s/%s\033\\" "$HOSTNAME" "$_win_path" | |
} | |
[ -n "$BASH_VERSION" ] && [ -n "$WT_SESSION" ] && PROMPT_COMMAND="__wt_osc7" |