This file contains hidden or 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
| { | |
| "ignition": { | |
| "version": "3.0.0" | |
| }, | |
| "passwd": { | |
| "users": [ | |
| { | |
| "groups": [ | |
| "sudo", | |
| "docker" |
This file contains hidden or 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
| def periodic_table_plot(df, title="", element_column_name="element", value_column_name=None, colors="#ddd"): | |
| ''' | |
| Create an interactive periodic table with heatmap. | |
| Parameters: | |
| df Pandas Dataframe with relevant data. Has to have at least two columns with element | |
| symbols (e.g., Fe, Ir, H, ...) and a second column with values to display as heat map | |
| title A descriptive string shown as title with the periodic table | |
| element_column_name A string containing the name of the column with the element symbols in the df dataframe |
This file contains hidden or 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
| /* | |
| Provides a tailwindcss plugin for parallax effects. | |
| Usage: | |
| 1. Define class names for background images in the themes section of tailwind.config.ts | |
| 2. Use parralax effect on element: | |
| <div className="parallax-my-background w-screen h-screen"></div> |
This file contains hidden or 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
| % This beamer environment provides a simple way to make slides with full-size images | |
| % | |
| % Usage: | |
| % \begin{imageframe}[keepaspectratio,width=\paperwidth]{bg_image.jpg} | |
| Here comes my slide content | |
| \end{imageframe} | |
| % | |
| % The environment scales the image to fit the slide by default in a way that ensures the | |
| % entire picture is visible. That is usually not what you want. Use the optional parameter | |
| % to scale it as needed. Some common options are: |
This file contains hidden or 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 golang as build | |
| WORKDIR /app | |
| COPY *.go /app/ | |
| RUN CGO_ENABLED=0 GOOS=linux go build -o /bin/sproxy sproxy.go | |
| RUN CGO_ENABLED=0 GOOS=linux go build -o /bin/secho echo.go | |
| FROM alpine | |
| RUN apk add --no-cache netcat-openbsd |