Skip to content

Instantly share code, notes, and snippets.

View projectoperations's full-sized avatar

projectoperations projectoperations

View GitHub Profile
@projectoperations
projectoperations / Vagrantfile
Created May 4, 2024 20:30 — forked from mike-hearn/Vagrantfile
Multi-machine Vagrant config with private networking
# -*- mode: ruby -*-
# vi: set ft=ruby :
boxes = [
{
:name => "server1",
:eth1 => "192.168.205.10",
:mem => "1024",
:cpu => "1"
@projectoperations
projectoperations / docker-api-port.md
Created May 4, 2024 20:17 — forked from styblope/docker-api-port.md
Enable TCP port 2375 for external connection to Docker

Enable TCP port 2375 for external connection to Docker

See this issue.
Docker best practise to Control and configure Docker with systemd.

  1. Create daemon.json file in /etc/docker:

     {"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
    
#!/bin/sh
# Copyright (c) Tailscale Inc & AUTHORS
# SPDX-License-Identifier: BSD-3-Clause
#
# This script detects the current operating system, and installs
# Tailscale according to that OS's conventions.
set -eu
# All the code is wrapped in a main function that gets called at the
@projectoperations
projectoperations / .gitconfig
Last active May 11, 2024 06:44 — forked from dwcullop/.gitconfig
Sample of git config file (Example .gitconfig)
[user]
name = project operations
email = support@igedevteam.onmicrosoft.com
[core]
editor = \"C:\\Program Files\\Microsoft VS Code\\Code.exe\" \"-n\"
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol,space-before-tab
tabwidth=4
excludesfile = ~/.gitignore-global
symlinks = false
@projectoperations
projectoperations / sample_users_with_id.json
Created April 2, 2024 04:56 — forked from saltukalakus/sample_users_with_id.json
Sample users JSON file to import
[
{
"user_id": "583c3ac3f38e84297c002546",
"email": "test@test.com",
"name": "test@test.com",
"given_name": "Hello",
"family_name": "Test",
"nickname": "test",
"last_ip": "94.121.163.63",
"logins_count": 15,
@projectoperations
projectoperations / analyze.ts
Created March 18, 2024 03:55 — forked from MarcMogdanz/analyze.ts
Security.txt
const moment = require("moment");
const sqlite3 = require("sqlite3").verbose();
type SecurityTxt = {
// attributes
acknowledgments: Array<string>; // optional
canonical: Array<string>; // optional
contact: Array<string>; // required
encryption: Array<string>; // optional
expires: string; // required, max once
@projectoperations
projectoperations / .Cloud.md
Created March 16, 2024 19:16 — forked from imba-tjd/.Cloud.md
☁️ 一些免费的云资源

IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供语言环境和框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。

其他人的集合

🗺🐘 1000+ PostgreSQL EXTENSIONs

This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.

⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.

# https://hub.docker.com/repository/docker/aleleba/code-server
FROM codercom/code-server:3.12.0
RUN sudo apt-get update
#Instalando Node.js
RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
RUN sudo apt -y install nodejs
#Terminando de Instalar Node.js
@projectoperations
projectoperations / style.less
Created March 12, 2024 11:40 — forked from lighthouse-dev/style.less
markdown-preview-enhanced customize-css
/* Please visit the URL below for more information: */
/* https://shd101wyy.github.io/markdown-preview-enhanced/#/customize-css */
.markdown-preview.markdown-preview {
// modify your style here
// eg: background-color: blue;
h1,
h2 {
border-bottom: 1px solid #eaecef;
}