to run: webpack-dev-server
suit-loader is deprecated.
should probably use something like rework-webpack-loader but i dont understand webpack or rework well enough.
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<title>Diagram</title> | |
</head> | |
<body> | |
<div> | |
<svg width="200" height="100"> | |
<defs> |
to run: webpack-dev-server
suit-loader is deprecated.
should probably use something like rework-webpack-loader but i dont understand webpack or rework well enough.
import React from 'react' | |
import ReactDOM from 'react-dom' | |
import fetch from 'isomorphic-fetch' | |
const App = () => ( | |
<div> | |
<RepositoryList id="pe3"/> | |
</div> | |
) |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Leaflet Test</title> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5/leaflet.css" /> | |
<style type="text/css"> |
module.exports = (grunt) -> | |
grunt.initConfig | |
jade: | |
compile: | |
options: | |
pretty: true | |
data: { pageTitle: 'Otsikko otsikko', youAreUsingJade: '1' } | |
files: [ | |
src: './example.jade' | |
dest: './example.html' |
module.exports = (grunt) -> | |
grunt.initConfig | |
yaml: | |
render: #miksi tähän voi taas laittaa mitä vaan? | |
files: [ | |
src: './example.yaml' | |
dest: './example.json' | |
] | |
grunt.loadNpmTasks 'grunt-yaml' |
module.exports = (grunt) -> | |
grunt.initConfig | |
curl: | |
long: | |
src: 'http://www.hankintailmoitukset.fi/fi/?all=1' | |
dest: './scrape-file.html' | |
grunt.loadNpmTasks 'grunt-curl' | |
grunt.registerTask 'default', 'This is the default task', 'curl' |
module.exports = (grunt) -> | |
grunt.initConfig | |
staticHandlebars: | |
options: | |
partials: "" | |
helpers: "" | |
simpleTarget: | |
# Target-specific file lists and/or options go here. |
* { | |
border: 1px dashed #0000ff; | |
} |
/* compile with: g++ hello.cpp -o hello */ | |
#include <iostream> | |
using namespace std; | |
int main () | |
{ | |
cout << "Hello World!\n"; | |
return 0; | |
} |