- cpfw2ns – Checkpoint to Juniper converter (outdated?)
- FWdoc – CheckPoint converter, verifier, parser
- Fortinet – Checkpoint – Cisco – Netscreen converter
- Cisco Security Conversion Tool (SCT) – CheckPoint – ASA
- CPRules – CheckPoint to HTML converter
Category: Applications
How to find live web-cams
Google for the following strings to find, watch and control live video- web- CC- cams. And … learn how to secure your network 😉
Useful firefox settings
The default settings are in bold.
- media.autoplay.enabled (true|false)
- image.animation_mode (normal|once|none)
- security.enable_java (true|false)
- browser.sessionstore.interval (10000 in msecs, equivalent to 10secs)
- gfx.color_management.enabled (true|false)
- browser.tabs.closeButtons 1 ( 0 – on the active tab only, 1- all tabs, 2- no close button, 3- at the end of the tab strip)
- dom.max_script_run_time (10 sec)
- layout.spellcheckDefault (0 – disable the spell checker, 1 – spell checker for multi-lines text boxes only, 2 – enable the spell checker for all text boxes)
- network.http.pipelining (true|false)
- network.http.proxy.pipelining (true|false)
- network.http.pipelining.maxrequests (4, 4-8)
- network.http.max-connections (30)
- network.http.max-connections-per-server (15)
- extensions.checkCompatibility ( New -> Boolean)
- security.dialog_enable_delay (2000 in msec, 0 – start installation immediately)
- nglayout.initialpaint.delay (New -> Integer)
- browser.blink_allowed (true|false)
- middlemouse.paste (true|false)
- ui.submenuDelay (New -> Integer)
- network.prefetch-next (true|false)
- browser. cache.check_doc_frequency (0 – check once per browser session, 1 – Check every time I view the page, 2 – Never check (always use cached page), 3 – Check when the page is out of date)
getElementsByClassName
getElementsByClassName is defined in HTML5. From WhatWG:
How to replace the WP comment form with a WYSIWYG editor
You can replace the standard WordPress comment form with a built-in WYSIWYG editor TinyMCE.
Find the file where the comment form is defined. Usually it’s comment.php in your theme
For WP <3.0 it looks something like:
Firefox and places.sqlite tricks
Sometimes you need to remotely get your bookmarks, history or check the top-10 sites, etc. Here’s some neat tricks to get the info from the Firefox Places file called places.sqlite, which is an SQLite database with the following tables (see also the picture):
Continue reading “Firefox and places.sqlite tricks”
Bluefish 1.3.3 under OpenSolaris or Solaris Nevada
To speed things up Bluefish 1.3.3 has static inline functions. However, GCC thinks that the “inlineness” is defined twice:
bftextview2_scanner.c:305: error: duplicate `inline’
bftextview2_scanner.c:339: error: duplicate `inline’
bftextview2_scanner.c:383: error: duplicate `inline’
bftextview2_scanner.c:432: error: duplicate `inline’
gmake[3]: *** [bftextview2_scanner.o] Error 1
gmake[3]: Leaving directory `/var/tmp/bluefish-unstable-1.3.3/src’
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/var/tmp/bluefish-unstable-1.3.3/src’
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/var/tmp/bluefish-unstable-1.3.3/src’
gmake: *** [all-recursive] Error 1
This is an excerpt from the source:
__inline__
#endif
static inline void paint_margin_line(BluefishTextView *btv,
GdkEventExpose * event,
gint w,gint height) {
To fix remove one of the inline definitions for all functions. For example, change from:
static inline void paint_margin_line(BluefishTextView *btv,
GdkEventExpose * event,
gint w,gint height) {
to
GdkEventExpose * event,
gint w,gint height) {
Also see the previous post (/archives/432) on Bluefish.
How to recover lost information from SE cache
http://www.google.com/search?hl=en&safe=off&q=site%3AYOUR SITE&btnG=Search
http://yandex.ru/yandsearch?serverurl=YOUR SITE&lr=187
How to compile Bluefish 1.3.x under OpenSolaris or Solaris Nevada
- Get intltool package (for example, from blastwave)
If you use the bundled intltool, you will get the following error:
Undefined first referenced
symbol in file
libintl_bind_textdomain_codeset bluefish.o
libintl_gettext bf_lib.o
libintl_textdomain bluefish.o
libintl_bindtextdomain bluefish.o
libintl_ngettext file.o
ld: fatal: symbol referencing errors. No output written to bluefish-unstable
collect2: ld returned 1 exit status
gmake[3]: *** [bluefish-unstable] Error 1
gmake[3]: Leaving directory `/var/tmp/bluefish-unstable-1.3.2/src’
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/var/tmp/bluefish-unstable-1.3.2/src’
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/var/tmp/bluefish-unstable-1.3.2/src’
gmake: *** [all-recursive] Error 1 - Set the LIBS variable:export LIBS=”-lsocket -lnsl -L/usr/csw/lib -lintl”
- Put /usr/gnu/bin directory in the first place in PATH. For example:export PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/usr/openwin/bin:
/sbin:/usr/dt/bin:/usr/sfw/bin:/usr/csw/bin:/usr/local/binThe reason is two different xgettext programs. The configure script wants the GNU version:
checking for xgettext… (cached) /usr/bin/xgettext
checking for msgmerge… /usr/bin/msgmerge
checking for msgfmt… (cached) /usr/bin/msgfmt
/usr/bin/xgettext: illegal option — version
Usage: xgettext [-a [-x exclude-file]] [-jns][-c comment-tag]
[-d default-domain] [-m prefix] [-M suffix] [-p pathname] files …
xgettext -h
ERROR: Cannot open file –version.
configure: error: GNU gettext tools not found; required for intltool
Compiling Wine 1.1.14 for OpenSolaris or Solaris Nevada
Update 15.02.2009 @ 14:04: Same for wine 1.1.15…
The following error:
ipstats.c:279: error: called object is not a function
ipstats.c: In function `getICMPStats’:
ipstats.c:472: error: called object is not a function
ipstats.c: In function `getIPStats’:
ipstats.c:641: error: called object is not a function
ipstats.c: In function `getTCPStats’:
ipstats.c:778: error: called object is not a function
ipstats.c: In function `getUDPStats’:
ipstats.c:862: error: called object is not a function
ipstats.c: In function `getNumWithOneHeader’:
ipstats.c:985: error: called object is not a function
ipstats.c: In function `getRouteTable’:
ipstats.c:1255: error: called object is not a function
ipstats.c: In function `getTcpTable’:
ipstats.c:1607: error: called object is not a function
gmake[2]: *** [ipstats.o] Error 1
gmake[2]: Leaving directory `/var/tmp/wine-1.1.14/dlls/iphlpapi’
gmake[1]: *** [iphlpapi] Error 2
gmake[1]: Leaving directory `/var/tmp/wine-1.1.14/dlls’
gmake: *** [dlls] Error 2
Is caused by redefinition of the ERR function in the wrong place. To fix move #include “wine/debug.h” behind all includes in dlls/iphlpapi/ipstats.c:
. . .
#include “config.h”
#include “wine/port.h”
#include “wine/debug.h”
#include
#include
. . .
to (line 126):
. . .
#include “windef.h”
#include “winbase.h”
#include “iprtrmib.h”
#include “ifenum.h”
#include “ipstats.h”
#include “wine/debug.h”
. . .