Skip to content

Instantly share code, notes, and snippets.

View Galitan-dev's full-sized avatar
🏠
Working from home

Galitan Galitan-dev

🏠
Working from home
  • Pessac, France (33)
  • 16:23 (UTC +02:00)
  • X @Galitan33
View GitHub Profile
@Galitan-dev
Galitan-dev / Dockerfile
Last active July 30, 2023 14:55 — forked from Raraph84/index.js
Discord Badge Bot
FROM node:alpine3.18 AS base
LABEL version="1.0"
LABEL author="Galitan-dev"
WORKDIR /run
FROM base AS dependencies
RUN [ "npm", "install", "discord.js" ]
FROM dependencies AS code
ADD https://gist.github.com/Galitan-dev/4ad2501e43bd604f1c514898b7e5705d/raw/index.js /run/index.js
@Galitan-dev
Galitan-dev / LICENSE
Last active February 21, 2022 14:14
Segment Node Package Webpacked
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
/*!
* The buffer module from node.js, for the browser.
*
@Galitan-dev
Galitan-dev / [Material Icons] Shader icons (from shaderlab).md
Last active February 17, 2022 17:34
[Material Icons] Shader icons (from shaderlab)

[Material Icons] Shader icons (from shaderlab)

Icons

Shaderlab File Icon Shaderlab Folder Icon Shaderlab Open Folder Icon

Visual Studio Code

@Galitan-dev
Galitan-dev / installPortainer
Last active September 8, 2022 05:27
Portainer Version Management
#!/bin/bash
echo Pulling latest image...
docker pull portainer/portainer-ce:latest
echo Deploying...
docker run -d -p 8000:8000 -p 9000:9000 -p 9443:9443 \
--name=portainer --restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v portainer_data:/data \