Skip to content

Instantly share code, notes, and snippets.

View Chadyka's full-sized avatar

Jakab Ádám Chadyka

View GitHub Profile
on:
push:
branches:
- <branch_name>
jobs:
build_and_push:
name: Build and push Docker image to DO Container Registry
runs-on: ubuntu-latest
# build stage
FROM node:12-alpine as build
RUN mkdir -p /app
WORKDIR /app
COPY ./package.json /app
COPY ./yarn.lock /app
const {
name,
main: script
} = require('./package');
const {
CLUSTER_MODE ='false'
} = process.env;
const isClusterMode = CLUSTER_MODE === 'true'
@Chadyka
Chadyka / shopify-nodejs-file-create-flow.js
Created February 23, 2022 02:02 — forked from celsowhite/shopify-nodejs-file-create-flow.js
Full flow and documentation for uploading a file to Shopify via the graphql api.
/*------------------------
Libraries
------------------------*/
const axios = require("axios");
const fs = require("fs");
const FormData = require("form-data");
/*------------------------
Download the file.
Good article on how to download a file and send with form data - https://maximorlov.com/send-a-file-with-axios-in-nodejs/
@Chadyka
Chadyka / homework.md
Last active September 28, 2020 16:13
RMarkdown renderelése HTML formátumba

RMarkdown renderelése HTML formátumba

make clean all parancs használatának előkészítése az rmarkdown könyvtárhoz


Függőségek telepítése

Minden függőséget a Miniconda segítségével fogunk telepíteni.