Monitor Calibration Images | 2014-02-24 14:02 |
---|
These images might be useful to anyone who wanted to calibrate their monitor using a reference image.
They are listed below as follows from here.
Brightness/Gamma/Contrast Calibration Image 
Help image to calibrate lcd monitor Sharpness (1366x768 px screen)
Read More...
|
Update on Xubuntu livecd: Internet Bugs | 2013-07-20 22:27 |
---|
After a quite time I tried to remake the Ubuntu Linux Live CD according to the guide I posted before. After some digging I finally noticed the file /etc/resolf.conf didn't get created after livecd booted up. As in the picture above, /etc/resolv.conf gets recreated by typing sudo dhclient eth0 in the console but some problems may still be there.Reference on similar bug here: https://bugs.launchpad.net/relinux/+bug/1045757
Edit: This can fixed removing the /etc/resolv.conf if it exists before making the cd, and making a sym-linking in the chroot environment to other file as shown below. Quote: |
---|
ln -nsf ../run/resolvconf/resolv.conf /etc/resolv.conf |
|
Blinker with two transistors | 2012-11-27 18:28 |
---|
|
Power supply without stabilization | 2012-11-27 18:22 |
---|
Components:
D1-D4: Rectifier diodes (solid state)
C1: Electrolytic capacitor (1000 µF or larger capacity, 16 V)
T1: Transformer with secondary coil voltage up to 9-12 V
Read More...
|
Capacitor tester | 2012-11-27 17:52 |
---|

You can check many capacitors with a handy tool creaded from this schematic. |
[PHP] Curl: Get contents of a remote file and output it to browser | 2012-10-05 14:13 |
---|
Using this script you can get a file to server and send it to the browser.Quote: |
---|
<?php
//get the file (e.g. image) and output it to the browser
$ch = curl_init(); //open curl handle
curl_setopt($ch, CURLOPT_URL, $_GET['url']); //set an url
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //do not output directly, use variable
curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1); //do a binary transfer
curl_setopt($ch, CURLOPT_FAILONERROR, 1); //stop if an error occurred
$file=curl_exec($ch); //store the content in variable
if(!curl_errno($ch))
{
//send out headers and output
header ("Content-Type: ".curl_getinfo($ch, CURLINFO_CONTENT_TYPE)."");
header ("Content-Length: ".curl_getinfo($ch, CURLINFO_CONTENT_LENGTH_DOWNLOAD)."");
echo $file;
} else echo 'Curl error: ' . curl_error($ch);
curl_close($ch); //close curl handle
?> |
|
Warm Days | 2011-07-17 12:53 |
---|
In recent days you'd probably seen a quite high temperatures outside the window. At least in the city where I'm living it was surely hot.
But that's not a problem. There're alot of ways to spend time at home, more even when internet is fast and capable enough.
Alot of things can be found on Youtube and DeviantArt, and using Google more stuff could be found.
More content I'll probably add later, so that blog and the site would not feel abandoned after a some time. |
Enabling Virtual Memory in BartPE with XPE Plugin | 2011-07-03 16:02 |
---|
Some may ask What is BartPE... It's a Windows LiveCD that's based on Windows PE built with a program called PeBuilder.
If you got a PE Builder, get a plugin called XPE to get explorer shell, (you may also nead other plugins for other programs you may use). For XPE, look into http://oss.netfarm.it/winpe/
Once you built BartPE (with XPE included) you will see a desktop environment very similar to preinstalled windows (screenshot below).

Read More...
|
Using TweakUI to disable autorun on Flash Drives | 2011-06-28 13:30 |
---|
To disable autorun on certain types of removable drives, You nead to get a TweakUI freeware utility from Microsoft.
When you start this program goto Section [Program tweak list]=>[My Computer]=>[Autoplay]=>[Types] and uncheck to disable certain options for added security...

For more tips look in other blog posts or visit later... |
[C++] Adding a program to Startup | 2011-06-16 16:10 |
---|
A nice c++ example how to add a program to startup is here. All you nead to add this to your code. it utilizes windows api btw. The example is below.Quote: |
---|
HKEY hkey;
char szBuf[] = "C:\\Windows\\notepad.exe";
RegOpenKeyEx(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\Currentversion\\Run", 0, KEY_SET_VALUE, &hkey);
RegSetValueEx (hkey, "notepad.exe", 0, REG_SZ, (LPBYTE) szBuf, strlen(szBuf) + 1);
RegCloseKey(hkey); | full code below.
http://pastebin.com/LSHzGJE6 |
Add a Comment