text 回应2

Response 2
{
    "status":200,
    "data": {
        "numberDetails": [
            {
    "fullNationalNumber":"fnn1",
    "fnnPortabilityIndicator":"Y",
    "fnnLocationPortabilityIndicator":"Y",
    "transitionChurnIndicator":"N",
    "nbnChurnIndicator":"N",
    "reason":"The FNN can be ported into Telstra network, location serviceability check is successful ",
    "code":"SUCCESS"
            } ,{
    "fullNationalNumber":"fnn2",
    "fnnPortabilityIndicator":"N",
    "fnnLocationPortabilityIndicator":"N",
    "transitionChurnIndicator":"N",
    "nbnChurnIndicator":"Y",
    "reason":"The FNN can be churned within Telstra network, location serviceability check is unsuccessful ",
    "code":"NBN_CHURN_SUCCESS"
          } ,{              {
    "fullNationalNumber":"fnn3",
    "fnnPortabilityIndicator":"N",
    "fnnLocationPortabilityIndicator":"N",
    "transitionChurnIndicator":"Y",
    "nbnChurnIndicator":"N",
    "reason":"The FNN can be churned within Telstra network, location portability check is unsuccessful",
    "code":"CHURN_SUCCESS"
}
            }
        ]
    }
}

text 要求2

Request 2
curl -X GET
-H "Authorization: Bearer $TOKEN" 
https://.../v1/serviceability/number-portability/{fnn1,fnn2,fnn3}?addressId=addressId&profileID=Retail

text 更新到Centos 7上的Vim8

更新到Centos 7上的Vim8

Upgrade vim
# You may use this CentOS 7 repository on Fedora Copr for Vim 8 builds.
#      https://copr.fedorainfracloud.org/coprs/mcepl/vim8/
#
#  Run these commands on CentOS 7.

# Add this repository:

sudo curl -L https://copr.fedorainfracloud.org/coprs/mcepl/vim8/repo/epel-7/mcepl-vim8-epel-7.repo -o /etc/yum.repos.d/mcepl-vim8-epel-7.repo

# Upgrade Vim to vim 8:

sudo yum update vim*

# After it is successful, your Vim should be version 8.0 now:
vim --version

# You should see...
# VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Aug  2 2017 16:29:21)
# Included patches: 1-839

text 发出JWT令牌

发出JWT令牌

issuing a JWT token
https://jonhilton.net/2017/10/11/secure-your-asp.net-core-2.0-api-part-1---issuing-a-jwt/

text 蜂房数据倾斜处理

蜂房数据倾斜处理

hive_data_skew.txt
比如说sku字段的默认值是0, 那么在关联的时候, 可以对其进行加随机数进行处理:

(case t1.item_sku_id != 0 then
                                t1.item_sku_id 
                             else
                                cast((-rand() * 100000000) as string)
                             end) = t2.item_sku_id 
                         and t1.plan_id = t2.ad_plan_id)
                         
                         
这里用-rand()的原因是正常的sku_id都是正数.

text 遍历列表并打印每个项目

iterate through list



list_of_names = ['rod', 'bob', 'nick', 'susie', 'jeff'] #list of names
currentIndex = 0 #set starting value of current index to 0, which is for rod.
maxIndex = len(list_of_names)-1 #to find the max index length of any list, use len() subtract 1 because indexes start at 0
while currentIndex <= maxIndex: #current index must be below or = to max index to run code block.
    print(list_of_names[currentIndex]) #print the list with current index.
    currentIndex += 1 #increase the current index by one to iterate to next index.














console
rod
bob
nick
susie
jeff

text keybase.md

keybase.md

gistfile1.txt
### Keybase proof

