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
    
  
  
    
  | defmodule Tst do | |
| defmacro mymacro(fname) do | |
| quote do | |
| def run(unquote(fname)) do | |
| IO.inspect(unquote(fname)) | |
| end | |
| end | |
| end | |
| mymacro("one") | 
  
    
      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
    
  
  
    
  | upstream index { | |
| server 127.0.0.1:4200; | |
| } | |
| upstream app1 { | |
| server 127.0.0.1:4201; | |
| } | |
| upstream app2 { | |
| server 127.0.0.1:4202; | |
| } | 
  
    
      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
    
  
  
    
  | iex([email protected])1> release_handler:install_release(Vsn="0.0.2" Opts=[]) failed, Reason={'EXIT', | |
| {which_children_failed, | |
| [{release_handler_1, | |
| maybe_supervisor_which_children, | |
| 3, | |
| [{file, | |
| "release_handler_1.erl"}, | |
| {line, | |
| 642}]}, | |
| {release_handler_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
    
  
  
    
  | export default class Job extends React.Component { | |
| constructor(props) { | |
| super(props); | |
| this.state = { | |
| show: true | |
| }; | |
| } | |
| render() { | |
| const job = this.props.job; | |
| return <div onClick={this.switchShow.bind(this)}> | 
  
    
      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
    
  
  
    
  | { | |
| "name": "xpn", | |
| "version": "0.0.0", | |
| "dependencies": { | |
| "jquery": "~2.1.4", | |
| "bootstrap": "~3.3.5" | |
| }, | |
| "overrides": { | |
| "bootstrap": { | |
| "main": [ | 
  
    
      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
    
  
  
    
  | pipeline :my_pipeline do | |
| plug :change_controller_method | |
| end | |
| def change_controller_method(conn) do | |
| %{controller: controller, action: action} = get_controller(conn.params) | |
| controller = "Elixir.Myapp.#{inspect controller}" |> String.to_atom() | |
| conn | |
| |> controller.call(controller.init(action)) | |
| |> halt() | 
  
    
      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
    
  
  
    
  | # defmodule Repo.Migrations.LogsHTTP do | |
| # use Ecto.Migration | |
| # def up do | |
| # execute """ | |
| # CREATE TABLE logs_http( | |
| # id serial primary key, | |
| # request_id varchar(200), | |
| # method varchar(8), | |
| # path varchar(128), | 
  
    
      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
    
  
  
    
  | #!/usr/bin/env bash | |
| function install { | |
| url=$1 | |
| file=${url##*/} | |
| name=${file%.*} | |
| dest=${file%-*} | |
| echo "Installing ${name}" | |
| if [ -d deps/${dest} ]; then | |
| echo "Already installed" | 
NewerOlder