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/python | |
| # Documentation: | |
| # Takes a byte-stream on input and | |
| # produces the hex values that would | |
| # produce those bytes if ran through the | |
| # sendstring program. | |
| # | |
| # example usage: | |
| # cat smoke.bytes | python byte2str.python |
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
| Location: 0x7ff89bb23018 | |
| size : 32 | |
| used : 1 | |
| prev use: 1 | |
| tags : 35 | |
| Location: 0x7ff89bb23018 | |
| size : 32 | |
| used : 1 | |
| prev use: 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
| #!/bin/bash | |
| curl http://www.pixeltailgames.com/elevator/downloads/full/latest.php > packaged.zip | |
| unzip packaged.zip /usr/bin/steam/steamapps/seth1010/garrysmod/garrysmod/gamemodes |
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
| var fact = (function (x) { | |
| return (function () { | |
| if ((x < 0)) { | |
| return (-fact((-x))); | |
| } else if ((x > 0)) { | |
| return (x * fact((x - 1))); | |
| } else if (true) { | |
| return 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
| var Record = (function () { | |
| function Record(inner) { | |
| this.__inner = inner; | |
| this.__history = []; | |
| var _this = this; | |
| var wrapFunction = function (funcName) { | |
| this[funcName] = function () { |
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
| #ifndef READ_OUT_H_GUARD | |
| #define READ_OUT_H_GUARD | |
| #include <stdint.h> | |
| #include <cstdio> | |
| #include "./fileindexutil.h" | |
| uint64_t read64(FILE* file) { | |
| uint64_t out; |
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
| Hello World |
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
| Error extracting zip entry 'scala/sys/process/0004-ProcessImpl$SequentialProcess$$anonfun$runAndExitValue$5$$anonfun$apply$3.js.map' to '/media/sf_Ty/workspace/Personal/Scala/Pipe/math/target/streams/compile/externalDependencyClasspath/$global/package-js/extracted-jars/scalajs-library_2.10-0.3.jar--627bf5f9/scala/sys/process/0004-ProcessImpl$SequentialProcess$$anonfun$runAndExitValue$5$$anonfun$apply$3.js.map': java.io.FileNotFoundException: /media/sf_Ty/workspace/Personal/Scala/Pipe/math/target/streams/compile/externalDependencyClasspath/$global/package-js/extracted-jars/scalajs-library_2.10-0.3.jar--627bf5f9/scala/sys/process/0004-ProcessImpl$SequentialProcess$$anonfun$runAndExitValue$5$$anonfun$apply$3.js.map (Operation not permitted) | |
| at sbt.ErrorHandling$.translate(ErrorHandling.scala:11) | |
| at sbt.IO$.next$1(IO.scala:215) | |
| at sbt.IO$.sbt$IO$$extract(IO.scala:230) | |
| at sbt.IO$$anonfun$unzipStream$1.apply(IO.scala:193) | |
| at sbt.IO$$anonfun$unzipStream$1.apply(IO.scala:193) | |
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
| var dblib = require('somedb'); | |
| var wr = require('mywrapper'); | |
| var db = wr(dblib); | |
| // query | |
| function queryExample() { | |
| var client = yield db.connect('postgres://postgres:1234@localhost/postgres'); | |
| var table = yield client.getTable('users'); |
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
| $ rustc image.rs | |
| image.rs:42:9: 43:6 error: cannot infer an appropriate lifetime for autoref due to conflicting requirements | |
| image.rs:42 self.pixels.as_mut_slice() | |
| image.rs:43 } | |
| image.rs:42:9: 42:20 note: first, the lifetime cannot outlive the expression at 42:8... | |
| image.rs:42 self.pixels.as_mut_slice() | |
| ^~~~~~~~~~~ | |
| image.rs:42:9: 42:20 note: ...so that automatically reference is valid at the time of borrow | |
| image.rs:42 self.pixels.as_mut_slice() |