Skip to content

Hongyu's weblog

Science, Technology, and Beyond

Category: Tech

Technology

Posted on February 16, 2009

Photoshop handwriting fonts

download from http://refont.com/show.php?t=1&get=2&font=goobascript.font

Posted on February 3, 2009February 3, 2009

Avoid inserting duplicated records in Oracle

See http://www.techonthenet.com/sql/insert.php

INSERT INTO clients
(client_id, client_name, client_type)
SELECT 10345, ‘IBM’, ‘advertising’
FROM dual
WHERE not exists (select * from clients
where clients.client_id = 10345);

The use of the dual table allows you to enter your values in a select statement, even though the values are not currently stored in a table.

Posted on December 11, 2008

Open secured Microsoft Access file

“C:\Program Files\Microsoft Office\Office\MSACCESS.EXE” “E:\myAccessDB.mdb” /WRKGRP “E:\secured.mdw”

Posted on November 18, 2008November 18, 2008

Perl tricks

Put the STDOUT to a variable

open($fh, ‘>-‘);
print $fh, “hello world\n”;

Link a file handle to a string (since Perl 5.8)

open($fh, ‘<‘, \$string);

Posted on November 7, 2008

Unblock a nonstandard port in Firefox3

http://bdbits.wordpress.com/2008/07/01/unblock-a-nonstandard-port-in-firefox3/

enter about:config in the address bar, and then right-click anywhere in the lower portion of the resulting page and select New and then String from the context menu. The name you need to enter is network.security.ports.banned.override, and the value is the port(s) you want to open. If you have more than one, enter them as a comma-separated list.

Posts navigation

Previous page Page 1 … Page 9 Page 10 Page 11 … Page 21 Next page

Archives

June 2025
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Nov    
Proudly powered by WordPress