.

Translate this Blog

Traduisez , Übersetzen Sie, Traduca , Traduza , Traduzca , 翻訳しなさい , 번역하다 , 翻译 , يترجم

Saturday, March 25, 2017

Edit the Windows Hosts File to Block or Redirect Websites


The Windows Hosts file is a file that Windows uses to control and map IP addresses. By editing the Hosts file, Windows can be customized to block or redirect specific websites and even protocols that are used by programs and applications.
To get started editing the Windows Hosts file, you first need to locate it. Open Windows Explorer and click on This PC or My Computer. Double-click on C:\, then the Windows folder and scroll down the page until you reach the System32 folder. Inside of that folder, open drivers and then open etc. You’ll now see several files, one of which is hosts.
hosts file
Now, notice that the file type for the hosts file is listed as File. Because there is no default program set to open a file type like this, double clicking the hosts file will simply give you a Windows prompt, asking you which program you would like to use to open the file.
Choose a program prompt - Windows 7
From this prompt, you can choose to edit the hosts file with Notepad. So, simply click to select Notepad and click the OK button. From there, Notepad will launch with the hosts file information.
hosts file notepad
This way of opening the hosts file was demonstrated to show where the hosts file is actually located within Windows, but you won’t be able to edit it because it’s a system file. In order to edit the file, you have to open Notepad first, running as an Administrator.
Click on Start and type in Notepad, but don’t click on Notepad to open it. Rather, right-click the Notepad listing to bring up the context menu. Select the option Run as Administrator.
notepad run as admin
With Notepad open, select File > Open. Navigate to C:\Windows\System32\drivers\etc. You will get a blank screen that displays the prompt No items match your search. Change Text Documents (*.txt) to All Files using the drop down menu. Now, you can select the hosts file and click Open.
open hosts file
Adding files to the hosts file is very simple. The hosts file uses the format:
IP Address   exampledomain.com
Blocking a website in Windows is as simple as typing the following into the bottom of the hosts file:
127.0.0.1    www.exampledomain.com
So, if I wanted to block a website like www.nytimes.com, I could just add the following line:
127.0.0.1    www.nytimes.com
redirect website hosts
What we are actually telling Windows is that the website www.nytimes.com should redirect to the IP address 127.0.0.1, which is just the loopback address on our local system. If you don’t have a local website setup on your computer, you’ll just get an error page in your web browser.
site cannot be reached
Pretty cool, huh!? Obviously, you can see how this can be used in several different ways: a prank, parental control, etc. If you didn’t want to block the website in that way, you could also redirect it to another website. In order to do this, you have to find the IP address of the other site first.
To do that, just open a command prompt (click on Start and type in CMD) and type in the following command:
ping examplewebsite.com
ping website
In my example, I pinged Adobe.com. The IP address is 192.150.16.117. Now I can simply plug that number into my hosts file in front of www.nytimes.com.
hosts file redirect
Now when I visit www.nytimes.com, I get redirect to Adobe.com! Nice! Note that if this doesn’t work for the websites you are entering, it could be because of the URL you are using. For example, it makes a difference if you use www.nytimes.com as opposed to nytimes.com without the www. Visit the website and see exactly what the URL is for the website you want to redirect. You should always try without the www first to see if that works.
If the website uses HTTPS like Google.com or something, it should still redirect if you use the host name. There is no way to specify the HTTPS version of a website in the HOSTS file, but it should redirect the HTTPS and non-HTTPS versions of the website if you use just the host name (i.e. google.com).
Lastly, you can use the hosts file to create simple shortcuts to your own devices on the network. For example, my router is at 192.168.1.3 on my home network, but I could add the following line to my hosts file and simply type in myrouter.com into my address bar.
redirect to local device
It doesn’t really matter if myrouter.com is actually a website or not because the hosts file is read first and you are redirected to the IP address specified in the file. It’s worth noting that not all browsers may use the hosts file, so if it’s not working, that could be the issue. I tested it using IE, Microsoft Edge, Chrome and Firefox and it worked on all of the browsers.
Overall, the hosts file is still useful, even in Windows 10. It also still works just fine in Windows 8, 7, Vista, etc. If you have any questions, feel free to comment. Enjoy!

If you liked this post, Dont forget to BOOKMARK it for others as well. Please CLICK your favorite SOCIAL BOOKMARKING ELEMENT:

