Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| public function search($params) | |
| { | |
| $query = ShippingRulesModel::find(); | |
| $query->joinWith(['country']); | |
| $dataProvider = new ActiveDataProvider([ | |
| 'query' => $query, | |
| ]); |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| import axios from "axios"; | |
| export default async function () { | |
| const { data: { id } } = await axios.get("//localhost:3000/id"); | |
| const { data: { group } } = await axios.get("//localhost:3000/group"); | |
| const { data: { name } } = await axios.get(`//localhost:3000/${group}/${id}`); | |
| console.log(name); // Michał | |
| } |
| 来源:http://www.cnblogs.com/devinhua/articles/1726292.html | |
| 1、简单的正则表达式: | |
| (1)preg_match("/^(\d{18,18}|\d{15,15}|\d{17,17}x)$/",$id_card) | |
| (2)preg_match("/^(\d{6})(18|19|20)?(\d{2})([01]\d)([0123]\d)(\d{3}) (\d|X)?$/",$id_card) | |
| (3)preg_match("/(^\d{15}$/)|(\d{17}(?:\d|x|X)$/),$id_card) |
| curl -XPUT 'http://localhost:9200/us/user/1?pretty=1' -d ' | |
| { | |
| "email" : "john@smith.com", | |
| "name" : "John Smith", | |
| "username" : "@john" | |
| } | |
| ' | |
| curl -XPUT 'http://localhost:9200/gb/user/2?pretty=1' -d ' | |
| { |
| #!/usr/bin/ruby | |
| # Create display override file to force Mac OS X to use RGB mode for Display | |
| # see http://embdev.net/topic/284710 | |
| require 'base64' | |
| data=`ioreg -l -d0 -w 0 -r -c AppleDisplay` | |
| edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten | |
| vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
|---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>HMAC-SHA256 Example</title> | |
| </head> | |
| <body> | |
| <script src="http://crypto.stanford.edu/sjcl/sjcl.js"></script> | |
| <script> | |
| var sharedSecret, query, signature, hmac, xhr; |
https://github.com/djvirgen/virgen-acl Simple and elegant, create your own checks. No middleware?
https://github.com/OptimalBits/node_acl Use as middleware, create your own roles and access. Great choice.
https://github.com/tschaub/authorized Similar to connect roles... but a bit more robust? you can create roles and action, and associate many roles with that action