Permalink
Browse files

init

  • Loading branch information...
0 parents commit 5ebdb1ffaafc17d8f453d96ff51b4d323ace48f5 @blaenk committed May 12, 2015
Showing with 29,112 additions and 0 deletions.
  1. +35 −0 Cargo.toml
  2. +1 −0 input/CNAME
  3. 0 input/drafts/.gitkeep
  4. +8 −0 input/drafts/notes/bitcoin.markdown
  5. +545 −0 input/drafts/notes/diecast.markdown
  6. +19 −0 input/drafts/notes/distributed-systems.markdown
  7. +51 −0 input/drafts/notes/julia.markdown
  8. +28 −0 input/drafts/notes/rabbitmq.markdown
  9. BIN input/favicon.png
  10. BIN input/images/books/3dmath.jpg
  11. BIN input/images/books/algorithms.jpg
  12. BIN input/images/books/bitcoin.jpg
  13. BIN input/images/books/clojure-web-development.jpg
  14. BIN input/images/books/clojure.jpg
  15. BIN input/images/books/cppprimer.jpg
  16. BIN input/images/books/debugging.jpg
  17. BIN input/images/books/direct3d11.jpg
  18. BIN input/images/books/dspguide.jpg
  19. BIN input/images/books/erlang.jpg
  20. BIN input/images/books/gof.jpg
  21. BIN input/images/books/haskellconpar.jpg
  22. BIN input/images/books/hfdesignpatterns.jpg
  23. BIN input/images/books/iosnerdranch.jpg
  24. BIN input/images/books/java.jpg
  25. BIN input/images/books/kingkiller.jpg
  26. BIN input/images/books/kingkiller2.jpg
  27. BIN input/images/books/lyah.jpg
  28. BIN input/images/books/metaruby.jpg
  29. BIN input/images/books/mistborn.jpg
  30. BIN input/images/books/mistborn2.jpg
  31. BIN input/images/books/mistborn3.jpg
  32. BIN input/images/books/onchina.jpg
  33. BIN input/images/books/play.jpg
  34. BIN input/images/books/rwh.jpg
  35. BIN input/images/books/scala.jpg
  36. BIN input/images/books/swift.jpg
  37. BIN input/images/books/tlpi.jpg
  38. BIN input/images/books/wayofkings.jpg
  39. BIN input/images/books/wor.jpg
  40. BIN input/images/me.png
  41. BIN input/images/notes/algorithms/graphs/transitive-closure.png
  42. BIN input/images/notes/algorithms/quicksort/3waypartition.png
  43. BIN input/images/notes/algorithms/quicksort/partition.png
  44. BIN input/images/notes/algorithms/red-black-trees/delete_1.png
  45. BIN input/images/notes/algorithms/red-black-trees/delete_2a.png
  46. BIN input/images/notes/algorithms/red-black-trees/delete_2b.png
  47. BIN input/images/notes/algorithms/red-black-trees/delete_3.png
  48. BIN input/images/notes/algorithms/red-black-trees/delete_4.png
  49. BIN input/images/notes/algorithms/red-black-trees/insert_1.png
  50. BIN input/images/notes/algorithms/red-black-trees/insert_2.png
  51. BIN input/images/notes/algorithms/red-black-trees/insert_3.png
  52. BIN input/images/notes/algorithms/tries/trie.png
  53. BIN input/images/notes/diecast/dependency-graph.png
  54. BIN input/images/notes/game-development/engine-architecture.png
  55. BIN input/images/notes/haskell/amdahls-law.png
  56. BIN input/images/notes/machine-learning/bias-variance-tradeoff/average-hypothesis.png
  57. BIN input/images/notes/machine-learning/bias-variance-tradeoff/bias-variance-learning-curve.png
  58. BIN input/images/notes/machine-learning/bias-variance-tradeoff/complex-learning-curve.png
  59. BIN input/images/notes/machine-learning/bias-variance-tradeoff/constant-model.png
  60. BIN input/images/notes/machine-learning/bias-variance-tradeoff/learning-constant-model.png
  61. BIN input/images/notes/machine-learning/bias-variance-tradeoff/learning-linear-model.png
  62. BIN input/images/notes/machine-learning/bias-variance-tradeoff/linear-average-hypothesis.png
  63. BIN input/images/notes/machine-learning/bias-variance-tradeoff/linear-model.png
  64. BIN input/images/notes/machine-learning/bias-variance-tradeoff/linear-multiple-hypotheses.png
  65. BIN input/images/notes/machine-learning/bias-variance-tradeoff/linear-regression-learning-curve.png
  66. BIN input/images/notes/machine-learning/bias-variance-tradeoff/multiple-hypotheses.png
  67. BIN input/images/notes/machine-learning/bias-variance-tradeoff/simple-learning-curve.png
  68. BIN input/images/notes/machine-learning/bias-variance-tradeoff/vc-learning-curve.png
  69. BIN input/images/notes/machine-learning/epilogue/aggregation-1.png
  70. BIN input/images/notes/machine-learning/epilogue/aggregation-2.png
  71. BIN input/images/notes/machine-learning/epilogue/aggregation-3.png
  72. BIN input/images/notes/machine-learning/epilogue/aggregation-4.png
  73. BIN input/images/notes/machine-learning/epilogue/learning-diagram.png
  74. BIN input/images/notes/machine-learning/epilogue/ml-map.png
  75. BIN input/images/notes/machine-learning/epilogue/prior-1.png
  76. BIN input/images/notes/machine-learning/epilogue/prior-2.png
  77. BIN input/images/notes/machine-learning/kernel-methods/margin-violation.png
  78. BIN input/images/notes/machine-learning/kernel-methods/radial-basis-function-example.png
  79. BIN input/images/notes/machine-learning/kernel-methods/seriously-non-separable.png
  80. BIN input/images/notes/machine-learning/kernel-methods/slightly-non-separable.png
  81. BIN input/images/notes/machine-learning/kernel-methods/types-of-support-vectors.png
  82. BIN input/images/notes/machine-learning/linear-model-ii/non-linear-case-1-transformed.png
  83. BIN input/images/notes/machine-learning/linear-model-ii/non-linear-case-1.png
  84. BIN input/images/notes/machine-learning/linear-model-ii/non-linear-case-2.png
  85. BIN input/images/notes/machine-learning/linear-model-ii/sigmoid.png
  86. BIN input/images/notes/machine-learning/neural-networks/and-gate.png
  87. BIN input/images/notes/machine-learning/neural-networks/backpropagated-delta.png
  88. BIN input/images/notes/machine-learning/neural-networks/circular-perceptron-model.png
  89. BIN input/images/notes/machine-learning/neural-networks/final-delta.png
  90. BIN input/images/notes/machine-learning/neural-networks/impossible-perceptron-left.png
  91. BIN input/images/notes/machine-learning/neural-networks/impossible-perceptron-right.png
  92. BIN input/images/notes/machine-learning/neural-networks/impossible-perceptron.png
  93. BIN input/images/notes/machine-learning/neural-networks/multilayer-perceptron.png
  94. BIN input/images/notes/machine-learning/neural-networks/neural-network.png
  95. BIN input/images/notes/machine-learning/neural-networks/or-gate.png
  96. BIN input/images/notes/machine-learning/neural-networks/simple-layers.png
  97. BIN input/images/notes/machine-learning/neural-networks/tanh.png
  98. BIN input/images/notes/machine-learning/overfitting/case-study-1.png
  99. BIN input/images/notes/machine-learning/overfitting/case-study-1b.png
  100. BIN input/images/notes/machine-learning/overfitting/case-study-2.png
  101. BIN input/images/notes/machine-learning/overfitting/case-study-2b.png
  102. BIN input/images/notes/machine-learning/overfitting/complexity-impact.png
  103. BIN input/images/notes/machine-learning/overfitting/deterministic-noise.png
  104. BIN input/images/notes/machine-learning/overfitting/early-stopping.png
  105. BIN input/images/notes/machine-learning/overfitting/noise-impact.png
  106. BIN input/images/notes/machine-learning/overfitting/polynomial-overfit.png
  107. BIN input/images/notes/machine-learning/radial-basis-functions/large-gamma.png
  108. BIN input/images/notes/machine-learning/radial-basis-functions/lloyds-algorithm.png
  109. BIN input/images/notes/machine-learning/radial-basis-functions/nearest-neighbors-basis-function.png
  110. BIN input/images/notes/machine-learning/radial-basis-functions/nearest-neighbors.png
  111. BIN input/images/notes/machine-learning/radial-basis-functions/neural-network.png
  112. BIN input/images/notes/machine-learning/radial-basis-functions/rbf-centers.png
  113. BIN input/images/notes/machine-learning/radial-basis-functions/rbf-example.png
  114. BIN input/images/notes/machine-learning/radial-basis-functions/rbf-network.png
  115. BIN input/images/notes/machine-learning/radial-basis-functions/rbf-vs-svm.png
  116. BIN input/images/notes/machine-learning/radial-basis-functions/small-gamma.png
  117. BIN input/images/notes/machine-learning/regularization/lambda-for-deterministic-noise.png
  118. BIN input/images/notes/machine-learning/regularization/lambda-for-stochastic-noise.png
  119. BIN input/images/notes/machine-learning/regularization/lambda-variation-1.png
  120. BIN input/images/notes/machine-learning/regularization/lambda-variation-2.png
  121. BIN input/images/notes/machine-learning/regularization/legendre-polynomials.png
  122. BIN input/images/notes/machine-learning/regularization/regularizers.png
  123. BIN input/images/notes/machine-learning/regularization/solution-vectors.png
  124. BIN input/images/notes/machine-learning/regularization/solution-visualization.png
  125. BIN input/images/notes/machine-learning/support-vector-machines/distance.png
  126. BIN input/images/notes/machine-learning/support-vector-machines/margin-dichotomies.png
  127. BIN input/images/notes/machine-learning/support-vector-machines/plane.png
  128. BIN input/images/notes/machine-learning/support-vector-machines/support-vectors.png
  129. BIN input/images/notes/machine-learning/support-vector-machines/x-space-non-linear-svm.png
  130. BIN input/images/notes/machine-learning/theory-of-generalization/dichotomy-table.png
  131. BIN input/images/notes/machine-learning/three-learning-principles/experiment-a.png
  132. BIN input/images/notes/machine-learning/three-learning-principles/experiment-b.png
  133. BIN input/images/notes/machine-learning/three-learning-principles/falsifiability.png
  134. BIN input/images/notes/machine-learning/three-learning-principles/financial-forecasting.png
  135. BIN input/images/notes/machine-learning/three-learning-principles/looking-at-the-data.png
  136. BIN input/images/notes/machine-learning/three-learning-principles/matching-the-distributions.png
  137. BIN input/images/notes/machine-learning/training-versus-testing/breaking-point.png
  138. BIN input/images/notes/machine-learning/training-versus-testing/convex-region-dichotomy.png
  139. BIN input/images/notes/machine-learning/training-versus-testing/convex-region.png
  140. BIN input/images/notes/machine-learning/training-versus-testing/e-in.png
  141. BIN input/images/notes/machine-learning/training-versus-testing/e-out.png
  142. BIN input/images/notes/machine-learning/training-versus-testing/non-convex-region.png
  143. BIN input/images/notes/machine-learning/training-versus-testing/perceptron-overlap.png
  144. BIN input/images/notes/machine-learning/training-versus-testing/positive-interval-break-point.png
  145. BIN input/images/notes/machine-learning/training-versus-testing/positive-intervals.png
  146. BIN input/images/notes/machine-learning/training-versus-testing/positive-ray-break-point.png
  147. BIN input/images/notes/machine-learning/training-versus-testing/positive-rays.png
  148. BIN input/images/notes/machine-learning/validation/cross-validation-model-selection.png
  149. BIN input/images/notes/machine-learning/validation/cross-validation.png
  150. BIN input/images/notes/machine-learning/validation/digits-classification-2.png
  151. BIN input/images/notes/machine-learning/validation/digits-classification.png
  152. BIN input/images/notes/machine-learning/validation/leave-more-than-one-out.png
  153. BIN input/images/notes/machine-learning/validation/model-selection.png
  154. BIN input/images/notes/machine-learning/validation/validation-bias.png
  155. BIN input/images/notes/machine-learning/validation/validation.png
  156. BIN input/images/notes/machine-learning/validation/with-validation.png
  157. BIN input/images/notes/machine-learning/validation/without-validation.png
  158. BIN input/images/posts/a-simpler-vim-statusline/airline-ctrlp.png
  159. BIN input/images/posts/a-simpler-vim-statusline/airline.png
  160. BIN input/images/posts/a-simpler-vim-statusline/gcr-command.png
  161. BIN input/images/posts/a-simpler-vim-statusline/gcr-insert.png
  162. BIN input/images/posts/a-simpler-vim-statusline/gcr-normal.png
  163. BIN input/images/posts/a-simpler-vim-statusline/gcr-replace.png
  164. BIN input/images/posts/a-simpler-vim-statusline/gcr-visual.png
  165. BIN input/images/posts/a-simpler-vim-statusline/regular-ctrlp.png
  166. BIN input/images/posts/a-simpler-vim-statusline/regular-inactive.png
  167. BIN input/images/posts/a-simpler-vim-statusline/regular-modified.png
  168. BIN input/images/posts/a-simpler-vim-statusline/regular-paste.png
  169. BIN input/images/posts/a-simpler-vim-statusline/regular-readonly.png
  170. BIN input/images/posts/a-simpler-vim-statusline/regular.png
  171. BIN input/images/posts/dots/deploy.png
  172. BIN input/images/posts/dots/less.png
  173. BIN input/images/posts/dots/prompt.png
  174. BIN input/images/posts/dots/tmux.png
  175. BIN input/images/posts/terminal-customization/basic-prompt.png
  176. BIN input/images/posts/terminal-customization/git-prompt.png
  177. BIN input/images/posts/terminal-customization/ssh-prompt.png
  178. BIN input/images/posts/terminal-customization/urxvt.png
  179. +85 −0 input/js/blaenk.js
  180. +2,838 −0 input/notes/algorithms.markdown
  181. +142 −0 input/notes/angular.markdown
  182. +901 −0 input/notes/clojure-web-development.markdown
  183. +2,792 −0 input/notes/clojure.markdown
  184. +210 −0 input/notes/cmake.markdown
  185. +722 −0 input/notes/cpp.markdown
  186. +126 −0 input/notes/erlang.markdown
  187. +29 −0 input/notes/ffmpeg.markdown
  188. +296 −0 input/notes/game-development.markdown
  189. +598 −0 input/notes/gdb.markdown
  190. +403 −0 input/notes/go.markdown
  191. +692 −0 input/notes/haskell.markdown
  192. +929 −0 input/notes/java.markdown
  193. +93 −0 input/notes/lua.markdown
  194. +3,259 −0 input/notes/machine-learning.markdown
  195. +1,190 −0 input/notes/play.markdown
  196. +52 −0 input/notes/posix-directories-and-links.markdown
  197. +289 −0 input/notes/react.markdown
  198. +112 −0 input/notes/redis.markdown
  199. +2,547 −0 input/notes/rust.markdown
  200. +2,140 −0 input/notes/scala.markdown
  201. +97 −0 input/notes/statistics.markdown
  202. +1,474 −0 input/notes/swift.markdown
  203. +84 −0 input/pages/about.markdown
  204. +189 −0 input/pages/binary.markdown
  205. +69 −0 input/pages/lately.markdown
  206. +253 −0 input/pages/reads.markdown
  207. +158 −0 input/pages/uses-this.markdown
  208. +436 −0 input/pages/work.markdown
  209. +1 −0 input/posts/.gdb_history
  210. +2 −0 input/posts/.gdb_log
  211. +155 −0 input/posts/a-simpler-vim-statusline.markdown
  212. +45 −0 input/posts/custom-xkb-options-with-gnome.markdown
  213. +338 −0 input/posts/dots.markdown
  214. +80 −0 input/posts/drafts-in-hakyll.markdown
  215. +54 −0 input/posts/extra-dependencies-in-hakyll.markdown
  216. +23 −0 input/posts/im-back.markdown
  217. +315 −0 input/posts/live-editing-with-hakyll.markdown
  218. +289 −0 input/posts/naive-convolution-in-haskell.markdown
  219. +108 −0 input/posts/post-feed-in-hakyll.markdown
  220. +125 −0 input/posts/terminal-customization.markdown
  221. +73 −0 input/posts/test-post.markdown
  222. +286 −0 input/posts/the-switch-to-hakyll.markdown
  223. +119 −0 input/posts/xmonad-ignores-bindings.markdown
  224. +53 −0 input/scss/_archive.scss
  225. +528 −0 input/scss/_article.scss
  226. +113 −0 input/scss/_base.scss
  227. +63 −0 input/scss/_footer.scss
  228. +275 −0 input/scss/_header.scss
  229. +5 −0 input/scss/_parts.scss
  230. +260 −0 input/scss/_syntax.scss
  231. +6 −0 input/scss/screen.scss
  232. +530 −0 input/static/html/convolution-criterion.html
  233. +5 −0 input/templates/.gdb_history
  234. +7 −0 input/templates/.gdb_log
  235. +3 −0 input/templates/404.html
  236. +25 −0 input/templates/comments-js.html
  237. +6 −0 input/templates/comments.html
  238. +48 −0 input/templates/footer.html
  239. +47 −0 input/templates/header.html
  240. +14 −0 input/templates/index.html
  241. +33 −0 input/templates/layout.html
  242. +10 −0 input/templates/note.html
  243. +4 −0 input/templates/page.html
  244. +10 −0 input/templates/post.html
  245. +15 −0 input/templates/push-js.html
  246. +2 −0 input/templates/tags.html
  247. +167 −0 scripts/pig.py
  248. +58 −0 src/feed.rs
  249. +133 −0 src/git.rs
  250. +78 −0 src/hbs.rs
  251. +527 −0 src/main.rs
  252. +44 −0 src/scss.rs
  253. +138 −0 src/ws.rs
