Showing posts with label CSS. Show all posts
Showing posts with label CSS. Show all posts

Monday, February 24, 2014

11 Websites Where You Can Find Code Snippets

Time saving practices are very useful for developers. When you're writing thousands of lines of code, cutting a few corners is nothing to be ashamed about. This is where code snippets come in. In fact, often you can use code snippets to add that one element to your program which was otherwise missing. They usually come from users and other developers themselves, which makes them tried and tested practices.

Here are the top 11 places where you can find this resources.

HTML, PHP, jQuery, CSS, HTAccess, CSS, JavaScript, Ruby, code snippets, best code snippets, code snippets websites, best code snippets websites, top code snippets
1. CSS Deck

This is one of the best websites for getting code snippets. You can find snippets on HTML and CSS on this website and can also submit your own creations to them.

2. CSS-Tricks

This is a popular source for finding code snippets on JavaScript, CSS, jQuery, HTML, PHP, CSS, HTAccess and WordPress. As with the website above, you can submit your own snippets to this website too.

3. Snipplr

This website allows you to view code snippets with or without registration. You can find snippets on JavaScript, Ruby, HTML, PHP, CSS, Ruby and other languages.

4. DZone Snippets

This is a community website meant for developers, which has a separate section for code snippets. It allows you to add your own snippets and add tags to them if you have an account.

5. Joyent Code Snippets

Add snippets, tag them, view snippets submitted by others and browse through snippets based on tags or users.

6. WpRecipes

This is a website where WordPress developers can find useful code snippets for their projects. You can find snippets for various purposes.

7. Smipple

This is a website for users to share their code snippets with each other. You are allowed to tag snippets for future use and submit your own snippets using just your Google account. You can also browse through popular snippets with or without an account.

8. PHP Snips

As the name suggest, this website focuses on code snippets for PHP developers. You have to create an account if you want to share your own snippets on the website.

9. Codes PHP

This is another website for finding useful code snippets in PHP. In addition, it also contains snippets for MySQL, PHP frameworks and WordPress.

10. Snipt

You can submit your own snippets and add tags to them on this website. In addition, you can also browser through snippets through tags and easily embed them when needed.

11. DevSnippets

You can use this website for finding links to tutorials and other resources that are useful to developers.

Wednesday, October 12, 2011

How to Reinstall Microsoft Forefront Threat Management Gateway on Windows Essential Business Server Security Server


INTRODUCTION

This article describes how to reinstall Microsoft® Forefront™ Threat Management Gateway, Medium Business Edition on Windows® Essential Business Server Security Server.  This may be necessary as a last-effort troubleshooting step or to repair a damaged installation of Forefront TMG.  The steps in this article will, of course, cause loss of network connectivity until Forefront TMG is reinstalled and reconfigured.
Important: Before using these steps, it is recommended that you make a complete backup of the Security Server.
There are four steps to uninstalling and reinstalling TMG on EBS:
    1. Backup the existing firewall settings 2. Uninstall Forefront TMG from Security Server 3. Install Forefront TMG on Security Server 4. Restore the Forefront TMG firewall configuration

Backup the existing firewall settings

To save network firewall settings to an XML file
  1. Click Start, click All Programs, click Windows Essential Business Server, and then clickWindows Essential Business Server Administration Console.
  2. Click the Security tab, and in the results pane, click Network firewall. In the tasks pane, clickSave firewall settings.
    clip_image002[19]
  3. In the Save as dialog box, choose a name and a location for the XML file that will contain the current configuration settings for the network firewall. Click Save to begin.
  4. Click Close on the “the settings were successfully saved” dialog when it appears.

Uninstall Forefront TMG from Security Server

To uninstall Forefront TMG from the server, follow these steps:
  1. From Control Panel open Programs and Features on the Security Server
  2. Highlight “Microsoft Forefront Threat Management Gateway” and click on Uninstall/Change
    clip_image002[5]  
  3. The next screen gives the option to either remove or repair Forefront TMG from the server. Select the option to Remove and select next.  
    clip_image002[7]  
  4. Select whether you would like to retain the existing log files and cache files on the server. If you want to remove the files, do not check anything. If you wish to retain them, check both the options and select next.
     clip_image002[9]  
  5. The installation wizard will proceed with the removal of TMG from the server. Uninstalling TMG from Programs and Features also removes its LDS instance (ISASTGCTRL).
     clip_image002  
  6. Reboot the server when prompted.
Reinstall Forefront TMG on Security Server
Forefront TMG can be reinstalled using the following steps:
  1. Navigate to the following location on the Security Server
    •           %ProgramFiles%\Windows Essential Business Server\Bin\ISA
  2. Double-click on ISAAutorun.exe to start TMG setup. 
    clip_image002[11]  
  3. On the “Microsoft Forefront TMG Setup” screen, click on “Install Forefront TMG”. 
    clip_image002[13]  
  4. Select “Install Forefront Threat Management Gateway” and click on next.
  5. Accept the defaults on the Component Selection screen and click next. 
    clip_image002[15]  
  6. On the Internal Network screen use these steps to configure your network settings:
    1. Click on Add
    2. In the “Addresses” window that comes up next, click on “Add Adapter”.
    3. Select the network adapter for your internal network and click OK, then OK again.     
      clip_image002[17]  
    4. Once you are back to the “Internal Network” screen, click next.
  7. Click Next to acknowledge the “Setup will restart these services on the server: SNMP Service, IIS Admin Service, World Wide Web Publishing Service and Microsoft Operations Manager Service” message.
  8. Click “Install” to begin the setup of Forefront TMG on the server.
After installation has completed and Forefront TMG console is launched for the first time, the TMG console will launch the Getting Started Wizard.
Before proceeding to restore the settings, click on “Close” at the “Getting started wizard” screen. This brings up a confirmation window, asking “Are you sure you want to close the Getting Started Wizard?” Uncheck the box against “Automatically launch the wizard the next time the Forefront TMG Management console is launched” and click Yes.

Restore the Forefront TMG Settings

To restore the settings previously backed up before uninstalling Forefront TMG, use the following steps:
1. Launch the Essential Business Server Administration Console.
2. Click the Security tab, and then click on Network firewall. In the tasks pane, click Apply Saved Settings.
3. In the Open dialog box, choose the name and the location of the XML file saved in the “Backup the existing firewall settings” section of this article. Click Open to apply the settings.
4. Once the settings have been committed, a “the network firewall settings were applied successfully” dialog will appear. Click Close to dismiss the dialog.
If you were unable to back up your most recent settings before uninstalling Forefront TMG, you can restore TMG to the settings configured during the EBS installation using these steps:
%ProgramFiles%\Windows Essential Business Server\Data
1. Launch the Windows® Essential Business Server Administration Console on the Management server
2. Click on the Security tab
3. Highlight Network Firewall and click on Restore Default Network Firewall Settings under Network Firewall Tasks. 
clip_image002[21]

4. In the resulting dialog, click Yes to restore the default settings.
5. Click close to dismiss the “Default network firewall settings were successfully restored” dialog.