Skip to content

Instantly share code, notes, and snippets.

View wazery's full-sized avatar
😎

Wazery wazery

😎
View GitHub Profile
@wazery
wazery / CSS3 Transition and Animations
Created January 10, 2014 05:50
CSS3 Transitions and Animations
Introduction to CSS3 Animations
=====================
**CSS3 came with a lot of handy features that changed the website styling dramaticaly, one of those is animations. There is a [specification][1] for the animation module since a couple of years now. Before CSS3, animating any element in your web page wasn't an easy task. Some of the techniques you might used in the past are Flash animations, animated GIFs, or using some JavaScript library that have animation techniques like JQuery.**
In this tutorial I will introduce you to how to use transitions, transforms, and animations by creating some simple examples.
----------
CSS3 Transitions
@wazery
wazery / Ruby on Rails Introduction
Created January 26, 2014 21:37
Getting started with Ruby on Rails
Getting started with Ruby on Rails
=====================
#Contents
- What is Ruby
- RubyGems
- Ruby Version Manager (RVM)
- Ruby Installation
- Windows
#! /usr/bin/ruby
def euler_1(n)
numbers = []
sum = 0
(0..n).each do
n -= 1
numbers << n if n % 3 == 0 or n % 5 == 0
end
#! /usr/bin/ruby
def euler_2(n)
f = 0
l= 1
numbers = []
i = 0
while i <= n
i = f + l
#! /usr/bin/ruby
def prime? n
(2..(n-1)).each { |x| return false if n % x == 0 }
true
end
def euler_3(n)
i = 2
numbers = []
@wazery
wazery / vim4rails
Created May 16, 2014 13:55
Welcome document
Vim for Rails
=====================
----------
Contents
---------
@wazery
wazery / vim4rails
Created May 21, 2014 18:40
Welcome document
Vim for Rails
=====================
----------
## Contents
- Introduction to Vim
@wazery
wazery / vim4rails
Created May 23, 2014 16:33
Welcome document
Vim for Rails
=====================
----------
## Contents
- Introduction to Vim
@wazery
wazery / vim4rails
Created May 25, 2014 10:00
Welcome document
Vim for Rails
=====================
----------
## Contents
- Introduction to Vim
@wazery
wazery / vim4rails
Created May 28, 2014 12:14
Welcome document
Vim for Rails
=====================
----------
### Brief history of Vi and Vim
Before the appearance of the famous operating system UNIX, the text editor “ed” appeared, which was written by Ken Thompson in 1971. ed is regarded as one of the oldest text editors ever, and it is also regarded as the first to implement the concept of Regular Expressions.