March 30, 2009
Fix Debian Problem: W: There is no public key available for the following key IDs
W: There is no public key available for the following key IDs:
.....
To fix this problem, just run this:
sudo apt-get install debian-archive-keyring
March 20, 2009
google search tips 1
To only show pages with the search phrases in them, start your search with "allintext:"
Other possible web search options are:
allinanchor:,
allintext:,
allintitle:,
allinurl:,
cache:,
define:,
filetype:,
id:,
inanchor:,
info:,
intext:,
intitle:,
inurl:,
phonebook:,
related:,
site:
March 19, 2009
GNU Screen Reference
screen Quick Reference
Getting in
start a new screen session: screen
.. with session name: screen -S
attach to a running session: screen -r
.. to session with name: screen -r
the “ultimate attach”: screen -dRR
(Attaches to a screen session. If the session is attached elsewhere, detaches that other display. If no session exists, creates one. If multiple sessions exist, uses the first one.)
Escape key
All screen commands are prefixed by an escape key, by default C-a (that's Control-a, sometimes written ^A). To send a literal C-a to the programs in screen, use C-a a
.
Getting out
detach: C-a d
detach and logout (quick exit): C-a D D
exit screen: exit all of the programs in screen.
force-exit screen: C-a C-\
(not recommended)
Help
See help: C-a ?
(lists keybindings)
Window Management
create new window: C-a c
change to last-visited active window: C-a C-a
(commonly used to flip-flop between two windows)
change to window by number: C-a
(only for windows 0 to 9)
change to window by number or name: C-a '
change to next window in list: C-a n
or C-a
change to previous window in list: C-a p
see window list: C-a ”
(allows you to select a window to change to)
show window bar C-a w
(if you don't have window bar)
close current window: Close all applications in the current window (including shell)
kill current window: C-a k
(not recommended)
rename current window: C-a A
Split screen
split display: C-a S
jump to next display region: C-a tab
remove current region: C-a X
remove all regions but the current one: C-a Q
Misc
redraw window:C-a C-l
enter copy mode:
C-a [
(also used for viewing scrollback buffer)paste:
C-a ]
monitor window for activity:
C-a M
monitor window for silence:
C-a _
enter digraph:
C-a C-v
lock (password protect) display:
C-a x
enter screen command:
C-a :
Disable screensaver in registry
HKEY_CURRENT_USER\Control Panel\Desktop\screensaveactive
process binary data with gawk
#dumpbin.awk
#!/usr/bin/gawk -f
BEGIN{
FS="";
RS="\n";
for (i = 0; i <>
d[sprintf("%c", i)]=i;
}
}
{
for (i=1;i<=NF;i++){
printf("%02X ",d[$i]);
count++;
if (count%16==0)
printf("\n");
}
printf("0A ");
count++;
if (count%16==0)
printf("\n");
}
March 9, 2009
California Limited Liability Company Fee
LLCs are subject to an $800 annual tax if they are doing business in California or have articles of organization accepted, or a certificate of registration issued by the California Secretary of State. The annual tax is prepaid for the privilege of doing business in California, and is due and payable on or before the 15th day of the 4th month after the beginning of the taxable year. The annual tax must be paid for each taxable year until the appropriate papers are filed.
In addition to the annual $800 tax, every California LLC must pay a fee based on total annual income. The LLC fee is due on or before the 15th day of the 4th month after the close of the LLC’s taxable year. The California Franchise Tax Board has a booklet containing much of what one needs to know about LLCs. For taxable years beginning on or after January 1, 2002, use the following chart to compute the fee:
If total annual income is equal to or over – but not over –
$250,000 to $499,999 the fee is $900
$500,000 to $999,999 the fee is $2,500
$1,000,000 to $4,999,999 the fee is $6,000
$5,000,000 and over the fee is $11,790
If the California Franchise Tax Board (FTB) determines multiple LLCs were formed for the primary purpose of reducing fees, the LLC’s total income from all sources that are reportable to California could include the aggregate total income of all commonly controlled LLC members. “Commonly controlled” means control of more than 50% of the capital interests or profit interests of the taxpayer and any other LLC or partnership by the same persons.