Skip to content

Instantly share code, notes, and snippets.

View easingthemes's full-sized avatar
🕳️
 

Dragan Filipović easingthemes

🕳️
 
View GitHub Profile

Templating engines and React.js

I want to make a shopify theme using react.

How shopify theming works

You have a bunch of template files that have access to global server-side variables with liquid e.g. {{ product.title }}. Think wordpress or any other theme-based system.

 /theme
@Prasad9
Prasad9 / annotation.xml
Created November 6, 2017 13:54
A sample XML annotation file based on Pascal VOC format.
<annotation>
<folder>GeneratedData_Train</folder>
<filename>000001.png</filename>
<path>/my/path/GeneratedData_Train/000001.png</path>
<source>
<database>Unknown</database>
</source>
<size>
<width>224</width>
<height>224</height>
@heyimalex
heyimalex / example.js
Created September 21, 2016 16:15
Using mock-fs with jest
// __tests__/example.js
jest.mock('fs');
it('should serve as a nice example', () => {
const fs = require('fs')
// fs can be set up at any point by calling __configureFs.
fs.__configureFs({
'/test': {
@dazld
dazld / component.txt
Last active June 20, 2021 16:37
AEM Sightly JS globals, currentPage investigations
accessible
adaptTo
analyzable
cellName
childEditConfig
class
componentGroup
container
declaredChildEditConfig
declaredEditConfig
@antsa
antsa / placeholder.scss
Created March 23, 2012 12:00
Placeholder mixin for Sass
// Placeholder @mixin for Sass
//
// A mixin to style placeholders in HTML5 form elements.
// Includes also a .placeholder class to be used with a polyfill e.g.
// https://github.com/mathiasbynens/jquery-placeholder
// Requires Sass 3.2.
//
// Example usage (.scss):
//
// input {
@JRGould
JRGould / deep-thoughts-plugin.php
Created August 27, 2015 05:43
Deep Thoughts WordPress Functionality Plugin
<?php
/*
Plugin Name: Deep Thoughts Functionality
Description: API Modifications for my Deep Thoughts React Native app.
Author: Jeffrey Gould
Version: 0.1
Author URI: http://jrgould.com
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@hughrawlinson
hughrawlinson / wac1_notes.md
Last active February 26, 2018 19:30
Web Audio Conference Presentation Resources

Monday morning, January 26, 2015

9.15 Keynote #1 Audio and the Web - Chris Wilson

Tools & Components

###Session Moderator: Raphaël Troncy 10.30 Building a Collaborative Digital Audio Workstation Based on the Web Audio API - Jan Monschke

defaults: &defaults
working_directory: /home/circleci/kotlin-spring-boot-reactjs-poc
docker:
- image: circleci/openjdk:8-jdk-browsers
version: 2
jobs:
build:
<<: *defaults
steps: