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
// https://github.com/figma/code-connect/issues/261 | |
// This type is generated by referencing https://www.figma.com/code-connect-docs/template-v2-api/ | |
declare module "figma" { | |
interface InstanceHandle { | |
/** | |
* Object containing all properties of the instance. | |
*/ | |
properties: Record<string, string | boolean | InstanceHandle>; | |
/* |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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 type { Module } from '@nuxt/types'; | |
import type * as webpack from 'webpack'; | |
class UnableToExtendError extends Error { | |
constructor() { | |
super('Unable to configure for css module'); | |
} | |
} | |
const isCssOrScssRule = (rule: webpack.RuleSetRule): boolean | undefined => { |
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 fs = require('fs'); | |
const glob = require('glob'); | |
module.exports = (options = {}) => { | |
const collector = {}; | |
const stuffs = glob.sync(options.inputGlob) | |
.map(filepath => fs.readFileSync(filepath, { encoding: 'utf8' })) | |
.join('\n') | |
// Collect then remove import syntax | |
.replace(/@import url\([^;]+\);/g, (match) => { |
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 { performance } = require('perf_hooks'); | |
const consola = require('consola'); | |
const path = require('path'); | |
const glob = require('glob'); | |
const shell = require('shelljs'); | |
const camelCase = require('lodash/camelCase'); | |
const upperFirst = require('lodash/upperFirst'); | |
const fs = require('fs-extra'); | |
const os = require('os'); |
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
// Complements: Planet PDF (http://www.planetpdf.com/) | |
// Source: https://forums.adobe.com/thread/286654?start=40&tstart=0 | |
// Modified by | |
// - Christian Sass for Acrobat XI compatibility | |
// - Bernd Alheit for newer Acrobat compatibility | |
// - amoshydra for comsolidating solution | |
// Add a menu item to reverse all pages in the active document | |
app.addToolButton({ cName: "Reverse", cLabel: "Reverse", cExec: "PPReversePages();", cEnable: "event.rc = (event.target != null);"}); | |
app.addToolButton({ cName: "Collate", cLabel: "Collate", cExec: "trustedCollatePages();", cEnable: "event.rc = (event.target != null);"}); |
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
// http://eslint.org/docs/user-guide/configuring | |
module.exports = { | |
'extends': [ | |
'standard', | |
'plugin:vue/recommended', | |
], | |
'plugins': [ | |
'standard' | |
], |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
/* Remove title heading */ | |
h1:first-child { | |
font-size: 0.5em; | |
display: none; | |
page-break-before: avoid; | |
} | |
/* Make done task smaller and less significant */ | |
#done-tasks { | |
opacity: 0.5 !important; |
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
#!/usr/bin/env bash | |
# names of latest versions of each package | |
export VERSION_PCRE=pcre-8.39 | |
export VERSION_OPENSSL=openssl-1.1.0c | |
export VERSION_NGINX=nginx-1.10.2 | |
# URLs to the source directories | |
export SOURCE_OPENSSL=https://www.openssl.org/source/ | |
export SOURCE_PCRE=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ |