Skip to content

Instantly share code, notes, and snippets.

@mordaha
mordaha / Chat.spec.tsx
Created June 24, 2019 04:13 — forked from vovkasm/Chat.spec.tsx
Sample test (not full, only to show code)
mport 'jest'
import { clock } from 'testing/setupFakeTimers'
import { TestController as Ctrl } from 'testing/testController'
import React from 'react'
import Renderer, { act } from 'react-test-renderer'
beforeEach(() => {
// simplifyed code
@mordaha
mordaha / Podfile
Created April 5, 2019 11:41 — forked from vovkasm/Podfile
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'Sample' do
project 'Sample', {
'Debug' => :debug,
'Staging' => :release,
'Production' => :release,
}
@mordaha
mordaha / nginx.conf
Created November 5, 2015 14:29 — forked from thoop/nginx.conf
Official prerender.io nginx.conf for nginx
# Change YOUR_TOKEN to your prerender token and uncomment that line if you want to cache urls and view crawl stats
# Change example.com (server_name) to your website url
# Change /path/to/your/root to the correct value
server {
listen 80;
server_name example.com;
root /path/to/your/root;
index index.html;