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 (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
// Styleguide 4.2. | |
$new-brand-main: #21A5B8 | |
$new-brand-main-1: #1F8B9B | |
$new-brand-secondary: #83A1A6 | |
$new-grey-light-1: #EEEEEE |
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
javascript:void%20function(){var%20n,t=[];$(%22.tb-stream-as-block%22).each(function(n,e){var%20r=$(e).find(%22.js-task-list-title%22).text(),o=$(e).find('a[style=%22color:%20rgb(0,%200,%200);%20background-color:%20rgb(74,%20204,%20230);%22]'),a=_.reduce(o,function(n,t){return%20n+parseInt(t.text)},0);return%20t.push({name:r,points:a})}),t.pop(),t.push({name:t[0].name+%22%20+%20%22+t[1].name,points:t[0].points+t[1].points}),n=_.reduce(t,function(n,t){return%20n+t.name+%22:%20%22+t.points+%22\n%22},%22%22),alert(n)}(); |
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
# Python 2.x: | |
python -m SimpleHTTPServer 8000 | |
# Python 3.x: | |
python -m http.server 8000 |
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
# Kill by process ID | |
ps aux | grep node | |
ps aux | grep ruby | |
# Process ID (second from the left) | |
kill -9 12345 | |
# Kill all named | |
killall node | |
killall ruby |
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
$('article.item').each(function(){ | |
var self = $(this) | |
, id = self.attr('data-adid') | |
, url = 'http://www.idealista.com/inmueble/' + id; | |
$.get(url).done(function(res, status){ | |
var text = $(res).find("#details li:contains('Estancia mínima de')").first().text(); | |
var months = parseInt(text.replace('Estancia mínima de', '').replace('meses', '').trim()); | |
if (months > 1) { | |
self.hide(); | |
} |
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 (v3.4.13) | |
// Compass (v1.0.3) | |
// ---- | |
.object | |
& | |
padding: 10px | |
&__element | |
padding: 20px |
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 (v3.3.14) | |
// Compass (v1.0.1) | |
// ---- | |
.object | |
& | |
color: red | |
&__element | |
padding: 20px |
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 (v3.3.14) | |
// Compass (v1.0.1) | |
// ---- | |
.object | |
& | |
color: red | |
font: | |
family: Arial |
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 (v3.3.14) | |
// Compass (v1.0.3) | |
// ---- | |
.object { | |
&:focus + &--modifier { | |
color: red; | |
} | |
&:focus + &__element { |
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 (v3.3.14) | |
// Compass (v1.0.3) | |
// ---- | |
.object { | |
&:focus + &__element { | |
color: red; | |
} | |
} |