Vikram's Web Archive

Icon

Since interestingness isn't a search option…

Offline files save to alternate partition

This can be done through a Directory Junction which can redirect to a new location of offline files.
The Offline Files are stored in the folder %SystemRoot%\CSC (which usually is C:\Windows\CSC or a different drive letter in place of C). First, create a folder on a partition with large space and give it an informative name, say, D:\Offline Folders as a suggestion.
You need to delete the existing folder and create a junction in its place. For this, boot into Safe Mode as an administrator and delete the CSC contents and folder.
del /s /q %SystemRoot%\CSC should to the job.
Having created the new location folder, and deleting the existing CSC folder, now is time to create a Directory Junction for CSC folder with the following command:
mklink /J %SystemRoot%\CSC
for example: mklink /J C:\Windows\CSC “D:\Offline Files”
Now, whatever is meant for location %SystemRoot%\CSC gets directed to the new location.
I hope this helps.
Note: The quote marks in “D:\Offline Files” were required because of a space character in the folder name, otherwise not necessary.

[From: Offline files save to alternate partition]

SafeMSI lets you install and remove apps in Safe Mode

SafeMSI lets you install and remove apps in Safe Mode.

Sony Vaio Z i5/i7 Official Owners Thread – Page 599

Sony Vaio Z i5/i7 Official Owners Thread – Page 599.

Deleting hard to delete folders and files

From an elevated command prompt, execute the following commands:

> TAKEOWN /F [Directory Name] /R

> ICACLS [Directory Name] /grant Administrators:F

Fixed: “The URI you submitted has disallowed characters.” error CodeIgniter | DavidMichaelThompson

I started up a development project today after upgrading to snow leopard, and none of the codeigniter links worked. they all said “The URI you submitted has disallowed characters.” Why? This hadnt happened before, same project what changed?

Snow leopard upgraded my php dev environment to 5.3 from 5.2.6 And a few things have changed since then. Namely php bug #47229 “preg_quote should escape “-” (minus) as well” was fixed. (technically in 5.2.8) CodeIgniter checks uri for allowed characters to prevent some bad things. But the use preg_quote to convert the allowed list of character to something usable in a regular expression. Now the minus “-”, or I’d call it a dash (but I know there is a longer character for that) gets escaped in preg_quote with a backslash “\”. That cause the expression “a-z 0-9? to be converted to “a\-z 0\-9? which will not work in a regex.

Note we removed the preg_quote().  Now in your system/application/config/config.php file  look for line 126 (unless you’ve added a lot to you config will be around there somewhere)

Change the line

$config['permitted_uri_chars'] = 'a-z 0-9~%.:_-';

to:

$config['permitted_uri_chars'] = 'a-z 0-9~%\.\:_\-';

we’re now preparing our allowed character string in the config file and skipping preg_quote.  And that’s it.  Now your uri should work

via Fixed: “The URI you submitted has disallowed characters.” error CodeIgniter | DavidMichaelThompson.

No hibernation on Windows 7 when booting from VHD

Native VHD boot in this release does not support BitLocker, or hibernation which includes resuming from hibernate.

via No hibernation on Windows 7 when booting from VHD.

Categories

Most Commented

Photo Stream

Dystopia (an excerpt)Working on Haitian Creole MT engineProfileUncle and Li'l TerrorprofilepicIMG_4902

Translate

 

Now Reading

Planned books:

Current books:

  • The Wisdom of Crowds

    The Wisdom of Crowds by James Surowiecki

Recent books:

None

View full Library