Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View TorstenDittmann's full-sized avatar
💻
Working on Appwrite.io

Torsten Dittmann TorstenDittmann

💻
Working on Appwrite.io
View GitHub Profile
@TorstenDittmann
TorstenDittmann / ChristmasTree.java
Last active October 15, 2019 11:51
JAVA - Weihnachtsbaum in Konsole
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package christmastree;
import java.util.Scanner;
/**
# Love open-source, dev-tooling and passionate about code as much as we do?
# ---
# We're always looking for awesome hackers like you to join our 100% remote team!
# Check and see if you find any relevant position @ https://appwrite.io/company/careers
# (and let us know you found this message...)
# This script contains hidden JS code to allow better readability and syntax highlighting
# You can use "View source" of this page to see the full script.
# Appwrite CLI location
@TorstenDittmann
TorstenDittmann / index.d.ts
Created May 31, 2021 10:32
NodeJS Typescript Definitions
declare module "package-name" {
export class Client {
/**
* Set endpoint.
*
* @param {string} endpoint
*
* @return {this}
*/
setEndpoint(endpoint: string): Client;
@TorstenDittmann
TorstenDittmann / nginx.conf
Last active January 6, 2023 21:58
NGinx + Realtime
events {
worker_connections 1024;
}
http {
server {
listen 80;
listen 443;
# config for setting up and handling Appwrite SSL
@TorstenDittmann
TorstenDittmann / .env
Last active September 15, 2021 07:29 — forked from eldadfux/.env
Appwrite 0.10 - Stack
_APP_ENV=production
_APP_LOCALE=en
_APP_CONSOLE_WHITELIST_ROOT=enabled
_APP_CONSOLE_WHITELIST_EMAILS=
_APP_CONSOLE_WHITELIST_IPS=
_APP_SYSTEM_EMAIL_NAME=Appwrite
_APP_SYSTEM_EMAIL_ADDRESS=team@appwrite.io
_APP_SYSTEM_SECURITY_EMAIL_ADDRESS=security@appwrite.io
_APP_SYSTEM_RESPONSE_FORMAT=
_APP_OPTIONS_ABUSE=disabled
@TorstenDittmann
TorstenDittmann / sdk.ts
Last active September 20, 2021 13:27
sdk.ts
import 'isomorphic-form-data';
import { fetch } from 'cross-fetch';
type Payload = {
[key: string]: any;
}
type Headers = {
[key: string]: string;
}
@TorstenDittmann
TorstenDittmann / docker-compose.yml
Last active March 17, 2022 12:28
improve docker yaml
# WARNING!
# This is a development version of THE Appwrite docker-compose.yml file.
# Avoid using this file in your production environment.
# We're exposing here sensitive ports and mounting code volumes for rapid development and debugging of the server stack.
version: '3'
x-env-defaults: &x-env-defaults |-
_APP_ENV
_APP_LOCALE
import 'isomorphic-form-data';
import { fetch } from 'cross-fetch';
namespace Models {
/**
* Documents List
*/
export type DocumentList<Document extends Models.Document> = {
/**
* Total number of documents documents that matched your query.
@TorstenDittmann
TorstenDittmann / schema.json
Last active July 27, 2023 13:25
schema.json
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"$schema": {
"type": "string"
},
"items": {
"type": "array",
"items": [
> composer licenses --no-dev
Name: appwrite/server-ce
Version: dev-main
Licenses: BSD-3-Clause
Dependencies:
Name Version Licenses
adhocore/jwt 1.1.2 MIT
appwrite/appwrite 10.0.0 BSD-3-Clause