This file contains 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: error validating "staging-job-migrate.yaml": error validating data: ValidationError(Job.spec.template.spec.containers[0].envFrom[0]): unknown field "name" in io.k8s.api.core.v1.EnvFromSource; if you choose to ignore these errors, turn validation off with --validate=false |
This file contains 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
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
This file contains 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
{ | |
order(id: 1) { | |
id | |
shopId | |
points | |
tranNo | |
} | |
user(id: 1) { | |
id |
This file contains 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
def ss(conn, _params) do | |
user_info = Base.encode64("aes-128-cfb:pass") | |
str = Enum.join(List.duplicate("ss://#{user_info}@192.168.100.1:8888#Example1", 10), "\n") | |
text conn, Base.encode64(str) | |
end |
This file contains 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
{ | |
"stream":"btcusdt@ticker", | |
"data":{ | |
"e":"24hrTicker", | |
"E":1526416545771, | |
"s":"BTCUSDT", | |
"p":"-278.21000000", | |
"P":"-3.164", | |
"w":"8647.34237711", | |
"x":"8793.80000000", |
This file contains 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
{ | |
"ch":"market.overview", | |
"ts":1526409473556, | |
"status":"ok", | |
"data":[ | |
{ | |
"open":0.084335, | |
"close":0.083782, | |
"low":0.083522, | |
"high":0.084950, |
This file contains 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
use Mix.Config | |
# For production, we often load configuration from external | |
# sources, such as your system environment. For this reason, | |
# you won't find the :http configuration below, but set inside | |
# BooksWeb.Endpoint.init/2 when load_from_system_env is | |
# true. Any dynamic configuration should be done there. | |
# | |
# Don't forget to configure the url host to something meaningful, | |
# Phoenix uses this information when generating URLs. |
This file contains 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
- client = GameManager.get_client!(id) | |
+ client = GameManager.get_client!(id) |> Center.Repo.preload(:server_group) | |
+ # require IEx; IEx.pry | |
+ # Repo.all from s in Server, join: c in ServerGroupServer, where: c.server_group_id == 3 and c.server_id == s.id | |
+ # Repo.one from c in Client, where: c.id == 1, preload: [server_group: :servers] |
This file contains 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 CenterWeb.Router do | |
use CenterWeb, :router | |
require Ueberauth | |
pipeline :browser do | |
plug :accepts, ["html"] | |
plug :fetch_session | |
plug :fetch_flash | |
plug :protect_from_forgery | |
plug :put_secure_browser_headers |
This file contains 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
{ | |
"uid":"lidashuang", | |
"strategy":"Elixir.Ueberauth.Strategy.Gitlab", | |
"provider":"gitlab", | |
"info":{ | |
"urls":{ | |
"website_url":"", | |
"web_url":"https://git.3303033.com/lidashuang", | |
"avatar_url":"https://git.3303033.com/uploads/-/system/user/avatar/3/avatar.png" | |
}, |
NewerOlder