This file contains 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
#!/bin/bash | |
if [ $# -lt 2 ]; then | |
echo "Usage: send.bash USER_NAME MESSAGE [DATA ... DATA]" | |
exit 1 | |
fi | |
USER=$1 | |
MESSAGE=$2 | |
if [ $# -ge 3 ]; then |
This file contains 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
@iterations: 15; | |
@step: 5; | |
.mixin-loop(@i) when (@i > 0) { | |
@space-val: @i * @step; | |
.space-@{space-val} { | |
height: @space-val * 1px; | |
} |
This file contains 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
В общем нужно: | |
- верстать сайты и веб-интерфейсы | |
- использовать готовые js библиотеки | |
- читать документацию на английском | |
- делать правки на текущих проектах | |
- взаимодействовать с backend-разработчиками и верстальщиками | |
Ты: | |
- с опытом или сильно хочешь его получить | |
- выполнишь тестовое задание |
This file contains 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
Перед вами четыре задания, вы можете выполнить любое на свой вкус, никаких дополнительных требований нет, нам интерсен путь, которым вы пойдете, и конечный результат. | |
1. сверстать любой-любой-любой макет отсюда http://www.freepik.com/index.php?goto=8&cat=web-templates&type=psd | |
2. восхититься сайтом http://motherfuckingwebsite.com и оформить его на свой вкус, +10 к креативности | |
3. сверстать макет https://www.dropbox.com/s/ehm3b2b2i2z9vxt/notify.zip | |
4. сверстать главную сайта на бутстрапе newdecisions.ru, +10 к полезности |
This file contains 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 (window) { | |
function change(selector, content) { | |
var elements = window.document.querySelectorAll(selector); | |
for (var i = 0; i < elements.length; i++) { | |
var element = elements[i]; | |
element.innerHTML = content; | |
} |
This file contains 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 ajax(url, cb, errcb) { | |
var xhr; | |
xhr = new XMLHttpRequest(); | |
xhr.open('GET', url, true); | |
xhr.onreadystatechange = function () { | |
if (4 === xhr.readyState) { | |
if(xhr.status >= 200 && xhr.status < 400){ | |
cb(xhr); | |
} else { | |
errcb(xhr); |
This file contains 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
'use strict'; | |
const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const webpack = require('webpack'); | |
const writeStats = require('./utils/write-stats'); | |
const postcssUse = require('postcss-use'); | |
const autoprefixer = require('autoprefixer'); | |
const config = require('./config'); |
This file contains 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
{ | |
... | |
module: { | |
loaders: [ | |
{test: CSS_REGEX, loaders: ['style', 'css', 'postcss']}, | |
] | |
}, | |
postcss: () => [require('stylelint'), require('postcss-reporter')] | |
} |
This file contains 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
import { remove } from 'lodash'; | |
const MANIFEST_CHUNK_NAME_REGEX = /.*manifest\..+\.js/; | |
export default function (templateParams, compilation) { | |
const stats = { | |
styles: templateParams.htmlWebpackPlugin.files.css, | |
scripts: templateParams.htmlWebpackPlugin.files.js | |
}; |
This file contains 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
<!doctype html> | |
<script> | |
const UPDATES_URL = 'https://api.telegram.org/bot152495481:AAHOp1v7pz-cV3L2C-xiivqNi0qbVOOVNtQ/getUpdates'; | |
</script> |
OlderNewer