(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
html { | |
background: url(images/bg.jpg) no-repeat center center fixed; | |
-webkit-background-size: cover; | |
-moz-background-size: cover; | |
-o-background-size: cover; | |
background-size: cover; | |
} |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
1. Добавляем политику трафика к интерфейсу. | |
Switch(config)#interface fastethernet 0/1 | |
Switch(config-if)#service-policy output policy1 | |
2. Идентифицируем функцию QoS данной политики, используя классы. | |
Switch(config)#policy-map policy1 | |
Switch(config-pmap)#class cisco | |
Switch(config-pmap-c)#bandwidth 3000 | |
Switch(config-pmap)#class class-default | |
Switch(config-pmap-c)#bandwidth 2000 | |
3. Классификация потока трафика, как принадлежащего к указанному классу QoS. |
I hereby claim:
To claim this, I am signing this object:
1. cisco> enable | |
2. cisco# clock set 17:10:00 28 Aug 2009 | |
3. cisco# configure terminal | |
4. cisco(config)# ip domain name test.dom | |
5. cisco(config)# crypto key generate rsa | |
6. cisco(config)# service password-encryption | |
7. cisco(config)# username user privilege 15 password 7 Pa$$w0rd | |
8. cisco(config)# aaa new-model | |
9. cisco(config)# line vty 0 4 | |
10. cisco(config-line)# transport input ssh |
var BatchStream = require('batch-stream2') | |
var gulp = require('gulp') | |
var coffee = require('gulp-coffee') | |
var uglify = require('gulp-uglify') | |
var cssmin = require('gulp-minify-css') | |
var bower = require('gulp-bower-files') | |
var stylus = require('gulp-stylus') | |
var livereload = require('gulp-livereload') | |
var include = require('gulp-include') | |
var concat = require('gulp-concat') |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
composite -gravity center /Users/bdrwx/floating-window-9018/public/images/close.gif /Users/bdrwx/floating-window-9018/public/images/image-1.jpg /Users/bdrwx/floating-window-9018/public/images/testo.png |
module Paperclip | |
class Watermark < Processor | |
# Handles watermarking of images that are uploaded. | |
attr_accessor :current_geometry, :target_geometry, :format, :whiny, :convert_options, :watermark_path, :overlay, :position | |
def initialize file, options = {}, attachment = nil | |
super | |
geometry = options[:geometry] | |
@file = file | |
@crop = geometry[-1,1] == '#' |
module Paperclip | |
class Watermark < Processor | |
## | |
# A Paperclip::Processor for watermarking images with imagemagick's | |
# composite command. | |
# | |
# Place this code in lib/paperclip_processors/watermark.rb or into a Rails initializer. | |
# | |
# Example: All orginal files are resized to be at most 480 pixels in |