Skip to content

Instantly share code, notes, and snippets.

View vieko's full-sized avatar
Summoning Demons

Vieko Franetovic vieko

Summoning Demons
View GitHub Profile
@vieko
vieko / .gitignore
Created May 9, 2020 21:44
My default gitignore
node_modules
.db
.next
.env
.env.build
.now
@vieko
vieko / .eslintrc.json
Created May 9, 2020 21:40
My default eslint RC
{
"root": true,
"plugins": ["react", "react-hooks"],
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"parserOptions": {
@vieko
vieko / .prettierrc.json
Created May 9, 2020 21:39
My default Prettier RC
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": false,
"jsxBracketSameLine": false,
"proseWrap": "always"
@vieko
vieko / steam-grantpackage-api-endpoint.js
Created March 18, 2020 23:37
Grants packageId to steamId provided publisher web api key via nodejs endpoint
const fetch = require('node-fetch')
const FormData = require('form-data')
export default function(req, res) {
const payload = new FormData()
payload.append('key', 'publisher_steam_web_api_key')
payload.append('steamid', 'user_steam_id')
payload.append('packageid', 'package_id')
payload.append('ipaddress', '0.0.0.0')
fetch('https://partner.steam-api.com/ISteamUser/GrantPackage/v1/', {
method: 'POST',
#282828,#3c3836,#98971a,#fbf1c7,#3E313C,#EBDBB2,#b8bb26,#fb4934

Keybase proof

I hereby claim:

  • I am vieko on github.
  • I am vieko (https://keybase.io/vieko) on keybase.
  • I have a public key ASB_AUzy2nev1OSzbPE9Q3FgiOCaEI9NkF4VGHiOXNcVAwo

To claim this, I am signing this object:

import React from 'react'
const SvgComponent = props => (
<svg
className="prefix__gse-logo"
width={172}
height={46}
preserveAspectRatio="xMinYMin meet"
{...props}
>
{
classPrefix: '',
scriptGlobalName: 'window',
options: [
'addTest',
'atRule',
'domPrefixes',
'hasEvent',
'html5shiv',
'html5printshiv',
@vieko
vieko / gist:e788061a9ca56b9419e7cecd6c38ba9b
Created December 7, 2018 22:35
modernizr.config.json
{
classPrefix: '',
scriptGlobalName: 'window',
options: [
'addTest',
'atRule',
'domPrefixes',
'hasEvent',
'html5shiv',
'html5printshiv',

STORY TITLE

  • syntax: <subject><verb><object>[modifier]
  • Subject: author, admin, developer, reader, visitor, editor, approver, user
  • Verb: always in the present tense: creates, clicks, sees, sends
  • Object: terminology / informal entities: message, payment info, work order
  • modifier: optional, must add relevant detail, keep to a minimum

STORY DESCRIPTION

  • includes the motivation of the feature
  • the acceptance criteria