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 QAirServer_server{ | |
| server unix:/opt/QAirServer/shared/sockets/puma.sock fail_timeout=0; | |
| } | |
| server { | |
| listen 443 default deferred ssl; | |
| server_name qairapp.com; | |
| root /opt/QAirServer/current/public; |
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
| if [ -n "$BASH_VERSION" ] || [ -n "$ZSH_VERSION" ]; then | |
| source /usr/local/share/chruby/chruby.sh | |
| source /usr/local/share/chruby/auto.sh | |
| fi |
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
| Verifying that +linjunpop is my openname (Bitcoin username). https://onename.io/linjunpop |
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
| #import "UIImageView+Qiniu.h" | |
| #import <UIImageView+AFNetworking.h> | |
| @implementation UIImageView (Qiniu) | |
| - (void)qiniu_setImageWithURL:(NSURL *)url { | |
| NSURLComponents *components = [[NSURLComponents alloc] initWithURL:url resolvingAgainstBaseURL:NO]; | |
| CGFloat scale = [[UIScreen mainScreen] scale]; |
I hereby claim:
- I am linjunpop on github.
- I am linjunpop (https://keybase.io/linjunpop) on keybase.
- I have a public key ASBgsLXQTvVJBDcDHjRy6_zR49fhb-UOQ176oCPzQEK3nAo
To claim this, I am signing this object:
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
| === running autoconf in lib | |
| === running autoconf in lib/common_test | |
| === running autoconf in lib/erl_interface | |
| === running autoheader in lib/erl_interface | |
| === running autoconf in lib/megaco |
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 Archiver.Fetcher do | |
| use GenStage | |
| def start_link(args) do | |
| GenStage.start_link(__MODULE__, args, name: __MODULE__) | |
| end | |
| def init(state), do: {:producer, state} | |
| def handle_demand(demand, state) do |
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 Concat do | |
| def join(a, b) do | |
| IO.puts "***First join" | |
| a <> b | |
| end | |
| def join(a, b, sep \\ " ") do | |
| IO.puts "***Second join" | |
| a <> sep <> b | |
| end |