Potrebbe sembrare un operazione semplice, ma la realtà si rivela alquanto complicata (è una vera impresa riuscire a beccare un operatore tim). Oggi (dopo aver effettuato la portabilità mnp) ho provato ad attivare la tim young. Il sito della tim (119selfservice) riportava questo messaggio:
Siamo spiacenti, TIM YOUNG è un’offerta ad edizione limitata attivabile dai clienti che hanno fino a 30 anni.
Ho chiamato il numero dell’assistenza (119), ma la cosa si è rivelata un calvario infinito dove dopo la voce richiedi assistenza mi veniva proposto di andare sul sito oppure tornare al menu principale.
Dopo alcune ricerche su internet ho scoperto che al giorno d’oggi (agosto 2011) esistono due opzioni per riuscire a parlare con un operatore tim:
a) Passare dalla via di “ho smarrito la mia sim” (e beccarsi un infamata dall’operatore)
b) Oppure premere 4, aspettare che la voce automatica annuncia tutte le opzioni e non premere nulla. Alla seconda o terza ripetizione, vi verrà proposta l’opzione “oppure premi 0 per parlare con un operatore”. Et voila :)
Aggiornamento: A quanto pare Tim ha levato anche il tasto 0 (almeno ad oggi, 20 settembre 2011). Quindi unico modo per parlare con loro è passare dal menu sim & smarrimento. Si va in “Per tutte le altre richieste (6)”, poi “Assistenza (5)” -> “Smarrimento Sim” (1) -> poi 2
filetype plugin indent on
"set mouse=a
scriptencoding utf-8
set viewoptions=folds,options,cursor,unix,slash " better unix / windows compatibility
set history=1000
set backup " backups are nice ...
"set cursorline " highlight current line
hi cursorline guibg=#333333 " highlight bg color of current line
hi CursorColumn guibg=#333333 " highlight cursor
if has('cmdline_info')
set ruler " show the ruler
set rulerformat=%30(%=\:b%n%y%m%r%w\ %l,%c%V\ %P%) " a ruler on steroids
set showcmd " show partial commands in status line and
" selected characters/lines in visual mode
endif
if has('statusline')
set laststatus=2
" Broken down into easily includeable segments
set statusline=%<%f\ " Filename
set statusline+=%w%h%m%r " Options
set statusline+=\ [%{&ff}/%Y] " filetype
set statusline+=\ [%{getcwd()}] " current dir
"set statusline+=\ [A=\%03.3b/H=\%02.2B] " ASCII / Hexadecimal value of char
set statusline+=%=%-14.(%l,%c%V%)\ %p%% " Right aligned file nav info
endif
set backspace=indent,eol,start " backspace for dummys
set linespace=0 " No extra spaces between rows
set nu " Line numbers on
set showmatch " show matching brackets/parenthesis
set incsearch " find as you type search
set hlsearch " highlight search terms
set winminheight=0 " windows can be 0 line high
set ignorecase " case insensitive search
set smartcase " case sensitive when uc present
set wildmenu " show list instead of just completing
set wildmode=list:longest,full " comand <Tab> completion, list matches, then longest common part, then all.
set whichwrap=b,s,h,l,<,>,[,] " backspace and cursor keys wrap to
set scrolljump=5 " lines to scroll when cursor leaves screen
set scrolloff=3 " minimum lines to keep above and below cursor
set foldenable " auto fold code
set gdefault " the /g flag on :s substitutions by default
set nowrap " wrap long lines
set autoindent " indent at the same level of the previous line
set shiftwidth=4 " use indents of 4 spaces
set noexpandtab " tabs are tabs, not spaces
set tabstop=4 " an indentation every four columns
"set matchpairs+=<:> " match, to be used with %
set pastetoggle=<F12> " pastetoggle (sane indentation on pastes)
"set comments=sl:/*,mb:*,elx:*/ " auto format comment blocks
" Remove trailing whitespaces and ^M chars
autocmd FileType c,cpp,java,php,js,twig,xml,yml autocmd BufWritePre <buffer> :call setline(1,map(getline(1,"$"),'substitute(v:val,"\\s\\+$","","")'))
" visual shifting (does not exit Visual mode)
vnoremap < <gv
vnoremap > >gv
set smartindent
autocmd BufRead *.cfg inoremap # X<c-h>#
function! InitializeDirectories()
let separator = "."
let parent = $HOME
let prefix = '.vim'
let dir_list = {
\ 'backup': 'backupdir',
\ 'views': 'viewdir',
\ 'swap': 'directory' }
for [dirname, settingname] in items(dir_list)
let directory = parent . '/' . prefix . dirname . "/"
if exists("*mkdir")
if !isdirectory(directory)
call mkdir(directory)
endif
endif
if !isdirectory(directory)
echo "Warning: Unable to create backup directory: " . directory
echo "Try: mkdir -p " . directory
else
let directory = substitute(directory, " ", "\\\\ ", "")
exec "set " . settingname . "=" . directory
endif
endfor
endfunction
call InitializeDirectories()
Per disabilitare i numeri durante editing (per esempio per fare copia incolla) digitare
:set nu!
apt-get update
apt-get install build-essential linux-headers-`uname -r` psmisc
mkdir /media/cdrom
mount /dev/cdrom /media/cdrom
cp /media/cdrom/VMwareTools*.tar.gz /tmp
cd /tmp
tar xzf VMwareTools*.tar.gz
cd vmware-tools-distrib
./vmware-install.pl -d
Nella cartella “.settings” (che si trova nel vostro progetto) aprire il file “org.eclipse.core.resources.prefs” ed aggiungere dentro seguente testo
eclipse.preferences.version=1
encoding/ =UTF-8
Se utilizzate Reverse Proxy su apache e vedete nei log un messaggio del genere
[Thu Nov 04 15:24:14 2010] [error] (13)Permission denied: proxy: HTTP: attempt to connect to 192.168.xx.xx:8081 (xxx) failed
[Thu Nov 04 15:24:14 2010] [error] ap_proxy_connect_backend disabling worker for (xxx)
[Thu Nov 04 15:24:28 2010] [error] proxy: HTTP: disabled connection for (xxx)
[Thu Nov 04 15:26:21 2010] [error] (13)Permission denied: proxy: HTTP: attempt to connect to 192.168.xx.xx:8081 (xxx) failed
[Thu Nov 04 15:26:21 2010] [error] ap_proxy_connect_backend disabling worker for (xxx)
Allora avete un problema di configurazione nell’apache, ed in particolare lui non puo connettersi alle altre macchine. Per risolvere questo problema eseguite seguente commando:
setsebool httpd_can_network_connect 1
o
setsebool httpd_can_network_connect true
Oppure si può spuntare nelle policy di SELinux seguente voce:
“Allow HTTPD scripts and modules to connect to the network”
sotto il servizio httpd.
Dalla riga di commando:
find /path/to -mtime +5 -type f -exec rm -f {} \;
Questo commando eliminerà tutti file che sono piu vecchi di 5 giorni nel percorso.
Se non riuscite ad installare un programma perché Windows 7 si lamenta che il driver non ha la firma digitale, potete seguire questo iter:
- Aprite cmd.exe come amministratore
- Eseguite bcdedit /set loadoptions DDISABLE_INTEGRITY_CHECKS
A questo punto rilanciate installazione
Da questo post:
1 vote down
Here’s a solution which will loop over key/value pairs in your URL:
RewriteRule ^cat_ap~([^~]+)~([^~]+)(.*)\.htm$ cat_ap$1?$1=$2 [R,QSA]
RewriteRule ^cat_ap(.*)\.htm$ /urban/cat_ap.php [L]
It grabs the first pair off the URL, then rewrites it to the exact same URL without that pair, adds the pair to the query string ([QSA]) and starts the rewriting process over again ([R]). When there are no more key/value pairs in the URL, it rewrites it to your script’s location and terminates rewriting ([L]).
cat_ap~pnid~290~nid~96666~posters~Sports.htm => /urban/cat_ap.php?posters=Sports&nid=96666&pnid=290
cat_ap~PageNum_GetProduct~10~nid~290.htm => /urban/cat_ap.php?nid=290&PageNum_GetProduct=10
(Note that the order of parameters is reversed; this will only matter if the same parameter appears more than once.)
Backup
tar cz -C / var/www > /usr/backup/var_ww_$(date +%y%m%d).tar
for a in `ls -1 *.tar.gz`; do tar -zxvf $a; done