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
| it "empty grapth form empty token stream" do | |
| graph = parser.parse([]) | |
| graph.begin.should have(1).next | |
| graph.begin.next.first.should be graph.end | |
| end |
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
| (defquery cergo-statu (cargo) | |
| (render-view :cergo-statu (cargo-history carg))) | |
| (defcomand create-cargo (destination) | |
| (emit 'cargo-assumed | |
| :id (gen-id) | |
| :specyfiacation (make-delivery-specyfiaction destination))) | |
| (defcomand shedule-carrier (form to cargo) | |
| (emit 'transport-sheduled :form form :to to :cargo cargo)) |
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
| package eu.devhe.testng.beans; | |
| public class BasicBean { | |
| private String name; | |
| private String code; | |
| public BasicBean() { | |
| super(); |
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
| module stozek(h,r1,r2){ | |
| wall = 1; | |
| difference() { | |
| cylinder(h, r1, r2); | |
| cylinder(h, r1-wall, r2-wall); | |
| } | |
| } | |
| module profil(l,a,b,d) { | |
| difference(){ |
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
| --- lxc-0.9.0/configure.ac | |
| +++ lxc-0.9.0/configure.ac | |
| @@ -60,14 +60,14 @@ AM_CONDITIONAL([ENABLE_RPATH], [test "x$enable_rpath" = "xyes"]) | |
| # Documentation (manpages) | |
| AC_ARG_ENABLE([doc], | |
| - [AC_HELP_STRING([--enable-doc], [make mans (require docbook2x-man installed) [default=auto]])], | |
| + [AC_HELP_STRING([--enable-doc], [make mans (require docbook2man.pl installed) [default=auto]])], | |
| [], [enable_doc=auto]) | |
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
| struct Kanal { | |
| int gora; | |
| int dol; | |
| }; | |
| Kanal zielony = { 2, 5}; | |
| Kanal czerwony = { 3, 6}; | |
| Kanal zolty = { 4, 7}; |
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
| OpenSSH_6.4, OpenSSL 1.0.1e 11 Feb 2013 | |
| debug1: Reading configuration data /home/bambucha/.ssh/config | |
| debug1: Reading configuration data /etc/ssh/ssh_config | |
| debug1: Connecting to localhost [::1] port 2223. | |
| debug1: Connection established. | |
| debug1: identity file /home/bambucha/.ssh/id_rsa type 1 | |
| debug1: identity file /home/bambucha/.ssh/id_rsa-cert type -1 | |
| debug1: identity file /home/bambucha/.ssh/id_dsa type -1 | |
| debug1: identity file /home/bambucha/.ssh/id_dsa-cert type -1 | |
| debug1: Enabling compatibility mode for protocol 2.0 |
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
| def deleteAll(value: Seq[Model]) = { | |
| value.foldLeft(Query(this)){ (query, model: Model) => | |
| query.filter(_.store === model.name) | |
| }.delete | |
| } |
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
| static | |
| int ** | |
| some something(int * tab,int size) | |
| { | |
| int ** main_tab = malloc(size * sizeof(int *)); | |
| int i=0,j=0; | |
| for(i = 0; i < size; ++i){ | |
| main_tab[i] = malloc(tab[i] * sizeof(int)); | |
| for(j = 0; j < tab[i]; ++j){ | |
| main_tab[i][j] = j; |
OlderNewer