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
| #subscribe | |
| curl -d 'email=me@mail.com' http://boxcar.io/devices/providers/MH0S7xOFSwVLNvNhTpiC/notifications/subscribe | |
| #send message | |
| curl -d 'email=me@mail.com' \ | |
| -d '¬ification[from_screen_name]=Hello' \ | |
| -d '¬ification[message]=github:gist is great' \ | |
| http://boxcar.io/devices/providers/MH0S7xOFSwVLNvNhTpiC/notifications |
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
| git fetch | |
| git diff --stat ...origin/dev | |
| git merge origin/dev |
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
| --nach Umstellung der Klassen (ABF) müssen noch diese Anpassungen (sync) gemacht werden | |
| BEGIN WORK; | |
| -- Legt eine neue Sequenz mit dem Namen "gup_massnahmenbezug_seq" an und startet bei dem Wert "1". | |
| CREATE SEQUENCE gup_massnahmenbezug_seq MINVALUE 1 START 1; | |
| CREATE TABLE gup_massnahmenbezug( id INTEGER PRIMARY KEY DEFAULT nextval('gup_massnahmenbezug_seq'), ort VARCHAR(32) NULL ); | |
| COMMIT WORK; | |
| -- Löscht die Spalte "gup_massnahmen_ufer_links" aus der Tabelle "gup_planungsabschnitt". | |
| ALTER TABLE gup_planungsabschnitt DROP COLUMN gup_massnahmen_ufer_links; | |
| -- Löscht die Spalte "gup_massnahmen_umfeld_links" aus der Tabelle "gup_planungsabschnitt". | |
| ALTER TABLE gup_planungsabschnitt DROP COLUMN gup_massnahmen_umfeld_links; |
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
| with recursive derived_index(ocid,oid,acid,aid,depth) as ( | |
| select class_id,object_id,cast (null as int), cast (null as int),0 | |
| from GEOSUCHE where class_id in | |
| ( | |
| with recursive derived_child(father,child,depth) as ( | |
| select father,father,0 from cs_class_hierarchy where father=183 | |
| union all | |
| select ch.father,ch.child,dc.depth+1 from derived_child dc,cs_class_hierarchy ch where ch.father=dc.child) | |
| select distinct father from derived_child limit 100 |
NewerOlder