Skip to content

Instantly share code, notes, and snippets.

View DynamicUserForm.js
import React from 'react';
import { withFormik } from 'formik';
import * as Yup from 'yup';
const MyForm = (props) => {
const {
senorgeno / data.json
Last active Jan 29, 2020
Sample data
View data.json
"id": "a68e40fb-e3d8-5c17-955a-dd23f53ecdaf",
"title": "Whitewater",
"image": "",
"isNew": true,
"slug": "/sample/slug/",
"openHours": "Everyday 11am - 10pm",
"city": "Darling Harbour",
"mainsPriceRange": "$15 - $25",
"rating": 3.0,
View .htaccess
# Deny access to templates (but allow from localhost)
<Files *.ss>
Order deny,allow
Deny from all
Allow from
# Deny access to IIS configuration
View fixed.html
<!DOCTYPE html>
1. All tokens are represented by '$' sign in the template.
2. You can write your code only wherever mentioned.
3. All occurrences of existing tokens will be replaced by their appropriate values.
4. Blank lines will be removed automatically.
5. Remove unnecessary comments before creating your template.
senorgeno / html
Created Mar 28, 2018
Insta Embed Script
View html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<!--1. Hit this url to get all the graph edges - using the insta username-->
senorgeno / html
Created Mar 25, 2018
Facebook Embed Example
View html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<script src=";version=v2.5"
senorgeno / # httpd22 - 2016-05-01_14-29-50.txt
Last active May 1, 2016
httpd22 (homebrew/apache/httpd22) on Mac OS X 10.11.4 - Homebrew build logs
View # httpd22 - 2016-05-01_14-29-50.txt
Homebrew build logs for homebrew/apache/httpd22 on Mac OS X 10.11.4
Build date: 2016-05-01 14:29:50
View gist:9de66bf93110218f9c14
<div class="row">
<dl class="dl-horizontal">
<dt>Primary :</dt>
<%= fixDiscipline(data.Application.Disciplines[0].Title, data.Application.Disciplines[0].SkillLevel) %>
<dt>Secondary :</dt>
<dd><%= fixDiscipline(data.Application.Disciplines[1].Title, data.Application.Disciplines[1].SkillLevel) %></dd>
<dt>Additional :</dt>
<dd><% _.each(data.Application.Disciplines, function (Discipline, index) { %>