- Create a new user with administrator permissions
- Sign out of the current user and sign in as the newly created user
- Navigate to
C:\Users
in File Explorer - Click into the account you want move AppData from
- There could be a popup telling you that you need to allow yourself to access that user's data, do so
- Cut the AppData folder
- If invisible, go to View and check Hidden Items
- Paste in the desired location
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
title Windows Activation Script | |
setlocal EnableDelayedEXpansion | |
::echo Note: To eXecute this script with Run As Administrator | |
net session >nul 2>&1 | |
if %errorlevel% == 0 ( | |
::echo Success: Administrative permissions confirmed. | |
call :Main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo select disk 0 > diskpart%ID%.txt | |
echo clean >> diskpart%ID%.txt | |
echo ** Creating system reserved partition... | |
echo create partition primary size=500 >> diskpart%ID%.txt | |
echo select partition 1 >> diskpart%ID%.txt | |
echo active >> diskpart%ID%.txt | |
echo format quick fs=ntfs >> diskpart%ID%.txt | |
echo assign letter="r" >> diskpart%ID%.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<title>Site Title</title> | |
<link rel="stylesheet" href="/assets/css/style.min.css"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This code will use the devpi cache if it can be found | |
# otherwise fail with a few complaints | |
RUN export HOST_IP=$(ip route| awk '/^default/ {print $3}') \ | |
&& mkdir -p ~/.pip \ | |
&& echo [global] >> ~/.pip/pip.conf \ | |
&& echo extra-index-url = http://$HOST_IP:3141/app/dev/+simple >> ~/.pip/pip.conf \ | |
&& echo [install] >> ~/.pip/pip.conf \ | |
&& echo trusted-host = $HOST_IP >> ~/.pip/pip.conf \ | |
&& cat ~/.pip/pip.conf | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Behat\Behat\Event\StepEvent; | |
use Behat\Gherkin\Node\StepNode, | |
Behat\Gherkin\Node\ScenarioNode, | |
Behat\Gherkin\Node\FeatureNode; | |
use Behat\Mink\Driver\Selenium2Driver; | |
/** |
##Chai Expect
##Language Chains
- to
- be
- been
- is
- that
- and
- have
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Supported browsers | |
# | |
modern_browser gecko 1.9; | |
# note that Safari related directives match | |
# Chrome, Mobile Safari, Palm Pre and other WebKit-based browsers here, too, thanks | |
# to all of them using almost identical User-Agent strings | |
modern_browser safari 3.0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
"""Functions to convert IPv4 address to integer and vice-versa. | |
Written by Christian Stigen Larsen, http://csl.sublevel3.org | |
Placed in the public domain by the author, 2012-01-11 | |
Example usage: | |
$ ./ipv4 192.168.0.1 3232235521 | |
192.168.0.1 ==> 3232235521 |
NewerOlder