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 ruby:2.7.0-alpine | |
| ENV PORT=80 | |
| RUN apk add --no-cache \ | |
| build-base \ | |
| libxml2-dev \ | |
| libxslt-dev \ | |
| postgresql-dev \ | |
| tzdata |
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
| <?php | |
| $servername = "127.0.0.1"; | |
| $username = "user"; | |
| $password = "password"; | |
| $dbname = "db"; | |
| $conn = new mysqli($servername, $username, $password, $dbname); | |
| if ($conn->connect_error) { |
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
| import learning.business.superAnimals.ElasticHuman; | |
| import learning.business.superAnimals.HomoSapiens; | |
| import learning.business.superAnimals.Superman; | |
| import learning.business.superAnimals.Invisible; | |
| import learning.basicGUI.BaseAppGUI; | |
| import learning.basicGUI.ImagePanel; | |
| import learning.basicGUI.InternalButton; | |
| import learning.basicGUI.FlowPanel; | |
| import learning.basicGUI.GridPanel; | |
| import java.awt.TextArea; |
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
| /* | |
| * Complete the 'closestNumbers' function below. | |
| * | |
| * The function accepts INTEGER_ARRAY numbers as parameter. | |
| */ | |
| const closestNumbers = (numbers) => { | |
| let result = []; | |
| let minimalDistance = Infinity; | |
| numbers.sort((a, b) => a - b); |
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
| ffmpeg -i input.mov -q:v 1 -q:a 1 output.wmv |
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
| axios.interceptors.response.use( | |
| (response) => response, | |
| (error) => { | |
| if (defaultAxios.isAxiosError(error)) { | |
| throw new Error( | |
| `Failed Request to ${error.config.url} with ${JSON.stringify( | |
| error.config.data | |
| )} with status ${error.response?.status} and data ${JSON.stringify( | |
| error.response?.data |
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
| # Your Tailwind CSS version | |
| TAILWIND_VERSION := 4.1.6 | |
| # Your output and input CSS files | |
| OUTPUT_CSS := dist/tailwind.min.css | |
| INPUT_CSS := src/input.css | |
| # Platform detection | |
| UNAME_S := $(shell uname -s) | |
| UNAME_M := $(shell uname -m) |
OlderNewer