Skip to content

Instantly share code, notes, and snippets.

View SajidK25's full-sized avatar
🏠
Working from home

Sajid Khan SajidK25

🏠
Working from home
View GitHub Profile

Integrating OnlyOffice with Nextcloud Slim Setup

Introduction

My name is Sajid Khan, a Top Rated Fiverr professional and Backend & DevOps Engineer with over 8 years of experience in building scalable, containerized applications. I specialize in C#, Java, Python, PHP, ASP.NET Core, Laravel, React, Docker, Kubernetes, virtualization, Ansible, Heroku, Railway, Render, Vercel, Netlify, AWS, GCP, Azure, and more. As a Certified Google Cloud, AWS, Azure, and Agile Professional, I excel at designing, developing, and deploying robust architectures that ensure seamless performance and reliability. I've successfully integrated document editing solutions like OnlyOffice into Nextcloud environments for multiple clients, optimizing for Docker Compose stacks and environment-driven configurations.

After reviewing your repository and the requirements outlined in Issue #9, I fully understand your goal: to enhance your local "slim" Nextcloud Murena Workspace with OnlyOffice integration. This will enable default document

apiVersion: apps/v1
kind: Deployment
metadata:
name: sample-deployment
namespace: sample-app
labels:
app: sample-app
spec:
replicas: 3
selector:
FROM node:20-alpine AS base
### Dependencies ###
FROM base AS deps
RUN apk add --no-cache libc6-compat git
# Setup pnpm environment
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
@SajidK25
SajidK25 / Auth.php
Last active July 4, 2024 19:09
Assignment-3 PHP Annonymous Feedback
<?php
session_start();
class Auth {
public static function login($username, $password) {
if (User::verifyPassword($username, $password)) {
$user = User::find($username);
print_r($user);
$_SESSION['username'] = $username;
$_SESSION['user_id'] = $user->getId();
@SajidK25
SajidK25 / 01_elastic_beanstalk_install_packages.config
Created August 15, 2023 17:00 — forked from hanhdt/01_elastic_beanstalk_install_packages.config
Setup additional linux packages on AWS Elastic Beanstalk that need to build Rails 5
# Setup linux packages
option_settings:
- option_name: BUNDLE_DISABLE_SHARED_GEMS
value: "1"
- option_name: BUNDLE_PATH
value: "vendor/bundle"
packages:
yum:
curl: []
from sqlite3 import connect
from flask import Flask, jsonify, request
from flask_restful import Api, Resource
from pymongo import MongoClient
import bcrypt
import numpy
import tensorflow as tf
import requests
import subprocess
import json

Step:1

Remove existing containers:

cd delalight_site/
./server_down.sh
sudo rm -r data/postgres/

Step:2

@SajidK25
SajidK25 / gist:e42b54c4cc6f7cd96426073d944e2d9a
Last active January 16, 2022 11:51
Multi Stage Dockerfile using sshkey
FROM ubuntu as intermidiate
RUN apt-get update
RUN apt-get install git -y
RUN mkdir /root/.ssh/ && \
chmod 700 /root/.ssh
COPY id_ed25519 /root/.ssh/id_rsa && \
chmod 600 /root/.ssh/id_rsa
@SajidK25
SajidK25 / git-pull-all
Created October 25, 2021 18:12 — forked from grimzy/git-pull-all
Git pull all remote branches
#!/usr/bin/env bash
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all
@SajidK25
SajidK25 / k8s-bookmarks-CKA-CKAD.html
Created September 26, 2021 05:30 — forked from Piotr1215/k8s-bookmarks-CKA-CKAD.html
K8s bookmarks for CKA, CKAD and CKS exams
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
It will be read and overwritten.
DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><H3 ADD_DATE="1626629115" LAST_MODIFIED="1626629462" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks bar</H3>
<DL><p>