Skip to content

Instantly share code, notes, and snippets.

View rojcyk's full-sized avatar
💯

Denis Rojcyk rojcyk

💯
View GitHub Profile
@rojcyk
rojcyk / webpack.config.js
Created August 16, 2019 08:36
webpack.config.js
const HtmlWebpackInlineSourcePlugin = require('html-webpack-inline-source-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const path = require('path')
module.exports = (env, argv) => ({
// This is necessary because Figma's 'eval' works differently than normal eval
devtool: argv.mode === 'production' ? false : 'inline-source-map',
entry: {
ui: './src/ui/ui.tsx', // The entry point for your UI code
class StatusBar extends Layer
constructor: (options = {}) ->
options.provider ?= "Blueprint"
options.data ?= "wifi"
options.tintColor ?= "black"
options.backgroundColor ?= null
options.signalStrength ?= 3
options.batteryStrength ?= 100
options.time ?= null
@rojcyk
rojcyk / newsletter_builder.js
Last active April 12, 2019 18:52
Email builder
// http://stackoverflow.com/questions/1335851/what-does-use-strict-do-in-javascript-and-what-is-the-reasoning-behind-it
'use strict';
const del = require('del');
const gulp = require('gulp');
// Gulp Plugins
const sass = require('gulp-sass'); // https://github.com/dlmanning/gulp-sass
const csso = require('gulp-csso'); // https://github.com/ben-eb/gulp-csso
@rojcyk
rojcyk / blogpost.jsx
Last active July 16, 2021 14:14
Blog outpout styling
import React from 'react'
import RehypeReact from 'rehype-react'
/* Importing styled or react components */
import {
Headline1,
} from './content'
/* Mapping the components to the markdown output */
@rojcyk
rojcyk / cloudSettings
Last active January 26, 2020 13:08
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-01-26T13:08:47.420Z","extensionVersion":"v3.4.3"}

WWDC for Designers

This document does not list every design related video on WWDC. I've skipped some since I believe they are oriented on people new to design or to Apple ecosystem. I curated this document for experienced iOS designers.

2017