Skip to content

Instantly share code, notes, and snippets.

View projectoperations's full-sized avatar
💭
building learning and connections

projectoperations projectoperations

💭
building learning and connections
View GitHub Profile

Moving Files with SharePoint Online REST APIs in Microsoft Flow

About

This is an overview of how to move files with Microsoft Flow using the SharePoint - Send an HTTP request to SharePoint action and SharePoint Online REST APIs.

These SharePoint Online REST APIs can be used outside of Flow, but you will need to handle authentication and provide an X-RequestDigest header with any POST requests (as with any SP REST POST request).

In the case of Flow's SharePoint - Send an HTTP request to SharePoint action, authentication is handled for you and you do not need to provide the X-RequestDigest header.

#!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
# App Default Values
APP="Daytona"
var_tags="docker;development;daytona"
var_cpu="2"
var_ram="4096"
var_disk="20"
var_os="ubuntu"
@projectoperations
projectoperations / install-docker-ubuntu-2025.md
Created November 23, 2025 06:22 — forked from cybergitt/install-docker-ubuntu-2025.md
How to Install Rootless Docker on Ubuntu on 2025

Rootless Docker

This guide teaches how to use Rootlesskit and Docker to install a Rootless Docker and run Docker containers in Rootless mode. The setup works for Linux (Ubuntu, Debian, etc.), and Raspberry PI Docker allows you to create Rootless containers. This means, Docker Engine will create and run these containers in Rootless mode. They will run as unprivileged to the user namespaces creating them.

Install Rootless Docker Kit and Run Rootless Container Mode

You will learn different ways to get Rootless container ready:

  • Using Docker Engine
  • Using Rootlesskit
@projectoperations
projectoperations / install_rootless_docker.sh
Created November 20, 2025 13:51 — forked from psavarmattas/install_rootless_docker.sh
docker-rootless-install-scripts
#!/bin/bash
# Script to install rootless Docker for the current user
check_command() {
if ! command -v "$1" &> /dev/null; then
echo "Error: $1 is required but not found. Please install it and try again." >&2
exit 1
fi
}

We can configure the USB drive so that it can be auto-mounted when plugged in.

  1. Insert the external USB drive to the linux server

  2. UUID (universal unique identifier) is used in Linux for the detection of the USB which is plugged in or for the identification of the partition used by the USB drive. Because of this we have to be a root user. We can be a root user by the sudo command, it will ask for a password.

  3. Use this command to list the disk or dirves connected

pi@raspberrypi:~ $ lsblk
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
@projectoperations
projectoperations / contabo.nix
Created November 18, 2025 06:42 — forked from nycksw/contabo.nix
contabo.nix
# contabo.nix: Parameters needed for Contabo's VPS environment.
{ config, pkgs, ... }:
{
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/sda";
boot.loader.grub.forceInstall = true;
}
@projectoperations
projectoperations / sources.list
Created July 22, 2025 07:21 — forked from hakerdefo/sources.list
Ubuntu 24.04 LTS (Noble Numbat) complete sources.list
deb http://archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ noble-updates main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ noble-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse
@projectoperations
projectoperations / Makefile
Last active June 21, 2025 06:54
Example of a detailed Makefile
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
#!/bin/bash
iatest=$(expr index "$-" i)
#######################################################
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
#######################################################
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
@projectoperations
projectoperations / fedora-41-desktop-setup.sh
Created May 30, 2025 21:46 — forked from ph33nx/fedora-41-desktop-setup.sh
Fedora 41 Desktop Environment Setup for Developers
sudo dnf update -y && sudo dnf autoremove -y
reboot
# Enable RPMFusion repos: https://docs.fedoraproject.org/en-US/quick-docs/rpmfusion-setup/
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf config-manager --enable fedora-cisco-openh264
sudo dnf update @core
# If secure boot
sudo dnf install kmodtool akmods mokutil openssl