Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

aurel kurtula aurelkurtula

🎯
Focusing
View GitHub Profile
@aurelkurtula
aurelkurtula / README-Template.md
Created Sep 6, 2018 — forked from PurpleBooth/README-Template.md
A template to make good README.md
View README-Template.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

View style.css
body{
background: green;
}
@aurelkurtula
aurelkurtula / index.js
Last active Nov 17, 2017
This is to illustrate how react and readux work together, it's the full code explained in this tutorial: https://dev.to/aurelkurtula/a-beginners-introduction-to-working-with-redux-in-react-13k
View index.js
import ReactDOM from 'react-dom';
import React, { Component } from 'react';
import { Provider, connect } from 'react-redux';
import { createStore, compose } from 'redux';
const todos = (state = [], action) => {
switch (action.type) {
case 'CREATE_TODO':
return state.concat([action.text])
default:
@aurelkurtula
aurelkurtula / file1.txt
Created Nov 12, 2017
POSTING FROM EXPRESS
View json
book[0]
title = Death with interruptions
author = José Saramago
image = mm_03.gif
description = Death is fed up and ran away
genre[] = Fantasy, Magical Realism, Literature, Fiction
book[1]
title = We real cool
author = bell hooks
image = mm_05.gif
View gist:a3c51d6360aed0812ce8
This file has been truncated, but you can view the full file.
14007 verbose addTmpTarball already have metadata; skipping unpack for utils-merge@1.0.0
14008 verbose addTmpTarball /var/folders/gp/nqbyfk0n47bdrjxj3gz_mff80000gn/T/npm-16984-2b8c3844/registry.npmjs.org/bytes/-/bytes-1.0.0.tgz not in flight; adding
14009 verbose addTmpTarball already have metadata; skipping unpack for bytes@1.0.0
14010 info linkStuff indent-string@1.2.1
14011 silly linkStuff indent-string@1.2.1 has /MyMAMP/www/2015/My learning/Learning/myapp/node_modules/grunt-svgmin/node_modules/pretty-bytes/node_modules/meow/node_modules as its parent node_modules
14012 silly cache afterAdd cookie-parser@1.3.4
14013 verbose afterAdd /Users/aurelkurtula/.npm/cookie-parser/1.3.4/package/package.json not in flight; writing
14014 silly cache afterAdd on-headers@1.0.0
14015 verbose afterAdd /Users/aurelkurtula/.npm/on-headers/1.0.0/package/package.json not in flight; writing
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
console.log("javascript is working");
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
console.log("javascript is working");
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
console.log("javascript is working");
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
console.log("javascript is working")