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 script converts margins, padding, and borders to logical values, | |
# allowing RTL and vertical languages to show correctly. | |
# Supports both *.css and *.scss files. | |
# | |
# Some renames are not yet implemented widely, and may require CSS plugin | |
# https://github.com/csstools/postcss-logical | |
# They have been commented out for now, but feel free to try them out. | |
# | |
# Full spec: https://drafts.csswg.org/css-logical/ |
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
// Make sure you have json-summary as a coverage reporter in your jest config. | |
// coverageReporters: ['json-summary', 'text', 'lcov'] | |
import { readFileSync, mkdirSync, writeFileSync } from 'fs' | |
import { join } from 'path' | |
import { get } from 'https' | |
import { ok } from 'assert' | |
Promise.resolve().then(async () => { | |
const outputDir = join(process.cwd(), 'badges') |
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 axios from 'axios' | |
const MAX_REQUESTS_COUNT = 5 | |
const INTERVAL_MS = 10 | |
let PENDING_REQUESTS = 0 | |
// create new axios instance | |
const api = axios.create({}) | |
/** |
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
<annotation> | |
<folder>GeneratedData_Train</folder> | |
<filename>000001.png</filename> | |
<path>/my/path/GeneratedData_Train/000001.png</path> | |
<source> | |
<database>Unknown</database> | |
</source> | |
<size> | |
<width>224</width> | |
<height>224</height> |
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
defaults: &defaults | |
working_directory: /home/circleci/kotlin-spring-boot-reactjs-poc | |
docker: | |
- image: circleci/openjdk:8-jdk-browsers | |
version: 2 | |
jobs: | |
build: | |
<<: *defaults | |
steps: |
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
// __tests__/example.js | |
jest.mock('fs'); | |
it('should serve as a nice example', () => { | |
const fs = require('fs') | |
// fs can be set up at any point by calling __configureFs. | |
fs.__configureFs({ | |
'/test': { |
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
accessible | |
adaptTo | |
analyzable | |
cellName | |
childEditConfig | |
class | |
componentGroup | |
container | |
declaredChildEditConfig | |
declaredEditConfig |
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 | |
/* | |
Plugin Name: Deep Thoughts Functionality | |
Description: API Modifications for my Deep Thoughts React Native app. | |
Author: Jeffrey Gould | |
Version: 0.1 | |
Author URI: http://jrgould.com | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly |
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
const arr1 = [1,2,3] | |
const arr2 = [4,5,6] | |
const arr3 = [...arr1, ...arr2] //arr3 ==> [1,2,3,4,5,6] |
NewerOlder