[VASP] Vacuum Level

Calculate vacuum level from VLINE ( output file of 'vtot') and DOSCAR.


#!/bin/bash
vac=`awk '{printf "%10.6f\n", $2}' VLINE |sort -g |tail -n 2 |sed -n '1p'`
fermi=`sed -n '6p' DOSCAR|awk '{printf "%10.6f\n",$4}'`
echo "Vaccum level="$vac    
echo "Fermi level="$fermi
echo "scale=4; $vac-$fermi"|bc -l

참 쉽죠?

2011/09/23 22:21 2011/09/23 22:21

[Firefox] DownThemAll

http://enchant.pe.kr/jwp.php?url=http% ··· _600.xml

위 링크로 가보면 House 음악이 600여곡 올라와있는데 다운로드 및 청취 모두 가능하다.
근데 곡 수가 무려 626!!!! 요즘엔 크롬만 써왔는데 이거 다운받을려고 크롬 확장프로그램 아무리 뒤져바도 파폭의 DownThemAll을 따라갈만한걸 찾지 못했다.
여튼 간단한 다운로드 경로 설정 후 폭풍 다운로드. 한 5~10분 걸렸나?

DownThemAll 확장프로그램 다운로드 : https://addons.mozilla.org/ko/firefox/addon/downthemall/
2011/09/20 19:48 2011/09/20 19:48

[Hot key] 단축키 모음

Windows Hotkeys 

Ctrl + Escape or Win: Display start menu.
Shift + F10 or AppsKey: Display context menu.
Win + E: Open Windows Explorer.
Win + R: Open Run dialog.
Win + M: Minimize all windows.
Win + Shift + M: Undo minimize all windows.
Win + D: Toggle minimize all windows.
Win + B (XP only): Activate system tray. Arrow keys select, Enter double-clicks, and AppsKey or Shift + F10 right-clicks. 
Win + L (XP Only): Locks keyboard. Similar to Lock Workstation. 
Win + F or F3: Open Find dialog. (All Files) F3 may not work in some applications which use F3 for their own find dialogs. 
Win + Control + F: Open Find dialog. (Computers)
Win + U: Open Utility Manager.
Win + F1: Open Windows help.
Win + Pause: Open System Properties dialog.
Win + Tab: Cycle through taskbar buttons. Enter clicks, AppsKey or Shift + F10 right-clicks. 
Win + Shift + Tab: Cycle through taskbar buttons in reverse.
Alt + Tab: Display CoolSwitch. More commonly known as the AltTab dialog. 
Alt + Shift + Tab: Display CoolSwitch; go in reverse.
Alt + Escape: Send active window to the bottom of the z-order.
Alt + Shift + Escape: Activate the window at the bottom of the z-order.
Alt + F4: Close active window; or, if all windows are closed, open shutdown dialog.
Shift while a CD is loading: Bypass AutoPlay.
Ctrl + Alt + Delete or Ctrl + Alt + NumpadDel (Both NumLock states): Invoke the Task Manager or NT Security dialog.
Ctrl + Shift + Escape (XP Only): Invoke the task manager. On earlier OSes, acts like Ctrl + Escape. 
Printscreen: Copy screenshot of current screen to clipboard.
Alt + Printscreen: Copy screenshot of current active window to clipboard.
Ctrl + Alt + Down Arrow: Invert screen. Untested on OSes other than XP. 
Ctrl + Alt + Up Arrow: Undo inversion.


Windows + Up Arrow
It is used to maximize the current window which is in focus, whether it is a windows explorer, a web browser, or any other application.
Windows + Left Arrow
Adjusts the current window to the left side and hence the window will cover almost half of the desktop space.
Windows + Right Arrow
It will adjust the current window to the right and thus it will cover half of the desktop space on the right.
Windows + Down Arrow
Minimizes The Windows To The Task Bar.
Windows + T
Shows The Thumbnail Preview Of The Running Applications.
Shift + Click A Taskbar Item
It opens a new instance of the particular application on which you clicked.
Windows + X
It is used to run the Windows Mobility Center.
Windows + E
It is used to open the Windows Explorer.
Windows + [Number]
It is used to run the pinned applications on the taskbar, Windows + 1 will run the first pinned application on the task bar, similarly Windows + 2 will run the second pinned application and so on.
Ctrl + Windows  + F
Search for computers if you are on a network
Ctrl + Shift + Click On Icon [Task Bar]
It  is used to open a new instance of the particular application from the taskbar with administrator privileges.
Alt + D
It is used to select the address bar
Alt + Win + [number]

Opens the jumplist for the applications which are pinned to the task bar.
Shift + Right-click on a taskbar button
It is used to display the window menu for the specific taskbar application
Ctrl + Shift + N

