Skip to content

Instantly share code, notes, and snippets.

View KirillKudaev's full-sized avatar

Kirill Kudaev KirillKudaev

View GitHub Profile
//
// StoreReviewHelper.swift
// Template1
//
// Created by Apple on 14/11/17.
// Copyright © 2017 Mobiotics. All rights reserved.
//
import Foundation
import StoreKit
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Untitled Document</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="https://npmcdn.com/parse/dist/parse.min.js"></script>
<script>
Parse.initialize("518e0dbca14e73748f81e550e12deea515ff959e");
Parse.serverURL = 'http://ec2-35-165-199-91.us-west-2.compute.amazonaws.com:80/parse';
@bendodson
bendodson / RandomColorWithSeed (Swift 3)
Last active January 25, 2024 17:05
Generate a random color with a seed string using Swift 3
import UIKit
func randomColor(seed: String) -> UIColor {
var total: Int = 0
for u in seed.unicodeScalars {
total += Int(UInt32(u))
}