Skip to content

Instantly share code, notes, and snippets.

View FloorD's full-sized avatar

Floor Drees FloorD

View GitHub Profile
@FloorD
FloorD / gist:66610fba109bbbe1bf77
Last active August 29, 2015 14:19
Fashion Camp Vienna CSS

###CSSmerizing

CSS (short for Cascading Style Sheets) is a language used for describing the look and formatting of a document written in a markup language like HTML. In fact it is closely connected with HTML, since it gives style to HTML elements. In contrast to HTML, CSS has no hierarchy and can be written in the order that we choose.

CSS3 is the last released version of CSS, and it also improves CSS a lot. For example, it gives the possibility to animate an element.

The two languages — HTML, as discussed in yesterday's workshop, and CSS — are independent of one another. HTML will always represent content, and CSS will always represent the appearance of that content.

Let's get started

@FloorD
FloorD / gist:a0061ba49e409c8d72b9
Last active August 29, 2015 14:19
Fashion Camp Vienna HTML

HTM-WHAT?

Every webpage you look at is written in a language called HTML (HyperText Markup Language). You can think of HTML as the skeleton that gives every webpage structure. In this course, that's eaxctly what we'll do, using HTML to add paragraphs, headings, images and links to a webpage.

HTML is the main markup language for creating web pages and other information that can be displayed in a web browser. You can write your web application in any programming languages, but in the end it will always be transformed into HTML because that’s the language of the browser. It is a so-called hierarchical language, you'll find out why in bit.

Inspect all the elements

We're hacking Facebook today. We'll not really. Only very locally actually. On your machine. Open up facebook.com and either right click your mouse or clickpad and select 'inspect element' or hit the command key (⌘) and 'u'. Et voila, you're looking at Facebook's HTML skeleton. It is a lot, but Facebook shares a lot of common features with o

@FloorD
FloorD / gist:8fc0f1aea5e1d4d8262f
Last active August 29, 2015 14:15
Toys'R'Ruby

There are multiple game libraries for Ruby, Gosu (website, Github, RubyGems) being the most well known. Gosu is 2D game development and features easy to use and game-friendly interfaces to 2D graphics and text (accelerated by 3D hardware), sound samples and music as well as keyboard, mouse and gamepad/joystick input.

Potentially also using Gamebox (website, Github), a framework for building and distributing games using Gosu. Or Chipmunk.

Maybe we can take some from http://guides.railsgirls.com/ruby-game/ and the gosu showcase as inspiration: http://www.libgosu.org/cgi-bin/mwf/board_show.pl?bid=2

Basic setup:

  • ingredients (Ruby version, Gem version, os) > infobox
  • What does 'game library mean', is there a difference between 'library' and 'gem'? > infobox
  • what game ar
POST http://example.com/api/send_email {
"mail": {
"recipients" : ["jameskirk@example.com","jeanluc@example.com"],
"subject" : "Welcome",
"body" : "<html><.....></html>",
"send_at": "2014-12-11"
}
}
App started
Showing health and status for app anydjango3 in org anynines / space test as jweber@anynines.com...
OK
requested state: started
instances: 1/1
usage: 256M x 1 instances
urls: anydjango3.de.a9sapp.eu
-----> Downloaded app package (12K)
Cloning into '/tmp/buildpacks/heroku-buildpack-python'...
-----> Installing runtime (python-3.4.1)
-----> Installing dependencies with pip
Downloading/unpacking Django==1.7 (from -r requirements.txt (line 1))
$>cf target # verify that we are in the correct organization and space
API endpoint: https://api.de.a9s.eu (API version: 2.6.0)
User: jweber@anynines.com
Org: anynines
Space: test
$>cf push
Using manifest file /.../anydjango/manifest.yml …
---
applications:
- name: anydjango
memory: 256M
instances: 1
host: anydjango
path: .
buildpack: https://github.com/heroku/heroku-buildpack-python
@FloorD
FloorD / gist:77aafd5f6f7e0f6b8511
Last active August 29, 2015 14:01
Schotland express

Thursday May 22

Berlin SXF
17:55

Edinburgh EDI
19:05

7/3 Glengyle Terrace EH3 9 LL

@FloorD
FloorD / gist:11246068
Last active August 29, 2015 14:00
Notes RGSoC org call 23/4

In the call: Laura, Katrin, Markus, Sara, Sebastian, Anika, Lisa, Sven, Floor

###updates round Anika has an interview coming up for RBB together with Ute (RG Berlin).
Floor send out emails in accordance with Sven and Sebastian.
Lisa has a contact to Sweetpad (hotel software written in Rails) and will ask them for sponsering.
Sven emailed 40 companies (like Yahoo, Dropbox and Stripe) and is waiting to hear back from them.
Sebastian has been playing around with the notifier app and will move the selection process feature from the campaign app to the teams app. Sara worked on finalizing the Duana app, and answered a bunch of emails in the RGSoC inbox and from people asking questions to her directly. She has an hour a day to spare, so ping her if you need specific stuff done.
Markus will contact Lieferheld to be a sponsor. He is working on the coaches guide and planning to make a pull request later this week. He also plans to work on some issues for the teams app.