StumpleUpon Ma.gnolia DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google

Chronos—the $2750 High-Speed, 21,500fps Camera—is Now on Kickstarter


Chronos is finally going to be making its way into the hands of some very eager low-budget filmmakers.
Back in September, engineer David Kronstein unveiled his low-budget high-speed camera, Chronos 1.4, which boasted features like 1050fps at 1280x1024, touchscreen display, and most importantly, a $2750 price tag.
At the time, the production-ready prototype wasn't fully completed, the software was still in development, and the hardware was in the prototype phase, but now Chronos 1.4 is fully operational and ready to go on Kickstarter, having already raised $250,000 from its $48,000 goal.
In addition to the price, Chronos 1.4 has some impressive features. It can shoot at up to 21,649fps, though it does so in a non standard resolution, 640x96, which will be more useful to scientists than filmmakers. The more cinematography friendly resolution of 640x480 shoots up to 4,436, which is still mighty impressive. Conveniently, it can also record audio, and it's small and compact, so you can take it anywhere. Its touchscreen has an intuitive interface with a jogwheel that allows you to control playback more accurately at 24 frames per turn or 960 when clicked in for fast seeking. You don't need a PC to use this camera, either, so really it's like having a true high-speed camera in your pocket.
You can check out a full list of specs here, but here are the some notable features:

Technical specs

  • 1280x1024 1057fps CMOS image sensor with 1.4Gpx/s throughout
  • Higher frame rates at lower resolution
  • Sensor dimensions 8.45 x 6.76mm, 6.6um pixel pitch
  • Global shutter - no “jello” effect during high-motion scenes
  • Electronic shutter from 1/fps down to 2us (1/500,000 s)
  • CS and C mount lens support
  • Focus peaking (focus assist) and zebra exposure indicator
  • ISO 320-5120 (Color), 740-11840 (Monochrome) sensitivity
  • 5" 800x480 touchscreen (multitouch, capacitive)
  • Machined aluminum case
  • Record time 4s (8GB) or 8s (16GB)
  • Continuous operation on AC adapter (17-22V 40W)
  • 1.75h runtime on user-replaceable EN-EL4a battery
  • Gigabit ethernet remote control and video download*
  • Audio IO and internal microphone*
  • HDMI video output*
  • Two channel 1Msa/s waveform capture*
  • Storage: SD card, two USB host ports (flash drives/hard drives), eSATA 3G
  • Trigger: TTL, switch closure, image change*, sound*, accelerometer*
  • Low-noise variable-speed fan - camera can run indefinitely without overheating
Here are a couple of demos that show you what Chronos 1.4 can do:
Chronos 1.4 has two models to choose from, a 8GB body ($2750) and a 16GB body ($3000). (32GB could possibly come in the future.)
To learn more, head on over to the Chronos Kickstarter campaign.      

If you liked this post, Dont forget to BOOKMARK it for others as well. Please CLICK your favorite SOCIAL BOOKMARKING ELEMENT:

StumpleUpon Ma.gnolia DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google

Wednesday, March 15, 2017

rooted my phone but want to go back to stock rom [duplicate]


This question already has an answer here:
Okay so i rooted my Samsung Galaxy Express to jelly bean 4.2.2 using the method below. but i cant access Samsung kies because it doesn't recognize rooted phones. So i was wondering if there was any way to keep the rooted features but go back to the stock rom? And if there is how do i do it and where do i get the file from?
Here are the steps I took to upgrade my phone:
Flash Clockwork Recovery
  1. Download Express OUDHS CWM.exe.
  2. Turn off the phone
  3. Press and hold volume down and power to enter download mode (if this doesn’t work, press and hold volume down, power and home key)
  4. Connect your phone to your computer via USB
  5. Window ID: COM should be highlighted in yellow, this means your phone was properly detected
  6. Press start and wait for installation
  7. Disconnect your phone, recovery is now installed
Install SuperSU
  1. Download SuperSU v1.25
  2. Connect your phone to your computer via USB
  3. Copy the SuperSU v1.25 file to the root of your SD card (make sure you have an SD card in your phone)
  4. Turn off your phone
  5. Hold volume up, power and home key to enter recovery (as soon as you see blue text on the top of the screen that read entering or booting recovery, immediately release all the buttons)
  6. Click on install zip from SD card and locate SuperSU file
  7. Select the SuperSU file and install
  8. After installation is complete, reboot your phone