@@ -0,0 +1,35 @@
+[package]
+name = "site"
+version = "0.1.0"
+authors = ["Jorge Israel Peña <jorge.israel.p@gmail.com>"]
+
+[dependencies]
+toml = "*"
+regex = "*"
+glob = "*"
+
+# due to diecast
+log = "*"
+env_logger = "*"
+rustc-serialize = "*"
+time = "*"
+
+# templates
+handlebars = "*"
+
+# ws
+websocket = "*"
+
+# git
+git2 = "*"
+
+# rss
+rss = "*"
+
+[dependencies.diecast]
+path = "../diecast"
+
+# due to diecast
+[dependencies.typemap]
+path = "../../rust-typemap"
+
@@ -0,0 +1 @@
+www.blaenkdenum.com
No changes.
@@ -0,0 +1,8 @@
+---
+title: Bitcoin
+published: October 24, 2014
+excerpt: The first decentralized cryptocurrency
+comments: off
+toc: left
+---
+
Oops, something went wrong.
@@ -0,0 +1,19 @@
+---
+title: Distributed Systems
+published: September 15, 2014
+excerpt: Solving problems with multiple computers
+comments: off
+toc: left
+---
+
+I'm using [Distributed Systems for Fun and Profit] for an introduction to the field of distributed systems.
+
+[Distributed Systems for Fun and Profit]: http://book.mixu.net/distsys/
+
+_Scalability_ is the ability of a system, network, or process to handle a increasing work in a capable manner. _Availability_ is the proportion of a system is in functioning condition. _Fault tolerance_ is the ability to behave in a well-defined manner when faults occur.
+
+Distributed systems are constrained by the number of nodes and the distance between them. Varying these quantities has an effect on the distributed system. Increasing the number of nodes increases the probability of failure in the system (reducing availability) and may increase the need for communication between them (reducing performance). Increasing the distance between the nodes increases the minimum latency.
+
+Abstractions and models are often used to facilitate the conceptualization and design of distributed systems by removing certain real-world aspects that aren't relevant to solving the problem. The types of models may include system models, failure models, and consistency models.
+
+The distribution of the necessary data can affect perfromance and fault tolerance. _Partitioning_ refers to splitting the data over multiple nodes to increase parallel processing. _Replication_ refers to copying or caching data on multiple nodes to reduce the distance between the client and the server, which also increasing fault tolerance.
@@ -0,0 +1,51 @@
+---
+title: Julia
+published: July 23, 2014
+excerpt: A high-performance dynamic language for numerical computing
+comments: off
+toc: left
+---
+
+# Types
+
+There are signed and unsigned integers of the form `Intx` and `Uintx` ranging from 8 to 128, as well as `Int` and `Uint` which are aliases for the type representing machine's word size, which itself is available as `WORD_SIZE`. Floating-point types take the form `Floatx` from 16 to 64.
+
+Integer literals take on a type depending on the machine's word size, though if they are too large to fit in 32-bits then they are represented as `Int64`, regardless of the machine's word size.
+
+Unsigned integer literals are written in hexadecimal.
+
+Floating-point literals are inferred as `Float64` values, and `Float32` literals can be entered by using scientific exponent notation with an `f` instead of an `e`.
+
+The `typemin` and `typemax` functions can be used to yield the minimum and maximum bounds for a type.
+
+It's possible to find the distance between two adjacent representable floating-point numbers, a distance known as machine epsilon. The `eps` function can give the distance between 1.0 and the next larger representable floating-point value for a particular type.
+
+The `eps` function can also take a floating-point value, in which case it returns the absolute value of difference between the value and the next representable floating-point value, so that `x + eps(x)` is the next representable floating-point value greater than `x`.
+
+The next or previous representable floating-point number can also be retrieved using the `nextfloat` and `prevfloat` functions.
+
+The `BigInt` and `BigFloat` types can be used to create arbitrary precision integers and floating-point numbers, which are constructed by passing the number as a string.
+
+Variables can be immediately preceded by numeric literals and thereby imply multiplication, simplifying the writing of polynomial expressions. These are known as numeric literal coefficients. The precedence of numeric literal coefficients is the same as unary operators, so they can also precede parentheses and other things.
+
+``` julia
+2x^2 - 3x + 1
+2(x-1)^2 - 3(x-1) + 1
+```
+
+Parenthesized expressions can also be used as coefficients to variables to imply multiplication of the expression by the variable.
+
+``` julia
+(x-1)x
+```
+
+The `zero` and `one` functions return a literal 0 or 1 depending on the type of the given variable or the provided type. They're useful to avoid overheard from unnecessary type conversions.
+
+The `^` operator can be used to raise a number to a specific power. The `\` operator is the inverse divide operator, which flips the arguments of `/`. The dollar sign `$` is the XOR operator.
+
+In Julia, comparisons can be chained.
+
+``` julia
+1 < 2 <= 2 < 3 == 3 > 2 >= 1 == 1 < 3 != 5
+```
+
@@ -0,0 +1,28 @@
+---
+title: RabbitMQ
+published: July 27, 2014
+excerpt: Open source AMQP-compliant message broker
+comments: off
+toc: left
+---
+
+For every TCP connection there could be multiple channels through which AMQP commands may be sent, each channel with its own unique ID. There are three parts to successful routing of an AMQP message: exchanges, queues, and bindings. Exchanges are where produces publish messages, bindings are how messages get routed from an exchange to a given queue, and queues are where messages end up.
+
+*[AMQP]: Advanced Message Queuing Protocol
+
+Consumers can receive messages from a queue by subscribing with `basic.consume`, which automatically takes another message off of the queue after consuming or rejecting the previous one. Alternatively, it's possible to consume a single message off of the queue using `basic.get`, which essentially subscribes to the queue and unsubscribes after retrieving a single message.
+
+If a message arrives at a queue and there are no subscribed consumers, it waits there until one subscribes and consumes it off of the queue. Conversely, if there are multiple consumers, messages are served to them in a round-robin fashion. Messages that are published to an exchange that has no queue to be routed to are discarded by RabbitMQ.
+
+Every consumed message must be acknowledged either by sending an explicit acknowledge with `basic.ack` or setting the `auto_ack` parameter to true when subscribing to the queue, which automatically considers a message to be acknowledge as soon as the consumer receives it.
+
+If a consumer receives a message and disconnects before acknowledging, RabbitMQ redelivers it to the next subscribed consumer. If instead a consumer simply forgets to acknowledge a message, it won't be sent anymore messages since it assumes that the consumer isn't finished processing the unacknowledged message.
+
+It's possible to explicitly reject a message instead of acknowledging it, either by disconnecting from RabbitMQ or on RabbitMQ > 2.0 using the `basic.reject` command. Using `basic.reject`, if the `requeue` parameter is set to true, RabbitMQ will redeliver the message to the next subscribed consumer. In future versions of RabbitMQ, setting the `requeue` parameter to false can send the message to a dead letter queue which can be used for inspection. Alternatively, a message can be discarded by simply acknowledging it.
+
+Queues can be created by consumers or producers using the `queue.declare` command, but consumers can't declare a queue while subscribed to another on the same channel. Consumers must first unsubscribe, placing the queue in transmit mode. If a queue name isn't provided, a random one is created.
+
+Queues can be set as exclusive or auto-delete. Exclusive makes the queue private so that it can only be consumed by one consumer. Auto-delete automatically deletes the queue when the last consumer unsubscribes.
+
+If an existing queue is declared, and all parameters match the existing queue, RabbitMQ considers the declaration successful and fail otherwise. A queue can be checked for existence by setting the `passive` parameter to true.
+
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
@@ -0,0 +1,85 @@
+$(function() {
+ var mobilenav = $('#mobile-nav');
+
+ $('html').click(function(){
+ mobilenav.find('.on').each(function(){
+ $(this).removeClass('on').next().hide();
+ });
+ });
+
+ mobilenav.on('click', '.menu .button', function(e){
+ if (!$(this).hasClass('on')) {
+ var width = $(this).width() + 42;
+ $(this).addClass('on').next().css({width: width}).show();
+ } else {
+ $(this).removeClass('on').next().hide();
+ }
+ }).on('click', '.search .button', function(e){
+ if (!$(this).hasClass('on')){
+ var width = mobilenav.width() - 51;
+ mobilenav.children('.menu').children().eq(0).removeClass('on').next().hide();
+ $(this).addClass('on').next().show().css({width: width}).children().children().eq(0).focus();
+ } else {
+ $(this).removeClass('on').next().hide().children().children().eq(0).val('');
+ }
+ }).click(function(e){
+ e.stopPropagation();
+ });
+
+ var $nav = $('#main-nav .main');
+
+ var toggleForm = function(button, form) {
+ button.click(function() {
+ if (form.is(':visible')) {
+ form.fadeOut('fast');
+ } else {
+ form.fadeIn('fast');
+ form.find('input').focus();
+ }
+ });
+
+ form.find('input').keyup(function(e) {
+ if (e.keyCode == 27) {
+ form.fadeOut('fast');
+ }
+ });
+ };
+
+ toggleForm($('#search_btn'), $('.desk_search'));
+
+ window.refresh = function () {
+ $('.collapse').not(function() {
+ return "#" + $(this).attr('id') == window.location.hash;
+ }).next('.collapsible').hide();
+
+ $('.collapse').click(function(e) {
+ e.preventDefault();
+ $(this)
+ .next('.collapsible')
+ .slideToggle('fast');
+ });
+
+ var $footnotes = $('.footnotes > ol > li');
+
+ $('.footnoteRef')
+ .attr('title', 'read footnote')
+ .click(function() {
+ $footnotes.stop(true, true)
+
+ var note = $(this).attr('href');
+ $footnotes.not(note)
+ .css({opacity: 0.1})
+ .animate({opacity: 1.0}, 15000, 'linear');
+ });
+
+ $('a[href^="#fnref"]')
+ .attr('title', 'continue reading')
+ .html('<i class="fa fa-level-up"></i>')
+ .click(function() {
+ $footnotes.stop(true, true);
+ });
+
+ };
+
+ window.refresh();
+});
Oops, something went wrong.

0 comments on commit 5ebdb1f

Please sign in to comment.