.
├── /components/ # Shared or generic UI components
│ ├── /Button/ # Button component
│ ├── /Layout/ # Website layout component
│ ├── /Link / # Link component to be used insted of <a>
│ └── /... # etc.
├── /core/ # Core framework
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
const Note = props => <div>{props.note}</div>; | |
const SimpleNote = props => ( | |
<div | |
style={{ color: props.selectedNoteIndex === props.index ? 'red' : 'blue' }} | |
> | |
<Note note={props.note} /> | |
</div> | |
); |
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 * as React from 'react'; | |
const Note = props => ( | |
<div style={{ color: props.selected ? 'red' : 'blue' }}>{props.note}</div> | |
); | |
const notes = []; | |
const selectedNoteIndex = 1; | |
notes.map((note, index) => ( |
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 * as React from 'react'; | |
const Note = props => ( | |
<div | |
style={{ color: props.selectedNoteIndex === props.index ? 'red' : 'blue' }} | |
> | |
{props.note} | |
</div> | |
); |
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
Verifying my Blockstack ID is secured with the address 1J1LfA6bicnnv593DhVag4FaUzd8r1uxiu https://explorer.blockstack.org/address/1J1LfA6bicnnv593DhVag4FaUzd8r1uxiu | |
CREATE GIST |
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
/* eslint-disable max-len */ | |
/** | |
* Build config for development process that uses Hot-Module-Replacement | |
* https://webpack.github.io/docs/hot-module-replacement-with-webpack.html | |
*/ | |
import webpack from 'webpack'; | |
import validate, { Joi } from 'webpack-validator'; | |
import merge from 'webpack-merge'; | |
import ExtractTextPlugin from 'extract-text-webpack-plugin'; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
! "Enabled modi" Set from: XResources | |
rofi.modi: run | |
! "Window opacity" Set from: XResources | |
rofi.opacity: 93 | |
! "Window width" Set from: Default | |
! rofi.width: 50 | |
! "Number of lines" Set from: XResources | |
rofi.lines: 8 | |
! "Number of columns" Set from: Default | |
! rofi.columns: 1 |
I hereby claim:
- I am psamim on github.
- I am psamim (https://keybase.io/psamim) on keybase.
- I have a public key whose fingerprint is 140D 35F2 49CA AF6A 0643 DB8D 8EE8 CF0F 66FF 44A5
To claim this, I am signing this object:
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
library("openxlsx") | |
library("rpart") | |
library("rpart.plot") | |
## setwd("/home/samim/workspace/danial") | |
# Load the data | |
wb <- read.xlsx("data.xlsx") |
NewerOlder