brew install golang gdk-pixbuf pango gtk
go install github.com/Francesco149/sharenix
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
image: docker:stable | |
stages: | |
- deploy | |
docker push latest: | |
stage: deploy | |
only: | |
- pushes | |
script: |
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
class Map(dict): | |
""" | |
Example: | |
m = Map({'first_name': 'Eduardo'}, last_name='Pool', age=24, sports=['Soccer']) | |
""" | |
def __init__(self, *args, **kwargs): | |
super(Map, self).__init__(*args, **kwargs) | |
self.parse(args) |
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
Show hidden characters
{ | |
"presets": ["@babel/env", ["@babel/typescript", { "jsxPragma": "h" }]], | |
"plugins": [ | |
["@babel/transform-react-jsx", { "pragma": "h" }], | |
"@babel/proposal-optional-chaining", | |
"@babel/proposal-nullish-coalescing-operator" | |
] | |
} |
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
import { Inject, Injectable, Optional } from "@nestjs/common"; | |
import get from "lodash.get"; | |
import { | |
CONFIGURATION_TOKEN, | |
VALIDATED_ENV_PROPNAME, | |
} from "./config.constants"; | |
import { NoInferType } from "./types"; | |
import Joi from "joi"; | |
import { PrefixLogger } from "@toes/core"; | |
import { |
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 python:3.9-alpine | |
RUN mkdir /app | |
WORKDIR /app | |
RUN pip install poetry poethepoet | |
RUN poetry config settings.virtualenvs.create false | |
COPY poetry.lock pyproject.toml README.md /app/ | |
# to prevent poetry from installing my actual app, | |
# and keep docker able to cache layers |
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
import { HTTPMethod } from "http-method-enum"; | |
export type TypedApiMethods = { | |
[method in HTTPMethod]?: TypedRoute; | |
} & { | |
children?: TypedApiMethods[]; | |
path: string; | |
}; | |
export interface TypedRoute< |
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
{ | |
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | |
"meta": { | |
"version": "PTDL_v1" | |
}, | |
"exported_at": "2020-08-13T22:04:35-04:00", | |
"name": "node.js generic", | |
"author": "[email protected]", | |
"description": "a generic node js bot egg\r\n\r\nThis will clone a git repo for a bot. it defaults to master if no branch is specified.\r\n\r\nInstalls the node_modules on install with yarn. If you set user_upload then I assume you know what you are doing.", | |
"image": "quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-14", |
Instructions:
Run this to install the panel:
curl https://gist.github.com/creepinson/9680665877fa868eccf70541dc477aca/raw/1bbf9da05d34210676848168f5824d68505f9290/install.sh | sh