I hereby claim:

  * I am alexclst on github.
  * I am alexclst (https://keybase.io/alexclst) on keybase.
  * I have a public key whose fingerprint is 5563 C119 857D 439D 893F  2610 3A37 EDC8 B42A 6D7B

To claim this, I am signing this object:

```json
{
  "body": {
    "key": {
      "eldest_kid": "01013803a48dd9334c956b1d03841ebdc36668b65280aa7689feca4a99735f55c0ef0a",
      "fingerprint": "5563c119857d439d893f26103a37edc8b42a6d7b",
      "host": "keybase.io",
      "key_id": "3a37edc8b42a6d7b",
      "kid": "01013803a48dd9334c956b1d03841ebdc36668b65280aa7689feca4a99735f55c0ef0a",
      "uid": "5124b445b15dbb26a374bb47a9578b19",
      "username": "alexclst"
    },
    "service": {
      "name": "github",
      "username": "alexclst"
    },
    "type": "web_service_binding",
    "version": 1
  },
  "ctime": 1533854455,
  "expire_in": 157680000,
  "prev": "43b0e04eca9849afe1e01036cdf106437788c331cf4cb95ba15dcf60ca5a4df6",
  "seqno": 4,
  "tag": "signature"
}
```

with the key [5563 C119 857D 439D 893F  2610 3A37 EDC8 B42A 6D7B](https://keybase.io/alexclst), yielding the signature:

```
-----BEGIN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KUie1idvuV
Tk/B/PVLOn/xclvctjNR3p2Nd8xxWVP5T1emb+iJWOzINBUs2Pf5Zrnl+tfuXqy3
VuPhIePv5jUEJo9vzj669Y/Gmc+K/NbkE15Sk/fUnh0tc2POvdaCH2seNN/xfd92
bMmTOHqLia5q7r95w+qb+dnx0v2kQ2MNE6spjq8b/bHVp28n92wdc+9OONnQ7zr2
281r/o7JqxmZhaAWWLY8E3EQ9KWveOeThqf7f/fpPur1dY6cxSWiLbXpSddKjUpU
9+Fv9NriF2It2OQU48p/cUdltCkvO+dj4uGBHE3mlTPJ3trNWbca9NHaDN3fD4+8
vA==
=++bj
-----END PGP MESSAGE-----

```

And finally, I am proving ownership of the github account by posting this as a gist.

### My publicly-auditable identity:

https://keybase.io/alexclst

### From the command line:

Consider the [keybase command line program](https://keybase.io/download).

```bash
# look me up
keybase id alexclst
```

text 获取查询字符串值

select_first_disabled

https://itsolutionstuff.com/post/how-to-get-query-strings-value-in-laravel-5example.html

URL: http://text.com/wall?id=23&name=hdtopi

public function wall(Request $request)
{
  /* returns Ony Id value */
  $id = $request->input('id');  // 23
	

  /* returns array of entire input query value */
  $query = $request->all();
    

    /* OR */
    

  /* returns Ony Id value */
  $id = Input::get('id');
	

  /* returns array of entire input query value */
  $query = Input::all();
}













text JS

stack
Technologies & Requirements:
• Proven work experience as a Front-end developer;
• Familiarity with browser testing and debugging;
• Deep experience with markup languages such as HTML5 and CSS;
• Solid experience with JavaScript language;
• Understanding of MVC JavaScript frameworks (Angularjs, React JS);
• Familiarity with CSS preprocessors (SASS, LESS);
• Familiarity JS task runner (Grunt, gulp) and with UI/UX design is a plus;
• Understanding of integration with REST API;
• Experience with hybrid mobile app development (Lonic, React Native);
• Understanding of code versioning tools, such as Git and TFS;
• Familiarity with task management tools (JIRA, TFS, YourTrack);
• Knowledge of agile methodology and frameworks like Scrum, Kanban, etc.
• Solid understanding and hands-on experience with front-end development and apps architecture;
• Self-motivation, solid work as a member of a team, and a proactive approach to problems solving;
• Ability to understand project objectives, requirement, and associated business process;
• Excellent English communication skills both written & oral.

• Write well designed, testable, and readable code;
• Prepare and produce releases of software component, ensuring designs are in compliance with specifications;
• Work with designers, PMs and Engineers to build features that extend product capabilities;
• Managing complex technical requirements from clients;
• Provide colleagues assistance where needed;
• Ensure solutions compliance with system standards and regulations.

text 反馈表

这是您可以在您的应用程序中使用的调查表单的前端<br/>它包含五个问题

cshtml
@*@model StajProject.Models.FeedbackViewModel*@
 

<!DOCTYPE html>
<html>
<head>
    <title>Candidate/Manager Survey</title>
    <!-- custom-theme -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="Elegant Feedback Form  Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template, Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
    <script type="application/x-javascript">
        addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
               function hideURLbar(){ window.scrollTo(0,1); } </script>
    <!-- //custom-theme -->
    <link href="/ElegantLayout/css/style.css" rel="stylesheet" type="text/css" media="all" />
    <link href="//fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet">
</head>
<body class="agileits_w3layouts">
    <h1 class="agile_head text-center">Candidate/Manager Form</h1>
    <div class="w3layouts_main wrap">
        @*--------------------------------first question -----------------------------------------*@
        <h3>Please fill this survey. It will take you just a couple of minutes. </h3>
        <form action="#" method="post" class="agile_form">
            <h2>How did you find the Recruiter?</h2>
            <ul class="agile_info_select">
                <li>
                    <input type="radio" name="view" id="excellent1">
                    <label for="excellent1">excellent</label>
                    <div class="check w3"></div>
                </li>
                <li>
                    <input type="radio" name="view" id="good1" checked="checked">
                    <label for="good1"> good</label>
                    <div class="check w3ls"></div>
                </li>
                <li>
                    <input type="radio" name="view" id="neutral1">
                    <label for="neutral1">neutral</label>
                    <div class="check wthree"></div>
                </li>
                <li>
                    <input type="radio" name="view" id="poor1">
                    <label for="poor1">poor</label>
                    <div class="check w3_agileits"></div>
                </li>
                <li>
                    <input type="radio" name="view" id="verypoor1">
                    <label for="verypoor1">Very poor</label>
                    <div class="check w3_agileits"></div>
                </li>
            </ul>
            @*--------------------------------second question -----------------------------------------*@
            <h2>How satisfied were you with the Interview?</h2>
            <ul class="agile_info_select">
                <li>
                    <input type="radio" name="view" id="excellent2">
                    <label for="excellent2">excellent</label>
                    <div class="check w3"></div>
                </li>
                <li>
                    <input type="radio" name="view" id="good2" checked="checked">
                    <label for="good2"> good</label>
                    <div class="check w3ls"></div>
                </li>
                <li>
                    <input type="radio" name="view" id="neutral2">
                    <label for="neutral2">neutral</label>
                    <div class="check wthree"></div>
                </li>
                <li>
                    <input type="radio" name="view" id="poor2">
                    <label for="poor2">poor</label>
                    <div class="check w3_agileits"></div>
                </li>
                <li>
                    <input type="radio" name="view" id="verypoor2">
                    <label for="verypoor2">Very poor</label>
                    <div class="check w3_agileits"></div>
                </li>
            </ul>
            @*--------------------------------third question -----------------------------------------*@
            <h2>How did you find the questions that the recruiter asked you?</h2>
            <ul class="agile_info_select">
                <li>
                    <input type="radio" name="view" id="excellent3">
                    <label for="excellent3">excellent</label>
                    <div class="check w3"></div>
                </li>
                <li>
                    <input type="radio" name="view" id="good3" checked="checked">
                    <label for="good3"> good</label>
                    <div class="check w3ls"></div>
                </li>
                <li>
                    <input type="radio" name="view" id="neutral3">
                    <label for="neutral3">neutral</label>
                    <div class="check wthree"></div>
                </li>
                <li>
                    <input type="radio" name="view" id="poor3">
                    <label for="poor3">poor</label>
                    <div class="check w3_agileits"></div>
                </li>
                <li>
                    <input type="radio" name="view" id="verypoor3">
                    <label for="verypoor3">Very poor</label>
                    <div class="check w3_agileits"></div>
                </li>
            </ul>


            <h2>If you have specific feedback, please write to us...</h2>
            <textarea placeholder="Additional comments" class="w3l_summary" required=""></textarea>
            <input type="text" placeholder="Your Name" name="name" required="" />
            <input type="email" placeholder="Your Email" name="email" required="" />
            <input type="submit" value="send" class="agileinfo" />
        </form>
    </div>
    <div class="agileits_copyright text-center">
        <p>© 2018 Survey Form</p>
    </div>
</body>
</html>