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
GET /user/v2?ids=1,2,42 | |
[ | |
{"id": 1, "first_name": "Bob", "review_count": 0, ...}, | |
{"id": 2, "first_name": "Alice", "review_count": 4, ...}, | |
{"id": 42, "first_name": "Mark", "review_count": 2, ...} | |
] |
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
GET /user/42 | |
{"id": 42, "first_name": "Mark", "review_count": 2, ...} |
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
srv-configs | |
├── casper | |
│ ├── service.foo.main.yaml | |
│ ├── service.bar.main.yaml | |
│ ├── ... |
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
cached_endpoints: | |
foo_cache: {ttl: 300, pattern: "^/foo/bar$"} | |
vary_headers: | |
- Accept-Encoding | |
uncacheable_headers: | |
- 'Date' | |
- 'X-Zipkin-Id' |
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
/* Create a series of empty pseudo-elements... */ | |
html:before,html:after,body:before,body:after{ | |
content:""; | |
background:#dad8bb; | |
position:fixed; | |
display:block; | |
z-index:5; | |
} | |
/* ...and position them! */ |
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
.note { | |
position:relative; | |
width:30%; | |
padding:1em 1.5em; | |
margin:2em auto; | |
color:#fff; | |
background:#97C02F; | |
overflow:hidden; | |
} |
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
function get_favicon($url){ | |
$url = str_replace("http://",'',$url); | |
//TODO : regex that removes the last part of the url and detects errors | |
return "http://www.google.com/s2/favicons?domain=".$url; | |
} |
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
set nocompatible | |
"no file like 'myfile~'. What a relief. | |
set nobackup | |
colorscheme fruit | |
set guifont=Courier_new:h12 | |
"Tab stuff | |
set tabstop=2 |