I hereby claim:
- I am hodak on github.
- I am hodak (https://keybase.io/hodak) on keybase.
- I have a public key ASAWZl8y2MF-tVTL4UgZtZkWQ9im_l-ijNUBUPznd2ki5Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env elixir | |
| defmodule Decompile do | |
| def main([beam_file]) do | |
| {:ok,{_,[{:abstract_code,{_,ac}}]}} = :beam_lib.chunks(to_charlist(beam_file),[:abstract_code]) | |
| :io.fwrite("~s~n", [:erl_prettypr.format(:erl_syntax.form_list(ac))]) | |
| end | |
| end | |
| Decompile.main(System.argv) |
| module Verk | |
| class Adapter | |
| NAMESPACE = "queue" | |
| QUEUE = "default" | |
| def initialize | |
| @redis = Redis.new(url: APP_CONFIG[:redis_url]) | |
| end | |
| def enqueue(module_name, args) |
| http://jsbin.com/jiyoxiq/1/edit?js,console,output |
| defmodule WebDAVWorker do | |
| use GenServer | |
| # Client | |
| def start_link do | |
| GenServer.start_link(__MODULE__, []) | |
| end | |
| def run_action(pid, action_handler, args \\ [], delay \\ 0) do |
| Vagrant.configure(2) do |config| | |
| ... | |
| id_rsa_pub = File.read("#{Dir.home}/.ssh/id_rsa.pub") | |
| config.vm.provision "copy ssh public key", type: "shell", | |
| inline: "echo \"#{id_rsa_pub}\" >> /home/vagrant/.ssh/authorized_keys" | |
| end |
| // There's an issue in ui-tree: | |
| // - https://github.com/angular-ui-tree/angular-ui-tree/issues/318 | |
| // Waiting for Pull Request to be merged: | |
| // - https://github.com/angular-ui-tree/angular-ui-tree/pull/648 | |
| // Issue type is very similar to this in angular.js: | |
| // - https://github.com/angular/angular.js/issues/10259 | |
| // Function aliasing: http://stackoverflow.com/a/1007433/1023664 | |
| // Recommendation: Update angular-ui-tree after the pull request is merged | |
| if(typeof document.contains === "undefined") { |
Je艣li nie masz postawionej naszej warsztatowej aplikacji Railsowej, mo偶esz u偶y膰 JSFiddle, kt贸re przygotowali艣my tylko dla AngularJS-a: https://jsfiddle.net/sjxjofn8/ i przeskoczy膰 od razu do zadania 3.
Proponowane kroki:
| $filter = undefined | |
| beforeEach -> | |
| angular.mock.module ($provide) -> | |
| $provide.value "translateFilter", (key) -> | |
| "TRANSLATED_#{key}" | |
| # Without explicitly returning or returning "null" it raises error | |
| # https://groups.google.com/forum/#!msg/angular/gCGF_B4eQkc/XjkvbgE9iMcJ | |
| return |
| $scope.dateDbA = moment(); | |
| $scope.optionsDbA = {}; | |
| $scope.dateDbB = moment(); | |
| $scope.optionsDbB = {}; | |
| <mighty-datepicker ng-model="dateDbA" options="optionsDbA" before="dateDbB"></mighty-datepicker> | |
| <mighty-datepicker ng-model="dateDbB" options="optionsDbB" after="dateDbA"></mighty-datepicker> |