##Games http://hackdesign.org/redirect/link/kerning-game/ http://shape.method.ac/
##interactive guide to blog typography http://www.kaikkonendesign.fi/typography/section/1
| @font-face { | |
| font-family: 'Climacons-Font'; | |
| src:url('climacons-webfont.ttf') format('truetype'); | |
| font-weight: normal; | |
| font-style: normal; | |
| } | |
| .climacon:before{ | |
| font-family: 'Climacons-Font'; | |
| speak: none; | |
| font-style: normal; |
##Games http://hackdesign.org/redirect/link/kerning-game/ http://shape.method.ac/
##interactive guide to blog typography http://www.kaikkonendesign.fi/typography/section/1
| function temp( temperature, element ){ | |
| var norm = function(x){ return x - 10; }, | |
| cold = function(x){ | |
| return 'rgba(0, 131, 253,'+ Math.abs(norm(x) / 25) + ')'; | |
| }, | |
| warm = function(x){ | |
| return 'rgba(253,'+ Math.floor((200 - x*3)) +',0,'+ norm(x)/15 + ')'; | |
| }; | |
| /* | |
| * Model for each widget | |
| * | |
| */ | |
| var Widget = Backbone.Model.extend({ | |
| defaults : { | |
| stagged : false, | |
| left : null, | |
| top : null, |
| /* | |
| requires node version v0.11.2 | |
| call this with `node --harmony thisFile.js` | |
| */ | |
| /* | |
| calls 'cb' after some sleep | |
| time with a random value. | |
| */ | |
| var producer = function(cb ){ |
| <?php | |
| // Grundlegende Einstellungen: | |
| $Mail = "[email protected]"; //Hier die eigene E-Mail Adresse einfügen. | |
| $Betreff = "Nachricht von Kaufmannbau.com Mobile"; //Hier Betreff der E-Mail angeben, welche an die E-Mail Adresse versandt wird. | |
| $Name = "Peter"; //Dein Name | |
| $Homepage = "www.m.kaufmannbau.com"; // Deine Website | |
| $out = ""; | |
| //So, nun folgt der relativ einfach gestaltete PHP-Teil: |
| class View{ | |
| char cbrett[80][80]; | |
| public: | |
| View(); | |
| void show(); | |
| void showField(int, int, int, char, char * ); | |
| }; |
| #ifndef BibLib_Brett_h | |
| #define BibLib_Brett_h | |
| #include "Feld.h" | |
| #include "View.h" | |
| class Feld; | |
| class View; | |
| class Brett{ |
| function replaceEmoticons(text) { | |
| var emoticons = { | |
| ':-)' : 'smile1.gif', | |
| ':)' : 'smile2.gif', | |
| ':D' : 'smile3.gif', | |
| ':-|' : 'smile4.gif' | |
| }, url = "http://www.domain.com/", patterns = [], | |
| metachars = /[[\]{}()*+?.\\|^$\-,&#\s]/g; | |
| // build a regex pattern for each defined property |
| + - | |
| ------------------------------------ | |
| Call-by-Value 15 | |
| Funktions Overloading 10 5 | |
| Call-by-Referenz 15 | |
| Using Directive 10 5 | |
| Default Parameter 15 | |
| Inline Funktionen 13 2 | |
| namespace 13 2 | |
| Makro 15 |