This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package example | |
import "github.com/pablodz/inotifywaitgo/inotifywaitgo" | |
func Example() { | |
dir := "./my_files" | |
files := make(chan []byte) | |
errors := make(chan []byte) | |
go inotifywaitgo.WatchPath(&inotifywaitgo.Settings{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:latest | |
WORKDIR /app | |
RUN apt-get update && \ | |
apt-get install -y \ | |
build-essential \ | |
autoconf \ | |
libtool \ | |
pkg-config \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# [🟨OPTIONAL] Uninstall old docker versions | |
sudo apt-get remove docker docker-engine docker.io containerd runc | |
# Refresh latest version | |
sudo apt-get update | |
# Install pre-req | |
sudo apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"encoding/gob" | |
"fmt" | |
"github.com/go-redis/redis" | |
) | |
type Address struct { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"net/http" | |
) | |
// Tenant struct to hold tenant information | |
type Tenant struct { | |
ID int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package logger | |
import ( | |
"fmt" | |
"log" | |
"os" | |
"time" | |
"github.com/getsentry/sentry-go" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
X | Y | Z | R | G | B | Intensity | |
---|---|---|---|---|---|---|---|
731000.31 | 9246012.06 | 3317.59 | 126 | 119 | 163 | 5911.00 | |
731002.53 | 9246010.16 | 3316.46 | 118 | 110 | 160 | 6939.00 | |
731000.50 | 9246012.30 | 3316.79 | 127 | 121 | 159 | 3855.00 | |
731000.25 | 9246012.73 | 3317.08 | 126 | 120 | 157 | 5654.00 | |
731001.47 | 9246010.60 | 3317.28 | 121 | 114 | 159 | 4369.00 | |
731000.70 | 9246011.82 | 3317.23 | 123 | 116 | 161 | 5140.00 | |
731001.55 | 9246010.33 | 3317.76 | 117 | 110 | 156 | 3598.00 | |
731000.17 | 9246012.24 | 3317.63 | 123 | 117 | 159 | 6939.00 | |
731002.04 | 9246011.01 | 3316.09 | 119 | 113 | 153 | 9766.00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
X | Y | Z | R | G | B | Intensity | |
---|---|---|---|---|---|---|---|
731001.53 | 9246012.31 | 3316.09 | 241 | 227 | 242 | 8481.00 | |
731002.11 | 9246010.85 | 3316.43 | 168 | 163 | 195 | 11565.00 | |
731000.32 | 9246012.16 | 3317.49 | 182 | 167 | 188 | 8481.00 | |
731002.40 | 9246011.24 | 3315.82 | 148 | 137 | 167 | 8738.00 | |
731000.35 | 9246012.20 | 3317.24 | 204 | 189 | 212 | 5654.00 | |
731001.29 | 9246010.10 | 3318.00 | 132 | 127 | 154 | 6168.00 | |
731001.67 | 9246010.62 | 3317.10 | 179 | 174 | 204 | 7710.00 | |
731001.81 | 9246011.19 | 3316.55 | 168 | 162 | 189 | 7967.00 | |
731002.92 | 9246010.82 | 3315.35 | 194 | 179 | 200 | 11565.00 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install jitsi-desktop 2.10.5550-1 on Ubuntu 20.04 or 22.04: | |
# ---------------------------------------------------------- | |
# Add missing dependencies and force to run with openjdk-8 | |
[ "$(id -u)" -ne 0 ] && echo "This script must be run as root" && exit 1 | |
function installDependencies() { | |
apt update |
NewerOlder