This file contains hidden or 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
#!/usr/bin/env ruby | |
require 'graphviz' | |
class Visualizer | |
def initialize | |
@g = GraphViz.new( "G", :type => "graph", :rankdir => "LR", :bgcolor => "#808080", :aspect => 1 ) | |
end | |
def prune(file) | |
file.gsub(/\S+\/(\S+)\.scss/, '\\1').gsub(/@import ['"](\S+\/)?(\S+)['"];/, '\\2') |
This file contains hidden or 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
Road features | |
road basics | |
bridge | |
footbridge | |
path | |
steps | |
1-lane | |
2-lane | |
4-lane | |
residential |
This file contains hidden or 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 Rumah (House) | |
1.1 Sangat Miskin (Very Poor) | |
1.2 Miskin (Poor) | |
1.3 Sedang (Medium) | |
1.4 Kaya (Rich) | |
1.5 Kondisi Bangunan (Building Conditions) | |
1.5.1 Atap (Roof) | |
1.5.1.1 Ilalang (Weeds) | |
1.5.1.2 Seng / Asbes (Zinc / Asbestos) |
This file contains hidden or 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 "colors"; | |
@import "buttons.scss"; | |
@import "compass/css3"; | |
@mixin tabs { | |
float: left; | |
width: 100%; | |
background: transparent; | |
margin: 0!important; | |
height: 43px; |
This file contains hidden or 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
@mixin resource-layout( | |
$width: $primary_width, | |
$language_dir: left, | |
$type: discussion, | |
$background_color: none, | |
$icon_width: 40px, | |
$padding: $default_padding) { | |
background-color: $background_color; | |
border-top: 2px solid lighten($tarawera, 10%); |
This file contains hidden or 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
/*directional mixins*/ | |
@import "base"; | |
@import "welcome"; | |
@import "announcement"; | |
@import "favorites"; | |
@import "tags"; | |
@import "sidebar"; | |
@import "nav"; | |
@import "tabs"; |
This file contains hidden or 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
li:first-of-type { | |
background: darken(yellow, 50%); | |
&::before { | |
content: "FIRST"; | |
} | |
} |
This file contains hidden or 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
[[email protected] ~/git/meedan-dev] | |
[(master)] > | |
$ heroku db:pull | |
Loaded Taps v0.3.23 | |
Auto-detected local database: sqlite://db/development.sqlite3 | |
Warning: Data in the database 'sqlite://db/development.sqlite3' will be overwritten and will not be recoverable. | |
! WARNING: Potentially Destructive Action | |
! This command will affect the app: meedan-dev | |
! To proceed, type "meedan-dev" or re-run this command with --confirm meedan-dev |
This file contains hidden or 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
// ======================================================================================== | |
// MARKUP | |
// div.row | |
// div.row_ar or div.row_en <------ (1 main language per row) | |
// div.column_ar and div.column_en <------ (2 language columns per row) | |
!meta_header_height = 55px | |
=headline_big_type(!from="right") | |
a |
This file contains hidden or 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 "compass/css3"; | |
$lightcolor: #ffffcc; | |
@include linear-gradient(color_stops($lightcolor,darken($lightcolor,5%))); |