Skip to content

Instantly share code, notes, and snippets.

View reiterate-app's full-sized avatar

Rat Troupe reiterate-app

View GitHub Profile
@reiterate-app
reiterate-app / api_controller.rb
Created May 7, 2024 23:14
App Store Receipt Validation
# frozen_string_literal: true
require 'net/http'
class ApiController < ApplicationController
SANDBOX_RECEIPT_URL = 'https://sandbox.itunes.apple.com/verifyReceipt'
PRODUCTION_RECEIPT_URL = 'https://buy.itunes.apple.com/verifyReceipt'
@reiterate-app
reiterate-app / tailwind_css.rb
Created November 11, 2023 02:09
Tailwind CSS for Jekyll
# frozen_string_literal: true
require 'pathname'
require 'Open3'
module Jekyll
class TailwindPlugin < Generator
priority :normal
def generate(site)