Skip to content

Instantly share code, notes, and snippets.

View xaph's full-sized avatar

Zafer CAKMAK xaph

  • polarsteps
  • amsterdam
View GitHub Profile
@xaph
xaph / building-sync-systems.md
Created March 4, 2025 15:54 — forked from pesterhazy/building-sync-systems.md
Building an offline realtime sync engine

So you want to write a sync system for a web app with offline and realtime support? Good luck. You might find the following resources useful.

Overview articles

@xaph
xaph / openssl_commands.md
Created June 8, 2023 18:50 — forked from Hakky54/openssl_commands.md
Some list of openssl commands for check and verify your keys

OpenSSL 🔐

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl
@xaph
xaph / BootApplication.java
Created February 29, 2016 22:08 — forked from seanhinkley/BootApplication.java
spring boot + thymeleaf 3
package com.boot;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.SpringApplication;
//make sure spring boot doesn't attempt 2.1 config
@SpringBootApplication(exclude={org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration.class} )
public class AppApplication {
public static void main(String[] args) {
SpringApplication.run(AppSecurityApplication.class, args);
}
}
@xaph
xaph / index.md
Created July 7, 2013 09:21 — forked from rstacruz/index.md

Rails Models

Generating models

$ rails g model User

Associations

belongs_to

has_one