It is used to create a new folder in the windows explorer.
Shift + Right-click on a folder
It is used to add the command prompt option to the Folder, so you can easily open the command prompt in that particular folder.
Shift + Right-click on a grouped taskbar button

It is used to launch the windows menu for the group.
Ctrl + Click on a grouped taskbar button

It is used to cycle between the windows of the group.
Win + G
It is used to cycle between the Gadgets on the screen.
Ctrl + Esc

This hotkey is used to open the Start Menu.
Ctrl + Shift+Esc
It is used to directly open the Windows Task Manager.


Generic 

Ctrl + C or Ctrl + Insert: Copy.
Ctrl + X or Shift + Delete: Cut.
Ctrl + V or Shift + Insert: Paste/Move.
Ctrl + N: New... File, Tab, Entry, etc. 
Ctrl + S: Save.
Ctrl + O: Open...
Ctrl + P: Print.
Ctrl + Z: Undo.
Ctrl + A: Select all.
Ctrl + F: Find...
Ctrl + F4: Close tab or child window.
F1: Open help.
F11: Toggle full screen mode.
Alt or F10: Activate menu bar.
Alt + Space: Display system menu. Same as clicking the icon on the titlebar. 
Escape: Remove focus from current control/menu, or close dialog box.


Generic Navigation 

Tab: Forward one item.
Shift + Tab: Backward one item.
Ctrl + Tab: Cycle through tabs/child windows.
Ctrl + Shift + Tab: Cycle backwards through tabs/child windows.
Enter: If a button's selected, click it, otherwise, click default button.
Space: Toggle items such as radio buttons or checkboxes.
Alt + (Letter): Activate item corresponding to (Letter). (Letter) is the underlined letter on the item's name. 
Ctrl + Left: Move cursor to the beginning of previous word.
Ctrl + Right: Move cursor to the beginning of next word.
Ctrl + Up: Move cursor to beginning of previous paragraph. This and all subsequent Up/Down hotkeys in this section have only been known to work in RichEdit controls. 
Ctrl + Down: Move cursor to beginning of next paragraph.
Shift + Left: Highlight one character to the left.
Shift + Right: Highlight one character to the right.
Shift + Up: Highlight from current cursor position, to one line up.
Shift + Down: Highlight from current cursor position, to one line down.
Ctrl + Shift + Left: Highlight to beginning of previous word.
Ctrl + Shift + Right: Highlight to beginning of next word.
Ctrl + Shift + Up: Highlight to beginning of previous paragraph.
Ctrl + Shift + Down: Highlight to beginning of next paragraph.
Home: Move cursor to top of a scrollable control.
End: Move cursor to bottom of a scrollable control.


Generic File Browser 

Arrow Keys: Navigate.
Shift + Arrow Keys: Select multiple items.
Ctrl + Arrow Keys: Change focus without changing selection. "Focus" is the object that will run on Enter. Space toggles selection of the focused item.
(Letter): Select first found item that begins with (Letter).
BackSpace: Go up one level to the parent directory.
Alt + Left: Go back one folder.
Alt + Right: Go forward one folder.
Enter: Activate (Double-click) selected item(s).
Alt + Enter: View properties for selected item.
F2: Rename selected item(s).
F7: New folder.
Ctrl + NumpadPlus: In a Details view, resizes all columns to fit the longest item in each one.
Delete: Delete selected item(s).
Shift + Delete: Delete selected item(s); bypass Recycle Bin.
Ctrl while dragging item(s): Copy.
Ctrl + Shift while dragging item(s): Create shortcut(s).

In tree pane, if any:
Left: Collapse the current selection if expanded, or select the parent folder.
Right: Expand the current selection if collapsed, or select the first subfolder.
NumpadAsterisk: Expand currently selected directory and all subdirectories. No undo. 
NumpadPlus: Expand currently selected directory.
NumpadMinus: Collapse currently selected directory.


Accessibility 

Right Shift for eight seconds: Toggle FilterKeys on and off. FilterKeys must be enabled. 
Left Alt + Left Shift + PrintScreen: Toggle High Contrast on and off. High Contrast must be enabled. 
Left Alt + Left Shift + NumLock: Toggle MouseKeys on and off. MouseKeys must be enabled. 
NumLock for five seconds: Toggle ToggleKeys on and off. ToggleKeys must be enabled. 
Shift five times: Toggle StickyKeys on and off. StickyKeys must be enabled. 


Microsoft Natural Keyboard with IntelliType Software Installed 

Win + L: Log off Windows.
Win + P: Open Print Manager.
Win + C: Open control panel.
Win + V: Open clipboard.
Win + K: Open keyboard properties.
Win + I: Open mouse properties.
Win + A: Open Accessibility properties.
Win + Space: Displays the list of Microsoft IntelliType shortcut keys.
Win + S: Toggle CapsLock on and off.


