/users
- GET — получить список пользователей
- POST — новый пользователь
/{id}
- GET — информация по пользователю
- POST — обновить данные пользователя
- DELETE — удалить пользователя
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
feat(scope): add hat wobble | |
^--^ ^----^ ^------------^ | |
| | | | |
| | +—> Summary in present tense | |
| | | |
| +————> Scope, f.e. "filter" or "storage" | |
| | |
+——————> Type: chore, docs, feat, fix, refactor, style, or test |
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
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", |
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
[alias] | |
co = checkout | |
ci = commit | |
s = status | |
p = push | |
pl = pull | |
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short |
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
grunt.initConfig({ | |
sass: { | |
files: ['<%= yeoman.app %>/styles/{,*/}*.scss'], | |
tasks: ['sass:server', 'autoprefixer'] | |
}, | |
sass: { | |
server: { | |
files: { | |
'.tmp/styles/main.css': '<%= yeoman.app %>/styles/main.scss' |
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
.blocks-stacked { | |
.block { | |
border: 1px solid #eee; | |
margin-left: 0; | |
margin-right: 0; | |
z-index: 1; | |
&:hover { | |
border-color: blue; | |
z-index: 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
@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; } | |
} |
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
article img { | |
box-shadow: 5px 5px 0 0 rgb(238, 238, 238); | |
padding: 10px; | |
border: 1px solid rgb(238, 238, 238); | |
} |
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 sortByLetter( array ) { | |
var length = array.length, | |
groups = {}, | |
item, | |
firstChar; | |
for ( var i = 0; i < length; i ++ ) { | |
item = array[ i ], | |
firstChar = item.charAt( 0 ); |