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 styled from 'styled-components'; | |
| import { media } from 'utils/mediaQuery'; | |
| const Title = styled.h1` | |
| font-size: 24px; | |
| ${media.medium` | |
| font-size: 30px; | |
| `} | |
| ${media.large` | |
| font-size: 36px; |
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 sys | |
| import os | |
| from os import path | |
| import requests | |
| import tempfile | |
| from django.core.files import File | |
| from django.core.wsgi import get_wsgi_application | |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.2.1"> | |
| <hashTree> | |
| <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true"> | |
| <stringProp name="TestPlan.comments"></stringProp> | |
| <boolProp name="TestPlan.functional_mode">false</boolProp> | |
| <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp> | |
| <boolProp name="TestPlan.serialize_threadgroups">false</boolProp> | |
| <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> | |
| <collectionProp name="Arguments.arguments"/> |
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 sys | |
| from fabric import Connection, task | |
| from invoke import Responder | |
| from fabric.config import Config | |
| PROJECT_NAME = "project_name" | |
| PROJECT_PATH = "~/{}".format(PROJECT_NAME) | |
| REPO_URL = "remote_repo_url" | |
| def get_connection(ctx): |
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
| Class DynamicModelSerializer(serializers.ModelSerializer): | |
| """ | |
| A ModelSerializer that takes an additional `fields` argument that | |
| controls which fields should be displayed. | |
| """ | |
| def get_field_names(self, declared_fields, info): | |
| field_names = super(DynamicModelSerializer, self).get_field_names(delcared_fields, info) | |
| if self.dynamic_fields is not None: | |
| # Drop any fields that are not specified in the `fields` argument. |