Author Archives: admin

Informações úteis sobre cabeçalhos HTTP e tipos MIME

Tipo MIME

Descrição

Extensões comuns

text/html

HTML

.html

text/css

Cascade Style Sheet (CSS)

.css

text/plain

Texto puro

.txt

text/xml

XML

.xml

text/richtext

Rich Text Format (RTF)

.rtf

application/octet-stream

Binário (download)

diversas

application/pdf

Adobe Acrobat PDF

.pdf

application/zip

Archive ZIP

.zip

application/msword

Microsoft Word

.doc, .dot

application/vnd.ms-excel

Microsoft Excel

.xls

application/vnd.ms-powerpoint

Microsoft PowerPoint

.ppt, .pps

image/jpeg

Imagem JPEG

.jpg, .jpeg

image/gif

Imagem GIF

.gif

image/png

Imagem PNG

.png

image/tiff

Imagem TIFF

.tif, .tiff

audio/mpeg

Ã?udio MPEG

.mp3

video/mpeg

Vídeo MPEG

.mpg, .mpeg

video/quicktime

Vídeo Apple QuickTime

.mov

read more »

System.Net.Mail

 Complete FAQ for the System.Net.Mail namespace found in .NET 2.0

 ‘create the mail message
Dim mail As New MailMessage()

‘set the addresses
mail.From = New MailAddress(“me@mycompany.com”)
mail.To.Add(“you@yourcompany.com”)

‘set the content
mail.Subject = “This is an email”
mail.Body = “this is a sample body with html in it. This is bold This is blue
mail.IsBodyHtml = True

‘send the message
Dim smtp As New SmtpClient(“127.0.0.1”)
smtp.Send(mail)

 Fonte: http://www.systemnetmail.com/faq/3.1.2.aspx

Friendly Error Page App_Offline.htm

n ASP.NET 2.0, while you’re in the process of updating your site, you can expose a friendly error page by including a file called app_offline.htm in your site’s root. If this file exists, all requests to the site will be redirected to this page. The only way to get around this is to delete the file. The usage scenario for this is for site maintenance, and it can be easily included as part of a deployment script, where this is the first file added and the last file deleted during the deployment. You can read more about this feature here.

Excerpt:

To take a Web application offline before deployment

  1. Create a file called App_offline.htm and place it in the root of your target Web site.
  2. Put a friendly message in the App_offline.htm file to let clients know that you are updating the site.
    While the App_offline.htm file exists, any request to the Web site will redirect to the file.

    NoteImportant
    Remember to remove the App_offline.htm file after you are finished copying files.

Fonte: http://aspadvice.com/blogs/ssmith/

Gravar CD de 90 Min com o Nero

PDF 90minutecdrinfo.pdf
Fonte: http://www.burnsmart.com/90minutecdrinfo.html

Redirecionando a saída de comandos DOS para área de transferência

No windows 2003 basta utilizar um comando seguido de |clip e o output é redireccionado para a área de tranferência 🙂
Por ex.º c:\dir /s |Clip

No windows 2000 e XP o comando não existe mas basta colocar o executável no %system root%\system32 e ele vai funcionar.

Download: clip.exe

Folder Size for Windows 2.3

What does it do?

Folder Size for Windows adds a new column to the Details view in Windows Explorer. The new column shows not only the size of files, but also the size of folders. It keeps track of which folders you view, and scans them in the background so you can see complete size of all files within the folder. It’s very useful for cleaning up your disk. Once you get used to having that information available, a directory listing simply looks incomplete without it!

screenshot.jpg

Folder Size is Free
Folder Size for Windows may be distributed under the terms of the GNU General Public License

Homepage: http://foldersize.sourceforge.net/ Â

License: GNU General Public License

MOGULUS : Live Television

logo.jpgMogulus is a Revolution in Live Television, a chance for anyone to broadcast live and “on air” from their own Web connection.

Mogulus is a Revolution in Live Television, a chance for anyone anywhere to broadcast live and “on air” from their own Web connection and team up to produce quality broadcasts 24/7.

Homepage: http://www.mogulus.com/Â

Mogulus Wiki: http://www.mogulus.com/wikiÂ

read more »

Mudar o ownership de um objecto

sp_changeobjectowner

Fonte: http://msdn2.microsoft.com/en-us/library/Aa259618(SQL.80).aspx

read more »

Unidades de Conversão

Fonte: http://www.gesbanha.pt/welcome/fac_conv.htm read more »

Indicativos telefónicos internacionais

Fonte: http://www.gesbanha.pt/welcome/Telfint.htmÂ

read more »