This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| psql -U postgres -W -d database_name -f my_dump_file.sql -h localhost |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ps aux | cut -d " " -f1 | sort | uniq | grep -v USER |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <snippet> | |
| <content><![CDATA[/** | |
| * ${4:undocumented function} | |
| * | |
| * @param $7 | |
| * @return ${5:void} | |
| * @author ${PHPDOC_AUTHOR:$TM_FULLNAME}$6 | |
| * | |
| **/ | |
| $1function $2($3) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <IfModule pagespeed_module> | |
| ModPagespeed on | |
| ModPagespeedFileCachePath /var/mod_pagespeed/cache/ | |
| # Direct Apache to send all HTML output to the mod_pagespeed output handler. | |
| AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html | |
| # Turn this on if /var/mod_pagespeed/cache/ is on a ext3 filesystem. | |
| ModPagespeedSharedMemoryLocks on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT AddGeometryColumn('geoms', 'the_geom', 25830, 'MULTIPOLYGON', 2 ); | |
| Trigger sup. ha | |
| BEGIN | |
| IF (TG_OP = 'INSERT') THEN | |
| NEW.supha := area(NEW.the_geom)/10000; | |
| ELSIF (TG_OP = 'UPDATE') THEN | |
| IF NOT (NEW.the_geom ~= OLD.the_geom) THEN | |
| NEW.supha := area(NEW.the_geom)/10000; |
NewerOlder