Remote Desktop Connection Navigation 

Ctrl + Alt + End: Open the NT Security dialog.
Alt + PageUp: Switch between programs.
Alt + PageDown: Switch between programs in reverse.
Alt + Insert: Cycle through the programs in most recently used order.
Alt + Home: Display start menu.
Ctrl + Alt + Break: Switch the client computer between a window and a full screen.
Alt + Delete: Display the Windows menu.
Ctrl + Alt + NumpadMinus: Place a snapshot of the entire client window area on the Terminal server clipboard and provide the same functionality as pressing Alt + PrintScreen on a local computer.
Ctrl + Alt + NumpadPlus: Place a snapshot of the active window in the client on the Terminal server clipboard and provide the same functionality as pressing PrintScreen on a local computer.


Mozilla Firefox 1.x 

Ctrl + Tab or Ctrl + PageDown: Cycle through tabs.
Ctrl + Shift + Tab or Ctrl + PageUp: Cycle through tabs in reverse.
Ctrl + (1-9): Switch to tab corresponding to number.
Ctrl + N: New window.
Ctrl + T: New tab.
Ctrl + L or Alt + D or F6: Switch focus to location bar.
Ctrl + Enter: Open location in new tab.
Shift + Enter: Open location in new window.
Ctrl + K or Ctrl + E: Switch focus to search bar.
Ctrl + O: Open a local file.
Ctrl + W: Close tab, or window if there's only one tab open.
Ctrl + Shift + W: Close window.
Ctrl + S: Save page as a local file.
Ctrl + P: Print page.
Ctrl + F or F3: Open find toolbar.
Ctrl + G or F3: Find next...
Ctrl + Shift + G or Shift + F3: Find previous...
Ctrl + B or Ctrl + I: Open Bookmarks sidebar.
Ctrl + H: Open History sidebar.
Escape: Stop loading page.
Ctrl + R or F5: Reload current page.
Ctrl + Shift + R or Ctrl + F5: Reload current page; bypass cache.
Ctrl + U: View page source.
Ctrl + D: Bookmark current page.
Ctrl + NumpadPlus or Ctrl + Equals (+/=): Increase text size.
Ctrl + NumpadMinus or Ctrl + Minus: Decrease text size.
Ctrl + Numpad0 or Ctrl + 0: Set text size to default.
Alt + Left or Backspace: Back.
Alt + Right or Shift + Backspace: Forward.
Alt + Home: Open home page.
Ctrl + M: Open new message in integrated mail client.
Ctrl + J: Open Downloads dialog.
F6: Switch to next frame. You must have selected something on the page already, e.g. by use of Tab. 
Shift + F6: Switch to previous frame.
Apostrophe ('): Find link as you type.
Slash (/): Find text as you type.


BBCode (This forum's posting) 

While text is selected: 
Alt + B: Format text in bold.
Alt + I: Format text in italics.
Alt + U: Format text as underlined.
Alt + Q: Format text as a quote.
Alt + C: Format text as code.
Alt + L: Format text as a list.
Alt + O: Format text as an ordered list.
Alt + P: Format url as a hotlinked image.
Alt + W: Format url as a hyperlink.


GMail 

Must have "keyboard shortcuts" on in settings. 
C: Compose new message.
Shift + C: Open new window to compose new message.
Slash (/): Switch focus to search box.
K: Switch focus to the next most recent email. Enter or "O" opens focused email. 
J: Switch focus to the next oldest email.
N: Switch focus to the next message in the "conversation." Enter or "O" expands/collapses messages. 
P: Switch focus to the previous message.
U: Takes you back to the inbox and checks for new mail.
Y: Various actions depending on current view:
Has no effect in "Sent" and "All Mail" views. 
  • Inbox: Archive email or message.
  • Starred: Unstar email or message.
  • Spam: Unmark as spam and move back to "Inbox."
  • Trash: Move back to "Inbox."
  • Any label: Remove the label.

X: "Check" an email. Various actions can be performed against all checked emails.
S: "Star" an email. Identical to the more familiar term, "flagging." 
R: Reply to the email.
A: Reply to all recipients of the email.
F: Forward an email.
Shift + R: Reply to the email in a new window.
Shift + A: Reply to all recipients of the email in a new window.
Shift + F: Forward an email in a new window.
Shift + 1 (!): Mark an email as spam and remove it from the inbox.
G then I: Switch to "Inbox" view.
G then S: Switch to "Starred" view.
G then A: Switch to "All Mail" view.
G then C: Switch to "Contacts" view.
G then S: Switch to "Drafts" view.




Reference
http://www.autohotkey.com/forum/topic1841.html
http://www.addictivetips.com/windows-t ··· guide%2F
2011/09/20 18:12 2011/09/20 18:12