Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View cbergau's full-sized avatar

Christian Bergau cbergau

  • Arvato eCommerce
  • Hannover (Germany)
View GitHub Profile

Sass/Less Comparison

In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.

For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.

Variables

@cbergau
cbergau / learning_stuff_checklist.md
Last active August 29, 2015 14:01
Checklist learning stuff
Language Status
PHP OK
Java OK
Android SDK OK
Android SDK Test OK
Objective-C X
IOS-SDK X
IOS-Testing X
Ruby OK
@cbergau
cbergau / my_first_ruby_script.rb
Created May 10, 2014 16:58
My very first ruby script
require "YAML"
# My very first Ruby code ever.
class LoginInteractor
attr_accessor :presenter
def initialize(presenter)
@presenter = presenter
end
@cbergau
cbergau / my_first_pyhton_script.py
Created May 10, 2014 16:55
My very first Pyhton Script
class LoginPresenter:
def __init__(self):
self.response = 0
def present_response(self, response):
self.response = response
class User:
def __init__(self, userid, username, password):
## Configure eth0
#
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet
BOOTPROTO=static