Skip to content

Instantly share code, notes, and snippets.

View aurelkurtula's full-sized avatar
🎯
Focusing

aurel kurtula aurelkurtula

🎯
Focusing
View GitHub Profile
import './style.css'
// Define an interface for a Pokemon object
interface Pokemon {
name: string;
image: string; // Add more properties as needed
}
// A class for creating HTML elements for Pokemon objects
class PokemonDOM {
{"status":"ok","totalResults":0,"articles":[{"title":"Career Horoscope Today, February 8, 2023: Zodiacs may expect career changes - Hindustan Times","author":"Neeraj Dhankher","source":{"Id":null,"Name":"Hindustan Times"},"publishedAt":"2023-02-07T21:30:12Z","url":"https://www.hindustantimes.com/astrology/horoscope/career-horoscope-today-february-8-2023-zodiacs-may-expect-career-changes-101675783158952.html"},{"title":"Raveena Tandon opens up about her broken engagement with Akshay Kumar: People have divorces, what’s the b - Indiatimes.com","author":"etimes.in","source":{"Id":"the-times-of-india","Name":"The Times of India"},"publishedAt":"2023-02-07T20:12:00Z","url":"https://timesofindia.indiatimes.com/entertainment/hindi/bollywood/news/raveena-tandon-opens-up-about-her-broken-engagement-with-akshay-kumar-people-have-divorces-whats-the-big-deal/articleshow/97708635.cms"},{"title":"Thunivu uncensored version streaming on THIS OTT platform - 123telugu","author":null,"source":{"Id":null,"Name":"123telugu.com"},
@aurelkurtula
aurelkurtula / README-Template.md
Created September 6, 2018 09:12 — forked from PurpleBooth/README-Template.md
A template to make good README.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

body{
background: green;
}
@aurelkurtula
aurelkurtula / index.js
Last active November 17, 2017 03:37
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
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 November 12, 2017 03:57
POSTING FROM EXPRESS
EXPRESS
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
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
14016 verbose afterAdd /Users/aurelkurtula/.npm/connect-timeout/1.6.2/package/package.json written
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
console.log("javascript is working");
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
console.log("javascript is working");