Skip to content

Instantly share code, notes, and snippets.

import React, { Component } from 'react';
import PropTypes from 'prop-types';
const openStringLetter = note => {
const letter = note === 0 ? 'o' : 'x';
return letter;
};
const drawOpenStringNote = (note, stringNo) => {
<div className="rh5v-DefaultPlayer_component ">
<video className="rh5v-DefaultPlayer_video" poster="http://localhost:3000/0eade07f0c4b6c89b8e66472a03b765c.png">
<source src="https://cdn.ipifny.com/images/ipifny.mp4" type="video/mp4" />
</video>
<div className="rh5v-Overlay_component ">
<span className="rh5v-Overlay_inner">
<svg
xmlns="http://www.w3.org/2000/svg"
width="40"
height="40"
@aliustaoglu
aliustaoglu / .babelrc
Created November 12, 2017 08:13
Create NPM module
{
"presets": ["env"],
"plugins": [
"transform-object-rest-spread",
"transform-react-jsx"
]
}
@aliustaoglu
aliustaoglu / App.js
Last active November 6, 2017 06:25
Redux-Uygulaması
import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
import Ogrenciler from './components/Ogrenciler';
import Siniflar from './components/Siniflar';
class App extends Component {
render() {
return (
<div className="App">
@aliustaoglu
aliustaoglu / Lambda-surfReport.png
Last active November 3, 2017 23:30
Lambda that parses surf-forecast.com and returns a JSON
Lambda-surfReport.png
@aliustaoglu
aliustaoglu / SurfForecast.ino
Created November 3, 2017 23:08
SurfForecast
#include <ESP8266WiFi.h>
#include <WiFiClientSecure.h>
#include <Wire.h>
#include "SSD1306.h"
#include "ArduinoJson.h"
char ssid[] = "MYWIFI";
char password[] = "MYPASSWORD";
String surfPoints[] = {"Maori-Bay", "North-Piha", "Te-Arai-Point", "Raglan-Manu-Bay"};
int dizi = 0;