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
gem install compass | |
compass create [nombre_de_proyecto] | |
compass watch [ruta] |
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
curl −L https://get.rvm.io | bash −s stable | |
echo 'source ~/.rvm/scripts/rvm' >> ~/.bash_aliases && bash | |
rvm install 2.0.0-p195 | |
rvm use 2.0.0-p195 --default | |
rvm rubygems current |
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
sudo gem install sass | |
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 reset //partials | |
$front_color: #43de5e //variables | |
@mixin left($dist) | |
float: left | |
margin-left: $dist //Definición de mixin con parámetro | |
.notesite | |
position: relative | |
width: 1em | |
height: 1em | |
&:after // & es el simbolo de 'parent' |
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
sass --watch sass:stylesheets |
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
#Rails | |
sudo gem install rails | |
#SASS | |
gem install sass-rails | |
#CoffeeScript | |
gem install coffee-rails |
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
/* More simple transition, without underline effect | |
a:hover | |
color: #7f270a | |
text-decoration: none | |
+transition-duration(.7s) | |
+transition-property(all) | |
+transition-timing-function(ease-in-out) |
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
%triarrow | |
position: relative | |
&:after | |
border: solid transparent | |
content: " " | |
height: 0 | |
width: 0 | |
position: absolute | |
pointer-events: none | |
z-index: 99 |
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
<?php | |
function getGithubData($user,$repo){ | |
$ch = curl_init(); | |
$url = 'https://api.github.com/repos/'.$user.'/'.$repo.'/commits'; | |
$url2 = 'https://api.github.com/repos/'.$user.'/'.$repo.'/stats/contributors'; | |
$url3 = 'https://api.github.com/repos/'.$user.'/'.$repo.'/issues'; | |
curl_setopt($ch, CURLOPT_URL, $url); | |
curl_setopt($ch, CURLOPT_HEADER, FALSE); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); | |
curl_setopt($ch, CURLOPT_HTTPHEADER, array('User-Agent: Awesome-Octocat-App')); |
OlderNewer