Showing latest added snippets.

LdapSecurityBeanStyle - Snippet icon LdapSecurityBeanStyle
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans xmlns="http://www.springframework.org/schema/beans"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
  5. http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-se
See the complete snippet
Language: Other
Tags:
Submitted By: bambo1543
snort - Snippet icon snort
  1. ./configure --with-mysql --enable-dynamicplugin --prefix=/var/snort
  2.  
See the complete snippet
Language: Other
Tags:
Submitted By: Smeevil
C01-03 - Snippet icon C01-03
  1. package {
  2. import flash.display.Sprite;
  3.  
  4. public class ProgrammingBasics extends Sprite
  5. {
  6. public function ProgrammingBasics()
  7. {
  8. var quantity:Number = 5 + 3;
  9. trace(quantity);
  10. quantity = quantity % 2;
  11. /* modulo (%) is going to return the remainder when the
  12. second operand is divided into the first 8/2 =4, R0
  13. Using 3 we'll get 2*/
  14. trace(quantity);
  15. }
  16. }
  17. }
  18.  
See the complete snippet
Language: ActionScript
Tags: modulo
Submitted By: underlux
C01-02 - Snippet icon C01-02
  1. package {
  2. import flash.display.Sprite;
  3.  
  4. public class ProgrammingBasics extends Sprite
  5. {
  6. public function ProgrammingBasics()
  7. {
  8. var quantity:Number = 5 + 3;
  9. trace(quantity);
  10. quantity += 1;
  11. /* instead of quantity = quantity + 1 it is possible to
  12. use a shortcut: quantity += 1
  13. the same is true for *=, -=, /= */
  14. trace(quantity);
  15. }
  16. }
  17. }
  18.  
See the complete snippet
Language: ActionScript
Tags: shortcut
Submitted By: underlux
Beacon.h - Snippet icon Beacon.h
  1. //
  2. // Beacon.h r47
  3. // Pinch Media Analytics Library
  4. //
  5. // Created by Jesse Rohland on 4/6/08.
  6. // Copyright 2008 PinchMedia. All rights reserved.
  7. //
  8.  
  9. #import <UIKit/UIKit.h>
  10. #import <CoreLocation/CoreLocation.h>
  11.  
  12. @interface Beacon : NSObject <CLLocationManagerDelegate> {}
  13.  
  14. + (id)initAndStartBeaconWithApplicationCode:(NSString *)theApplicationCode useCoreLocation:(BOOL)coreLocation useOnlyWiFi:(
See the complete snippet
Language: Other
Tags:
Submitted By: canbuffi
C01-04 - Snippet icon C01-04
  1. package {
  2. import flash.display.Sprite;
  3.  
  4. public class ProgrammingBasics extends Sprite
  5. {
  6. public function ProgrammingBasics()
  7. {
  8. var titleName:String = "ActionScript 3.0";
  9. trace(titleName);
  10. titleName += "\nEssential Training";
  11. trace(titleName);
  12.  
  13. operand to the first.
  14. /* "Concatenation Operator" ( + ) will append the second
  15.  
  16. Can also use the same shortcut for thi
See the complete snippet
Language: ActionScript
Tags: modulo
Submitted By: underlux
Amex Font - Snippet icon Amex Font
  1. <font size="-1" color="#333333" face="Arial, Helvetica, sans-serif" style="font: 12px/16px Arial, Helvetica, sans-serif;">TEXT</font>
  2.  
  3.  
See the complete snippet
Language: Other
Tags:
Submitted By: macgruder
Create A Maintenance Page For Your WordPress Blog - Snippet icon Create A Maintenance Page For Your WordPress Blog
The .htaccess file, which controls the Apache Web server, is very useful for these kinds of tasks. I
  1. //The solution. To solve this problem, we use the power of the .htaccess file. Just follow the steps below to get started.
  2. //Create your maintenance page. A simple WordPress page is generally sufficient.
  3. //Find your .htaccess file (located at the root of your WordPress installation) and create a back-up.
  4. //Open your .htaccess file for editing.
  5. //Paste the following code:
  6.  
  7. RewriteEngine on
  8. Rewrit
See the complete snippet
Language: HTML
Tags:
Submitted By: maeghan
zabbix install - Snippet icon zabbix install
  1. ./configure --enable-server --with-mysql --with-net-snmp --with-libcurl --enable-agent --enable-static --prefix /var/zabbix
See the complete snippet
Language: Other
Tags:
Submitted By: Smeevil
syslog-ng - Snippet icon syslog-ng
  1. rpm repository http://www.silfreed.net/download/repo/rhel/4/i386/silfreednet/RPMS/
  2. docs : http://www.novell.com/coolsolutions/feature/18044.html
See the complete snippet
Language: Other
Tags:
Submitted By: Smeevil

Web Analytics