lsof -w -n -i tcp:8080
chflags hidden ~/Library
chflags nohidden ~/Library
def firstUniqueChar(st): | |
return [x for x in list(st) if list(st).count(x) == 1][0] | |
print firstUniqueChar("chickheni") |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="http://code.jquery.com/ui/1.8.20/themes/base/jquery-ui.css" type="text/css" media="all" /> | |
<link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all" /> | |
<style> | |
body { font-size: 62.5%; } | |
label, input { display:block; } | |
input.text { margin-bottom:12px; width:95%; padding: .4em; } | |
fieldset { padding:0; border:0; margin-top:25px; } |
<?php | |
// $Id$ | |
/** | |
* @file | |
* Module to remove the forgotten password link | |
*/ | |
/** |
[syntax] | |
keyword = y | |
name = c | |
comment = m | |
string = g | |
error = r | |
number = G | |
operator = Y | |
punctuation = y | |
token = C |
PS1="\[\033[G\]$PS1" |
In versions of Rails before 3.0 (including 3.0 itself), static assets lived in the public/ directory, as follows:
public/stylesheets
public/javascripts
public/images
Files in these directories are (even post-3.0) automatically served up via requests to http://example.com/stylesheets, etc.
/* Opacity */ | |
filter:alpha(opacity=95); /* For IE */ | |
-moz-opacity:0.95; /* Older versions of Mozilla */ | |
-khtml-opacity: 0.95; /* For Sarari 1.x */ | |
opacity: 0.95; /* General Usage */ |
# GistID: 2304197 | |
# Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs) | |
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3 | |
# Enable subpixel font rendering on non-Apple LCDs | |
defaults write NSGlobalDomain AppleFontSmoothing -int 2 | |
# Enable the 2D Dock | |
defaults write com.apple.dock no-glass -bool true |