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
#include "raylib.h" | |
#include <stdlib.h> | |
#include <time.h> | |
#include <stdio.h> | |
#define MAZE_WIDTH 40 | |
#define MAZE_HEIGHT 25 | |
#define CELL_SIZE 20 | |
#define MINES_COUNT 30 // Anzahl der Minen im Labyrinth |
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
-- Press buttons to increment and decrement a counter. | |
-- | |
module Main exposing (Model, Msg(..), init, main, update, view) | |
import Array exposing (Array) | |
import Browser | |
import Html exposing (Html, button, div, input, section, text) | |
import Html.Attributes exposing (placeholder, value) |
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 React, { Component } from 'react'; | |
require('./style.scss'); | |
export default class MyComponent extends Component { | |
constructor(props) { | |
super(props); | |
// Beispiel Daten | |
this.stuff = [{ |
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
var numeral = require('numeral'); | |
var numeralDE = require('numeral/languages/de'); | |
numeralDE.delimiters.thousands = '.'; | |
numeral.language('de', numeralDE); | |
numeral.language('de'); | |
numeral(1024).format('0,0.00'); |
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
var express = require('express'); | |
var app = module.exports = express(); | |
// express routes.. etc.. | |
app.start = function () { | |
// start the web server | |
return app.listen(function () { | |
app.emit('started'); | |
console.log('Web server listening at: %s', app.get('url')); |