Users
/users
- GET — получить список пользователей
- POST — новый пользователь
/{id}
- GET — информация по пользователю
- POST — обновить данные пользователя
- DELETE — удалить пользователя
feat(scope): add hat wobble | |
^--^ ^----^ ^------------^ | |
| | | | |
| | +—> Summary in present tense | |
| | | |
| +————> Scope, f.e. "filter" or "storage" | |
| | |
+——————> Type: chore, docs, feat, fix, refactor, style, or test |
var cleanUp = function() { | |
$.ajax({method: "GET", url: "https://prerender.io/api/cached-pages?page=0&pageSize=1000000"}).success(function(response) { | |
var total = response, | |
lastChecked = 1; | |
console.log("total: " + response.length); | |
for(var i = 0; i < total.length; i++) { | |
$.ajax({ | |
method: "DELETE", |
/users
/{id}
[alias] | |
co = checkout | |
ci = commit | |
s = status | |
p = push | |
pl = pull | |
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short |
grunt.initConfig({ | |
sass: { | |
files: ['<%= yeoman.app %>/styles/{,*/}*.scss'], | |
tasks: ['sass:server', 'autoprefixer'] | |
}, | |
sass: { | |
server: { | |
files: { | |
'.tmp/styles/main.css': '<%= yeoman.app %>/styles/main.scss' |
.blocks-stacked { | |
.block { | |
border: 1px solid #eee; | |
margin-left: 0; | |
margin-right: 0; | |
z-index: 1; | |
&:hover { | |
border-color: blue; | |
z-index: 2; |
@mixin responsive($media) { | |
@if $media == sm { | |
@media (min-width: 768px) { @content; } | |
} | |
@else if $media == md { | |
@media (min-width: 992px) { @content; } | |
} | |
@else if $media == lg { | |
@media (min-width: 1200px) { @content; } | |
} |
article img { | |
box-shadow: 5px 5px 0 0 rgb(238, 238, 238); | |
padding: 10px; | |
border: 1px solid rgb(238, 238, 238); | |
} |
function sortByLetter( array ) { | |
var length = array.length, | |
groups = {}, | |
item, | |
firstChar; | |
for ( var i = 0; i < length; i ++ ) { | |
item = array[ i ], | |
firstChar = item.charAt( 0 ); |