You will now have both custom recovery and SuperSU installed on your phone, which allows you to install custom ROM’s, which is the next step. (Make sure USB debugging is still enabled). Please note that these versions of CM10.1 and CM10.2 are unofficial builds, however are stable enough as daily drivers.
  1. Download CM10.1(Android 4.2.2) or CM10.2(Android 4.3)
  2. Download Gapps (Google Apps) for CM10.1 or Gapps for CM10.2
  3. Connect your phone to your computer via USB and place ROM and Gapps files in root of SD card (make sure they are on SD card)
  4. Download ROM Manager and reboot into recovery. You can also manually reboot into recovery by powering off your phone, pressing and holding volume up, power and home key.
  5. Create a backup.
  6. Wipe data/factory reset, wipe cache partition and dalvik cache (found in advanced)
  7. Install the ROM from the SDCard
  8. Install Gapps from the SDCard
  9. Reboot phone and let it sit for a few minutes while it boots for the first time. It may take a few minutes, and this is only evident upon initial boot.
You will likely run into issues with non functional WiFi. To resolve this, after flashing the ROM, follow these simple steps:
  1. Download this file.
  2. Power off the phone.
  3. Hold volume down, power and home button to enter download mode.
  4. Press volume up to enter download mode.
  5. Connect phone to your computer
  6. Open Odin and flash the downloaded file as Bootloader (You should see a green box that indicates that the method passed and worked)
  7. Reboot the phone and test WiFI
shareimprove this question

marked as duplicate by ChahkgeffchangIzzyonik Jan 17 '14 at 17:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1 
Ahem... What's your question? :) This rather looks like a question including its answer. But nobody will find the question is answered. Would you mind to move the answer part to an answer? We really love when people share their knowledge and experience, but wouldn't it be a pity if nobody notices! Thanks a lot! – Izzy Dec 27 '13 at 10:28
1 
@Izzy It looks like Taylor posted instructions he used to root his phone to begin with. He's looking to reverse them and go back to stock. Pretty sure we have a question that covers it. – Chahk Dec 27 '13 at 15:12
   
@Chahk Reading it again with your comment in mind makes me pretty sure you're correct :) So maybe we rather encourage Taylor to create a separate post on "How do I root the Samsung Galaxy Express", placing his process as an answer, and link it here? That would be a profit to all, himself included! Taylor: you might also take a look at our tags for odin and heimdall for "partly alternatives" to Kies. – Izzy Dec 27 '13 at 19:02
Samsung Kies is no longer recognizing your phone because you've replaced the operating system by installing a custom ROM (CyanogenMod in this case.) Simply rooting it and leaving stock Samsung firmware would've been sufficient, and wouldn't interfere with Kies. You should have stopped after the "Install SuperSU" step.
With that said, here are the instructions for returning back to stock Samsung firmware:
  1. Galaxy Express comes in different flavors, depending on your country and/or carrier. Find out the exact model number of your device (e.g. GT-I8730/T for international version, or SGH-i437 for US AT&T/GoPhone) and download the latest firmware from here. Make sure to pick the correct region.
  2. Make sure you have taken a full backup of the contents of your device. Flashing factory firmware will wipe your device clean.
  3. Extract the downloaded zip file to your desktop. You should get a file with a .tar.md5 extension (.md5 extension may not be visible in Windows)
  4. Download ODIN (instructions here). This is a special tool used to flash firmware files on to Samsung devices. Extract the downloaded zip file to your desktop
  5. Make sure you have installed all the necessary device drivers for your phone on your PC. You can also get the drivers by installing Samsung Kies
  6. On your phone, enable USB Debugging from Settings -> Developer Options
  7. On the PC, launch ODIN. Click the PDA button in ODIN and load the stock 4.1.2 firmware .tar file you got in Step 3
  8. Make sure everything else in ODIN is left at default values. Just make sure Auto Reboot and F.Reset Time boxes are checked, and the RePartition box is left unchecked
  9. Switch off your device and reboot it to Download Mode by pressing and holding Volume Down+Home+Power buttons together. At the warning screen, press Volume Up to enter Download Mode
  10. Connect your phone to the PC via USB cable now
  11. ODIN should display the message Added! and the ID:COM port box in ODIN will turn yellow
  12. Click the Start button in ODIN to start flashing the stock firmware on to your device.
  13. Once ODIN has successfully flashed the file, it should display the message PASS!, and your phone should reboot automatically
  14. Disconnect your device from the PC now, and proceed to set up your phone.
