Symbolic links under Windows 7…
…are possible! All you need to do is to use mklink
program:
[code language=”shell”]
mklink /d "D:\Photos" "\\SERVER\Photos\Family\Dad"
[/code]
…are possible! All you need to do is to use mklink
program:
[code language=”shell”]
mklink /d "D:\Photos" "\\SERVER\Photos\Family\Dad"
[/code]
After installing Service Pack 1 over your Windows 7 (or some other update “around”) you may find, that some of your folders has now a strange name. This happen mostly in non-English versions of Windows 7.
To fix this problem, turn displaying of hidden files on, locate desktop.ini
file, edit it and remove LocalizedResourceName
key from it or delete entire desktop.ini
file at all.
There are two ways of resetting (not: restarting) QNAP TS-210 — basic and advanced method. This article discusses both of them along with implications on your QNAP after each type of reset.
Here is just a bunch of Yii forum topics, that talks various approaches to make Yii application serve Rapidshare-like routes, i.e. URLs without action (with just the controller) or without both controller and action:
That’s just a memo for me and a start point for future reading, nothing else.
It is a simple example how to call AJAX request right as page loads, not requiring user to do any action. This examples correctly handles both expected result and AJAX error and puts it into selected element.
Yii is automatically publishing core scripts (i.e. jQuery and some others) with each generated page. You may include following piece of code in your application configuration to disable this behavior:
'components' => array( 'clientScript' => array( 'scriptMap' => array( 'jquery.js' => false, ), ), )
Refer to Yii API manual, CClientScript::scriptMap
section, for more details.
If you want to display HTTP 403 error (instead of files list) for folder, where there is no index.html
or index.php
file, then in .htaccess
file you must add following line:
Options -Indexes
This works for current folder and all subfolder (unless .htaccess
file if any of these subfolders will “locally” change this setting).
If found an interesting tip on how to get listing of your folder as text, that you can copy to any document or email, without need to manually write all folder and file names. It requires console window and… Word.
If you don’t know, what WolframAlpha is then consider a Star Trek computer answering your even wildest mathematical and statistical questions. Want to know the population of Far East countries in mid-fifties of XX century? Or statistically how many cities were involved in biggest earthquakes in history?
This and many other questions may be easily solved with WolframAlpha. If you’re still not convinced, then why don’t you take a look at live demo of WA for iPad. Let it convince you!
Windows Program Compatibility Assistant can be a real pain in the ass when you often use programs, scripts or applications that runs just for a second or two and then terminates itself. It can be also painful, when you run some software by a mistake and quickly close it right after starting. In each such scenario you’ll be nagged with a stupid message asking, if you want to run this program again.
To completely disable Program Compatibility Assistant follow these simple steps:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\AppCompat
branchDisablePCA
of dword type and give it 00000001
valueOr… save the following code as a .reg file somewhere:
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\AppCompat] "DisablePCA"=dword:00000001
Then double-click saved file and confirm addition to Windows Registry.
If you ask Google on what is agile software development you’ll find thousands of results. Let’s then turn the table around and say what agile isn’t.
There’s no agile development, if:
And the most important — Agile is not a miracle solution to all your problems! You know:
Agile is not the remedy, the magic cure that will solve all the problems. It will only make them so painfully visible that further ignoring them won’t be possible.
Ken Schwaber, a SCRUM’s co-author
To manually start MySQL server one should call from the console:
[code language=”shell”]
cd d:\Internet\XAMPP Lite\mysql\bin
mysql.exe –user=me –password=thepass123 –database=test
[/code]
This is just a memo-reminder for me, as this is an obvious knowledge to most of you.
I’ve found a simple and cool JavaScript counter that is able to count current human population and it’s increase every second.
It:
In this particular (very old — year 1995) example result is printed into form’s text box. With a simple modifications you can have this turned into a actual JavaScript function to return result.
Read More “Human population counter”The quirksmode.org page has an article on creating, reading and removing cookies in pure Javascript. This blog post presents example codes from mentioned site. Just the pure codes, without a lot of blah-blah that original post contains.
The magic word is Admin.{ED7BA470-8E54-465E-825C-99712043E01C}
.
Create a new folder in any folder you like (make it root folder on your first drive or deeply hidden secret dir) and use exactly above string as folder’s name. Folder’s icon will change to confirm that you’ve succeeded.
Double clicking this folder — instead of showing contents of empty directory — will give you an access to a really impressive list of shortcuts to most powerful and hidden features of Windows 7.
Happy hacking, folks!
This article discusses using of ternary operator, a very usful yet not so famous, logic operator (if
counterpart) in Javascript, PHP and… Delphi. Alright, alright. Since Delphi sucks, it is only mentioned here.
Read More “Ternary operator in Javascript, PHP and in Delphi”
When installing Windows XP Professional on FujitsuSiemens AmiloPro V2060 laptop in most cases it will turn out, that the hard disk is not found. This is because many Windows XP Installation CDs do not contain drivers for the Intel SATA HDD support, that is available in AmiloPro family of FujitsuSiemens laptops. This article may help in this situation.
A lot of people uses the same notebook to access Internet from many places or networks. For example from home and office. If all these networks are using DHCP-assigned IP addresses and network parameters or if you’re using different medium (i.e. One at home, wireless at work) then there is no problem. However, if both networks uses static parameters over the same medium, then the only option you’re left is manually changing network parameters, as Windows does not allow you to create more than one connection for single hardware (network medium). Hopefully, you can easy your life with a set of simple batch scripts.
Read More “Quickly switching network connection in Windows XP”
WordPress by definition performs automatic saves of each post being currently edited and also, for each post update, it creates a revision. This enlarges database and sometimes can make life a little bit harder, because both WordPress and browser can get a little bit wako on any of these mechanisms. So, here is a quick way of disabling these features.
This post is based on Revision Management in Wrodpress Codex. Refer to it for details.
To redirect user to another page directly in browser (without using server-side and HTTP error codes) one just have to add this to <head>
section of HTML document:
<meta http-equiv="refresh" content="x; url=http://.../strona.html"/>
This is just to remind me, what to use in this case. Nothing more.
This extremely simple piece of CSS style / code:
@media print { body { display: none; } }
will completely prevent printing of your webpage or HTML file. No matter what browser or “trick” will your user use, as long as give piece of software supports CSS styles — nothing will be printed.
In very short words steganography is a method or technique to hide some message within another message or other kind of media (like image, painting, sound etc.). The masquerade is so subtle that person not expecting to find a hidden message won’t notice anything.
With the IT era possibilities are getting bigger and bigger. You can change just a one bit of each byte in i.e. image to store (encode) hidden images and the viewer won’t notice any difference in most cases. In the same, the size of encoded image is really impressive. You can store around 175 thousand letters (or seventeen thousand typical words) in a single 800×600 pixels image!
This article describes how to write a simple Delphi / Pascal code as an example of steganography — to encode (and decode) some mysterious text message within simple bitmap.
Read More “A very introduction to steganography”