Skip to content

Instantly share code, notes, and snippets.

:octocat:
Summoning Demons

Vieko Franetovic vieko

:octocat:
Summoning Demons
Block or report user

Report or block vieko

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@vieko
vieko / .gitignore
Created May 9, 2020
My default gitignore
View .gitignore
node_modules
.db
.next
.env
.env.build
.now
@vieko
vieko / .eslintrc.json
Created May 9, 2020
My default eslint RC
View .eslintrc.json
{
"root": true,
"plugins": ["react", "react-hooks"],
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"parserOptions": {
@vieko
vieko / .prettierrc.json
Created May 9, 2020
My default Prettier RC
View .prettierrc.json
{
"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 Mar 18, 2020
Grants packageId to steamId provided publisher web api key via nodejs endpoint
View steam-grantpackage-api-endpoint.js
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',
View gist:76d697b27809bbddfa5b37989a649803
#282828,#3c3836,#98971a,#fbf1c7,#3E313C,#EBDBB2,#b8bb26,#fb4934
View keybase.md

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:

View gse-logo.js
import React from 'react'
const SvgComponent = props => (
<svg
className="prefix__gse-logo"
width={172}
height={46}
preserveAspectRatio="xMinYMin meet"
{...props}
>
View modernizr.config.js
{
classPrefix: '',
scriptGlobalName: 'window',
options: [
'addTest',
'atRule',
'domPrefixes',
'hasEvent',
'html5shiv',
'html5printshiv',
View gist:e788061a9ca56b9419e7cecd6c38ba9b
{
classPrefix: '',
scriptGlobalName: 'window',
options: [
'addTest',
'atRule',
'domPrefixes',
'hasEvent',
'html5shiv',
'html5printshiv',
View PivotalTrackerGuidelines.md

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
You can’t perform that action at this time.