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
| #!/bin/bash | |
| # | |
| # Parses DHCP options from openvpn to update resolv.conf | |
| # To use set as 'up' and 'down' script in your openvpn *.conf: | |
| # up /etc/openvpn/update-resolv-conf | |
| # down /etc/openvpn/update-resolv-conf | |
| # | |
| # Used snippets of resolvconf script by Thomas Hood <[email protected]> | |
| # and Chris Hanson | |
| # Licensed under the GNU GPL. See /usr/share/common-licenses/GPL. |
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
| % siege http://localhost:4567/1/edit -c 100 -t 60s -b | |
| ** SIEGE 2.72 | |
| ** Preparing 100 concurrent users for battle. | |
| The server is now under siege... | |
| Lifting the server siege... done. | |
| Transactions: 5889 hits | |
| Availability: 100.00 % | |
| Elapsed time: 59.88 secs | |
| Data transferred: 19.58 MB |
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
| Test2_hello( ) | |
| { | |
| llOwnerSay( (string)"Hello Other File!" ); | |
| } | |
| list Potato_football = [12]; | |
| Potato_say_something( ) | |
| { | |
| llOwnerSay( (string)"ERMAHGERD PERTATERS!" ); | |
| llOwnerSay( (string)"PERFOOTBLLLZ " + (string)( llList2Integer(Potato_football, 0) ) + " " + (string)( Potato_flip( ) ) ); | |
| if(1){ state thisotherone; }; |
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
| list Potato_football = [12]; | |
| Potato_say_something( ) | |
| { | |
| llOwnerSay( (string)"ERMAHGERD PERTATERS!" ); | |
| llOwnerSay( (string)"PERFOOTBLLLZ " + (string)( llList2Integer(Potato_football, 0) ) ); | |
| } | |
| default | |
| { | |
| state_entry( ) | |
| { |
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
| tristan@tristan-G41M-ES2L:~/Dropbox/ruby2lsl$ ./convert.rb test.rb | |
| File: /home/tristan/Dropbox/ruby2lsl/test.rb | |
| Sexp: s(:class, :Default, nil, s(:scope, s(:block, s(:defn, :initialize, s(:args), s(:scope, s(:block, s(:lasgn, :potato, s(:lit, 5)), s(:lasgn, :potato, s(:call, s(:lvar, :potato), :+, s(:arglist, s(:lit, 9)))), s(:lasgn, :c, s(:dstr, "silly little people ", s(:evstr, s(:lvar, :potato)))), s(:call, nil, :puts, s(:arglist, s(:dstr, "Hello world! There are some ", s(:evstr, s(:lvar, :c))))), s(:call, nil, :puts, s(:arglist, s(:dstr, "This is a number ", s(:evstr, s(:call, s(:call, s(:lit, 5), :+, s(:arglist, s(:lit, 5))), :+, s(:arglist, s(:lvar, :potato)))), s(:str, " and then an embedded function: "), s(:evstr, s(:call, nil, :llToUpper, s(:arglist, s(:str, "dolfin"))))))), s(:call, nil, :puts, s(:arglist, s(:lvar, :c)))))), s(:defn, :touch_start, s(:args, :num_detected), s(:scope, s(:block, s(:lasgn, :banana_lama, s(:call, s(:call, s(:call, s(:lit, 1), :+, s(:arglist, s(:lit, 2))), :+, s(:arglist, |
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
| tristan@tristan-G41M-ES2L:~/Dropbox/ruby2lsl$ ./convert.rb test.rb | |
| File: /home/tristan/Dropbox/ruby2lsl/test.rb | |
| Sexp: s(:class, :Default, nil, s(:scope, s(:block, s(:defn, :initialize, s(:args), s(:scope, s(:block, s(:call, nil, :puts, s(:arglist, s(:str, "Hello world!"))), s(:call, nil, :puts, s(:arglist, s(:dstr, "This is a number ", s(:evstr, s(:call, s(:lit, 5), :+, s(:arglist, s(:lit, 5)))), s(:str, " and then an imbedded funciton "), s(:evstr, s(:call, nil, :llToUpper, s(:arglist, s(:str, "dolfin")))))))))), s(:defn, :touch_start, s(:args, :num_detected), s(:scope, s(:block, s(:call, nil, :puts, s(:arglist, s(:dstr, "", s(:evstr, s(:lvar, :num_detected)), s(:str, " people touched me! OMG! the first guy was "), s(:evstr, s(:call, nil, :llDetectedName, s(:arglist, s(:lit, 0))))))))))))) | |
| Converted: | |
| default | |
| { | |
| state_entry( ) | |
| { | |
| llOwnerSay( "Hello world!" ); | |
| llOwnerSay( "This is a number " + (string)( 5 +( 5 ) ) + " and then an imbedded funciton " + (string)llToUpper( "dolfin" ) ); |
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
| debug - websocket writing 5:::{"name":"updateObjects","args":[{"5ab18ccb-a87f-45c6-83c6-5ad12a7db6b6":{"pos":[0,-64578556,0],"rot":[0,0,0,1]},"a69ece29-539c-42c8-9172-79bc511cccbe":{"pos":[0,-59051072,0],"rot":[0,0,0,1]},"a6b158f7-eede-4f4d-8c39-4b7a723adeca":{"pos":[0,-58969280,0],"rot":[0,0,0,1]},"e7f33bd1-0efa-40cb-85bc-83c3a7f65b1f":{"pos":[0,-58873856,0],"rot":[0,0,0,1]},"be083b47-6626-48c6-966d-486f7b5a60e6":{"pos":[0,-58462828,0],"rot":[0,0,0,1]},"34d86528-b204-4f24-a213-72b3ca1927bd":{"pos":[0,-58087200,0],"rot":[0,0,0,1]},"6f63fb39-59e2-4b75-9279-fe6e066db40a":{"pos":[0,-58016136,0],"rot":[0,0,0,1]},"32f66442-ec95-4816-96d2-a8ed93ec2e7c":{"pos":[0,-56993452,0],"rot":[0,0,0,1]},"58f5e578-e19d-441c-a9b8-dc937a758c72":{"pos":[0,-2266383.75,0],"rot":[0,0,0,1]},"d95b4f75-7b9c-4ba5-9048-3d7085021603":{"pos":[0,-2229861.25,0],"rot":[0,0,0,1]},"282685e2-da4b-4551-996f-8662655d7e12":{"pos":[0,-1840458.75,0],"rot":[0,0,0,1]},"2e9ba5a1-50b3-4712-b8f9-3d793ec751ab":{"pos":[0,-1697928.375,0],"rot":[0,0,0,1]}," |
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
| // t_loc is Target Location | |
| // target is Target Key | |
| list details = llGetObjectDetails(target,[OBJECT_POS,OBJECT_VELOCITY]); | |
| t_loc = llList2Vector(details,0); | |
| t_loc += llList2Vector(details,1)*llVecDist(t_loc,llGetPos())/bullet_speed; |
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
| // TomGUI!!! | |
| // vAlphaPotato | |
| reset() | |
| { | |
| llPassTouches(TRUE); | |
| llSetLinkPrimitiveParamsFast(LINK_ALL_CHILDREN,[PRIM_SIZE,<0.01,0.01,0.01>,PRIM_POS_LOCAL,<0.0,0.0,0.0>,PRIM_COLOR,ALL_SIDES,<1.0,1.0,1.0>,0.0]); | |
| integer i; | |
| integer to = llGetNumberOfPrims(); | |
| for(i=2;i<=to;i++) |
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
| Scanning dependencies of target firestorm-bin | |
| [ 45%] [ 45%] Building CXX object newview/CMakeFiles/firestorm-bin.dir/NACLjclslpreproc.o | |
| Building CXX object newview/CMakeFiles/firestorm-bin.dir/groupchatlistener.o | |
| /media/7e142b49-33ad-432f-9d63-b9742722d7b5/phoenix/phoenix-firestorm-lgpl/indra/newview/NACLjclslpreproc.cpp:1:1: warning: missing terminating ' character [enabled by default] | |
| /media/7e142b49-33ad-432f-9d63-b9742722d7b5/phoenix/phoenix-firestorm-lgpl/indra/newview/NACLjclslpreproc.cpp:1:1: error: missing terminating ' character | |
| /media/7e142b49-33ad-432f-9d63-b9742722d7b5/phoenix/phoenix-firestorm-lgpl/indra/newview/NACLjclslpreproc.cpp:19:2: error: stray ‘\223’ in program | |
| /media/7e142b49-33ad-432f-9d63-b9742722d7b5/phoenix/phoenix-firestorm-lgpl/indra/newview/NACLjclslpreproc.cpp:19:2: error: stray ‘\224’ in program | |
| /media/7e142b49-33ad-432f-9d63-b9742722d7b5/phoenix/phoenix-firestorm-lgpl/indra/newview/NACLjclslpreproc.cpp:3:12: error: expected constructor, destructor, or type conversion before ‘Sy |