Skip to content

Instantly share code, notes, and snippets.

Avatar

Roman Tarnavski romant

View GitHub Profile
@romant
romant / Dockerfile
Last active Feb 12, 2022
Photon OS Base Image for Node.js Deployment
View Dockerfile
FROM photon
MAINTAINER Roman Tarnavski
WORKDIR /node
RUN tdnf install -y tar gzip xz
RUN curl -O https://nodejs.org/dist/v4.2.4/node-v4.2.4-linux-x64.tar.xz && \
View gist:577d16088e9fdc747b09d16ba51ea029
Verifying my Blockstack ID is secured with the address 1FiLqjQrWyZurjbTNPReNKuTy5z9kqYxKt https://explorer.blockstack.org/address/1FiLqjQrWyZurjbTNPReNKuTy5z9kqYxKt
@romant
romant / buggerOffLinks.js
Last active Mar 13, 2018
delete dropbox shared links
View buggerOffLinks.js
View gist:768c5f08a817ef36bec3f680b34a9b92
Verifying my Blockstack ID is secured with the address 1FiLqjQrWyZurjbTNPReNKuTy5z9kqYxKt https://explorer.blockstack.org/address/1FiLqjQrWyZurjbTNPReNKuTy5z9kqYxKt
View keybase.md

Keybase proof

I hereby claim:

  • I am romant on github.
  • I am romant (https://keybase.io/romant) on keybase.
  • I have a public key whose fingerprint is 3CC0 1058 2DA0 4BEE 802A C592 63E5 EE62 9A2A BA8B

To claim this, I am signing this object:

View CodeFormatter.sublime-settings
{
// Path for PHP executable, e.g. "C:/Program Files/PHP/php.exe". If empty, uses command "php" from system environments
"codeformatter_php_path": "",
"codeformatter_php_options": {
"indent_size": 4, // Indent size
"indent_with_tabs": false, // Indent with tabs or spaces
"indent_style": "k&r", // Indent the code in k&r, allman, gnu or whitesmiths style
"newline_before_comment": true, // add new line before comment block
// Add new lines after o before specific contents The settings are 'before' and 'after'. As value, use a comma separated list of contents or tokens, e.g. switch,while,for,foreach,try,namespace,T_INTERFACE
@romant
romant / Dockerfile
Created Dec 23, 2015
Meteor hoster
View Dockerfile
FROM node:0.10.41
#install meteor
RUN curl https://install.meteor.com/ | sh
# copy app bundle
COPY . /
RUN (cd /bundle/programs/server && npm install)
@romant
romant / gist:789fb163fb6430c42b0a
Created Nov 14, 2015
Meteor Folder Structure
View gist:789fb163fb6430c42b0a
mkdir -p client/{config,routes,views,helpers,stylesheets,templates} lib/{collections,helpers,schemas} server/{config,fixtures,lib,publications} public
View designer.html
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../topeka-elements/category-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="my-element">
<template>
<style>
:host {
View designer.html
<link rel="import" href="../topeka-elements/category-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<polymer-element name="my-element">
<template>
<style>