sed: 1: file: extra characters at the end of l command
On *BSD you must use
sed -i '' -e 's/FIND/REPLACE/' file
On *BSD you must use
sed -i '' -e 's/FIND/REPLACE/' file
Java Proxy
Java Proxy is not just usual proxy, it is advanced traffic redirection tool. It can provide you access to computers behind a firewall or NAT. You can implement these features transparently to your network and firewall, without modifying their configuration.
Do the following:
1. Go to Devices and printers on the Start Menu
2. Click in the button Add printer (in the tool bar)
3. Click on Add Local Printer, in the new window.
4. Use the settings: "Use an existing port: LPT1: (Printer Port)". And click on the Next button.
5. Choose the Manufacter: HP and printer: HP Deskjet 1220C. After that click on Next.
6. Now that you have the printer added, go to the Devices and Printers window, that you opened in the 1. and click with the right button in the printer that’ve added and click on Printer Properties.
7. Go to the Ports tab.
8. Select the port USB001 and click OK.
9. Now you can use the printer!!
via Business support forums – HP Deskjet 1280 driver for Windows 7?.
public static void saveComponentAsJPEG(Component myComponent, String filename) {<br />
Dimension size = myComponent.getSize();<br />
BufferedImage myImage = <br />
new BufferedImage(size.width, size.height,<br />
BufferedImage.TYPE_INT_RGB);<br />
Graphics2D g2 = myImage.createGraphics();<br />
myComponent.paint(g2);<br />
<br />
<br />
ImageSelection imgSel = new ImageSelection(myImage); <br />
Toolkit.getDefaultToolkit().getSystemClipboard().setContents(imgSel, null); <br />
<br />
try {<br />
OutputStream out = new FileOutputStream(filename);<br />
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);<br />
encoder.encode(myImage);<br />
out.close();<br />
} catch (Exception e) {<br />
System.out.println(e); <br />
}<br />
} }
Open IE
Tools tab > Internet Options > Advanced > Click Reset…
Finally:
Restart IE.
Other options are:
1) Uninstall the Network adapter
Open Device Manager > Expand Network Adapter > Right Click on your internet network adapter and Uninstall
Reboot
If it doesn’t work, try it again and then reinstall the driver. You may have to get the new driver from the device website.
2) Winsock and Tcp/Ip Fix
Start > Run > Type CMD > Type the following:
Reset TCP/IP stack to installation defaults, type: netsh int ip reset reset.log
Press Enter > Type the following:
Reset WINSOCK entries to installation defaults, type: netsh winsock reset catalog
Push Enter
3) Run sfc /scannow
Insert your XP disc
Start > Run > Type CMD > Type the following:
sfc /scannow
Move the Users Directory in Windows 7
Select – Copy – PasteSelect: ALT + M + ACopy: ALT + 6Paste: CTRL + U
Each pair of ifconfig-push addresses represent the virtual client and server IP endpoints. They must be taken from successive /30 subnets in order to be compatible with Windows clients and the TAP-Win32 driver. Specifically, the last octet in the IP address of each endpoint pair must be taken from this set:PHP Code:
[ 1, 2] [ 5, 6] [ 9, 10] [ 13, 14] [ 17, 18] [ 21, 22] [ 25, 26] [ 29, 30] [ 33, 34] [ 37, 38] [ 41, 42] [ 45, 46] [ 49, 50] [ 53, 54] [ 57, 58] [ 61, 62] [ 65, 66] [ 69, 70] [ 73, 74] [ 77, 78] [ 81, 82] [ 85, 86] [ 89, 90] [ 93, 94] [ 97, 98] [101,102] [105,106] [109,110] [113,114] [117,118] [121,122] [125,126] [129,130] [133,134] [137,138] [141,142] [145,146] [149,150] [153,154] [157,158] [161,162] [165,166] [169,170] [173,174] [177,178] [181,182] [185,186] [189,190] [193,194] [197,198] [201,202] [205,206] [209,210] [213,214] [217,218] [221,222] [225,226] [229,230] [233,234] [237,238] [241,242] [245,246] [249,250] [253,254]