After the above process is successfully completed, you can try rooting your phone again. This time do not install a custom firmware, and you should be all set.

If you liked this post, Dont forget to BOOKMARK it for others as well. Please CLICK your favorite SOCIAL BOOKMARKING ELEMENT:

StumpleUpon Ma.gnolia DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google

Monday, February 27, 2017

Virender Sehwag and Randeep Hooda mock daughter of soldier who died in Kargil. Minister defends them

Rohan Venkataramakrishnan

View photos
Twitter humour can sometimes open a can of worms. Especially if you are a famous cricketer with more than eight million followers. Virender Sehwag, former batsman for the Indian men’s cricket team, on Sunday chose to mock the 20-year-old daughter of a soldier who died in Kargil because of her campaign against student violence.
‘I didn’t score two triple centuries,’ says the placard on Sehwag’s joke post. ‘My bat did.’
The text is a direct response to 20-year-old Gurmehar Kaur’s campaign against the right-wing Akhil Bharatiya Vidyarthi Parishad’s violence at Ramjas College in Delhi. Kaur had changed her profile picture to include #StudentsAgainstABVP, but the popularity of her campaign also led viewers to a silent video she had made last year, calling for an end to state-sponsored conflict from India and Pakistan. “Pakistan did not kill my dad, war killed him,” she said.
View photos
While Sehwag was also lampooning the placard-holding trend which has taken over Facebook and Twitter, his joke also specifically mocked this message from Kaur. And he quickly got appreciation from actor Randeep Hooda, who has half a million followers on the platform.
The humour, especially since it made light of Kaur’s message about her father’s death, did not go down well with everyone.
When called out on it, however, Hooda insisted that Kaur was a “poor girl being used as a political pawn”. He also insisted that it “reeks of political usage of mans child who died defending the line drawn,” and then reverted to saying it was “just very witty of Viru” to crack his joke.
So, in addition to Sehwag making fun of the death of the Kargil soldier, Hooda then went on to take away Kaur’s ability to think for herself and insisted that she was just a poor girl being used for political aims and anyway the whole point was just the cricketer’s joke, no matter its sensitivities.
Kaur herself decided to respond to this, insisting that she is no political pawn, following which Hooda retreated to the position that he was both against student violence and yet didn’t want the “young girl’s thoughts” to be politicised.
And then Union Minister Kiren Rijiju jumped in, again explicitly criticising Kaur’s remarks by asking, “Who’s polluting this young girl’s mind?’ followed by a confused statement about strong Arm Force and weak India.
The responses from Rijiju and Hooda fall prey to the basic fallacy that only one stance, presumably questioning the government or the ABVP, is explicitly political and moreover that “young girls” having political thoughts is a bad thing.
Hooda, in fact, complained that Kaur’s post “reeked” of an attempt to politicise her father’s death, when the reverse argument – that one must not question the government or the army because soldiers are dying at the border – does not amount to a politicising India’s military. War, and its casualties, are always political. Hooda’s insistence that it ought not to be is as insensitive as Sehwag’s joke. Rijiju’s “weak India” comment, meanwhile, has no real grounding in history.
Kaur, meanwhile, said she has received rape threats in response to her campaign, which will no doubt spread even further now that a Union Minister has stepped into the fray.

If you liked this post, Dont forget to BOOKMARK it for others as well. Please CLICK your favorite SOCIAL BOOKMARKING ELEMENT:

StumpleUpon Ma.gnolia DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google

Contact Me or Subscribe to my posts

Click to Join my FaceBook Blog Group Page

If you want to send a quick message to me, please click

To Subscribe to my posts, please choose:

Search my Blog for posts that are of interest to you...results will be displayed below

Custom Search

Here are the Results, if you seached for a post

Blog Archive

About Me

My photo
Dubai, DXB, United Arab Emirates

Washington, USA

Western Europe Time (GMT)

Dubai

Pakistan

Australia