How to create a consistent writing habit
This file contains 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
react component: | |
render() { | |
const { username, password } = this.state.formData; | |
return ( | |
<div className={style.className}> | |
<hgroup> | |
<div className="center"> | |
<h1>Hi</h1> | |
</div> |
This file contains 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 '~client/shared/scss/typography'; | |
@import '~client/shared/scss/colors'; | |
@import '~client/shared/scss/elements/input-fields'; | |
:local(.className) { | |
overflow: hidden; | |
position: fixed; | |
top: 50%; | |
transform: translate(0, -50%); | |
width: 100%; |
This file contains 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
require "open3" | |
require "digest/sha1" | |
class Webpacker::Compiler | |
# Additional paths that test compiler needs to watch | |
# Webpacker::Compiler.watched_paths << 'bower_components' | |
cattr_accessor(:watched_paths) { [] } | |
# Additional environment variables that the compiler is being run with | |
# Webpacker::Compiler.env['FRONTEND_API_KEY'] = 'your_secret_key' |
This file contains 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
onClick: (event: any) => void |
This file contains 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
<TableContext.Provider value={product}> | |
<Table | |
products={products} | |
onProductChange={handleProductChange} | |
/> | |
<Sidebar /> | |
</TableContext.Provider> |
I hereby claim:
- I am akoskm on github.
- I am akoskm (https://keybase.io/akoskm) on keybase.
- I have a public key ASC9xA-7Lyx44Q_s-adaEdvE85fGhMf2MLJkw6FDBRpSxgo
To claim this, I am signing this object:
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta content="width=device-width,initial-scale=1" name="viewport"> | |
<title>Work Description Generator</title> | |
<style> | |
body { | |
margin: 10px; | |
font-size: 16px; | |
} |
This file contains 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
var Array = { | |
create: function(arr) { | |
if (arr) { | |
this.data = arr; | |
} else { | |
this.data = []; | |
} | |
return this; | |
}, | |
each: function(func, reverse) { |
This file contains 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
set nocompatible " be iMproved, required | |
filetype off " required | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set list | |
set listchars=eol:$,tab:>-,trail:~,extends:>,precedes:< |
NewerOlder