Dreamweaver Help / Server behaviors, databases, and bindings in Dreamweaver CC

By Zilli,

This document addresses queries around server behaviors, the Bindings panel, and databases in Dreamweaver CC released on June 18 2013.

In Dreamweaver CC, server behaviors are available as an extension, Deprecated_ServerBehaviorsPanel_Support.zxp. After you install the extension, the server behaviors feature is enabled and extensions dependent on it work as they did previously.

In the CC release, based on your OS, you can find the extension at the locations below.

  •  Vista/Windows 7: C:/Program Files (x86)/Adobe/Adobe Dreamweaver CC/Configuration/DisabledFeatures
  •  Mac OS X: /Applications/Adobe Dreamweaver CC/Configuration/DisabledFeatures

Note:

MXP type extensions are not supported in Extension Manager CC. The MXP format has been replaced with the ZXP extension format.

An MXP extension can be converted to a ZXP extension using the “Convert MXP Extension To ZXP” tool. This tool can be found in the Tools menu in Extension Manager for CS6.

source: http://helpx.adobe.com/x-productkb/policy-pricing/dreamweaver-cc-server-extensions.html

Get(FoundCount) – Filemaker functions

By Zilli,

Get(FoundCount)

Purpose
Returns a number that represents the number of records in the current found set.

Format
Get(FoundCount)

Parameters
None

Data type returned
number

Description
If there are multiple windows open in the current database file, each window can have its own found count value, but results are returned for only the foreground window.
If you specify the context for the current calculation, this function will be evaluated based on that context; otherwise, it will be evaluated based on the context of the current window.
Note For information on how functions evaluate differently on the host versus the client, search the FileMaker Knowledge Base available at www.filemaker.com/kb.

Examples
Returns 7 when there are 7 records in the current found set.

Issue report
http://forums.filemaker.com/posts/279a1a7a76

Manually update a new version of wordpress

By Zilli,

1. back up all your wordpress files and databases
2. download the latest version of wordpress
3. deactivate all your plugins: Go to Plugins >Installed plugins
4. Now keep the following files/folders in your web directory:

  • wp-config.php
  • wp-content
  • .htaccess

  Category: OS
  Comments: None

Downgrade Synology DSM 5.0 to 4.3

By Zilli,

What you’ll need:
DSM5.0-4482 (or newer is installed) for your particular DS.
DSM4.3-3827 for your particular DS.
Assistant Synology DS
A network and some cables.
A disk to be used for installation.
Your data, back up a safe place.
A DiskStation be downgraded.
Get the DSM versions here

… Continue reading

  Category: OS
  Comments: None

How to quickly add a route in OSX

By Zilli,

sudo route -n add 10.10.10.10/16 192.168.4.11
sudo route -n delete 10.10.10.10/16 192.168.4.11

Viewing route table with:

netstat -nr

ROUTE(8) BSD System Manager’s Manual

NAME
route — manually manipulate the routing tables

SYNOPSIS
route [-dnqtv] command [[modifiers] args]

DESCRIPTION
Route is a utility used to manually manipulate the network routing tables. It normally is not needed,
as a system routing table management daemon such as routed(8), should tend to this task.

The route utility supports a limited number of general options, but a rich command language, enabling
the user to specify any arbitrary request that could be delivered via the programmatic interface dis-cussed discussed
cussed in route(4).

https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man8/route.8.html

CLI – List of all MySQL command

By Zilli,

List of all MySQL commands:
Note that all text commands must be first on line and end with ‘;’

?         (\?) Synonym for `help'.
clear     (\c) Clear the current input statement.
connect   (\r) Reconnect to the server. Optional arguments are db and host.
delimiter (\d) Set statement delimiter.
edit      (\e) Edit command with $EDITOR.
ego       (\G) Send command to mysql server, display result vertically.
exit      (\q) Exit mysql. Same as quit.
go        (\g) Send command to mysql server.
help      (\h) Display this help.
nopager   (\n) Disable pager, print to stdout.
notee     (\t) Don't write into outfile.
pager     (\P) Set PAGER [to_pager]. Print the query results via PAGER.
print     (\p) Print current command.
prompt    (\R) Change your mysql prompt.
quit      (\q) Quit mysql.
rehash    (\#) Rebuild completion hash.
source    (\.) Execute an SQL script file. Takes a file name as an argument.
status    (\s) Get status information from the server.
system    (\!) Execute a system shell command.
tee       (\T) Set outfile [to_outfile]. Append everything into given outfile.
use       (\u) Use another database. Takes database name as argument.
charset   (\C) Switch to another charset. Might be needed for processing binlog with multi-byte charsets.
warnings  (\W) Show warnings after every statement.
nowarning (\w) Don't show warnings after every statement.

  Category: OS
  Comments: None

CLI essential Linux commands

By Zilli,

Find file name 
find / -type f -name RRDs.pm

Find folder name
find / -type d -name ‘folder name’

Find text
find /into/this/dir -name ‘*.php’ -print0 | xargs -r -0 grep -l texttofind

Sort file size in reverse order
ls -lSr

Show last rows of file
tail -f filename

Display active process
ps -w | grep spamd

info processor architecture
cat /proc/cpuinfo | grep model

Zip compress
zip -rv file.zip folder_to_zip
unzip -v filename.zip

To extract all members of letters.zip into the current directory only:
unzip -j letters

To test letters.zip, printing only a summary message indicating whether the archive is OK or not:
unzip -tq letters

To test all zipfiles in the current directory, printing only the summaries:
unzip -tq \*.zip