This file contains 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
machine: | |
node: | |
version: v0.11.13 | |
environment: | |
COVERALLS_REPO_TOKEN: "xxx" | |
CIRCLE_ARTIFACTS: "coverage" | |
general: | |
artifacts: | |
- "coverage" # relative to the user's home directory |
This file contains 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
'use strict' | |
var gulp = require('gulp') | |
var standard = require('gulp-standard') | |
var mocha = require('gulp-mocha') | |
var istanbul = require('gulp-istanbul') | |
var coveralls = require('gulp-coveralls') | |
gulp.task('standard', function () { | |
return gulp.src(['./app.js']) |
This file contains 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
'use strict' | |
var gulp = require('gulp') | |
var standard = require('gulp-standard') | |
var mocha = require('gulp-mocha') | |
var istanbul = require('gulp-istanbul') | |
var coveralls = require('gulp-coveralls') | |
var output_path = process.cwd() |
This file contains 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 MyRC4 { | |
constructor(key) { | |
const keyBytes = Buffer.from(key) | |
const keyLength = keyBytes.length | |
this.m_state = Array(256) | |
this.m_x = 0 | |
this.m_y = 0 | |
This file contains 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 React, { Component } from "react"; | |
import css from "./assets/css/style.css"; | |
import img1 from "./assets/images/img1.jpeg"; | |
import img2 from "./assets/images/img2.jpeg"; | |
import img3 from "./assets/images/img3.jpeg"; | |
import img4 from "./assets/images/img4.jpeg"; | |
import AddImage from "./AddImage"; | |
export default class Gallery extends Component { | |
constructor() { |
This file contains 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 React, { Component } from "react"; | |
import uniqueString from "unique-string"; | |
import agent from "superagent"; | |
import classNames from "classnames"; | |
import logo from "./logo.svg"; | |
import "./Gallery.css"; | |
import ImageList from "./Components/ImageList"; | |
import image1 from "./images/img1.jpeg"; | |
import image2 from "./images/img2.jpeg"; | |
import image3 from "./images/img3.jpeg"; |
This file contains 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 React, { Component } from "react"; | |
import agent from "superagent"; | |
import classNames from "classnames"; | |
import logo from "./logo.svg"; | |
import "./Gallery.css"; | |
import ImageList from "./Components/ImageList"; | |
import { FilePond } from "react-filepond"; | |
export default class Gallery extends Component { | |
constructor() { |
This file contains 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
version: 2 | |
jobs: | |
build: | |
macos: | |
xcode: "10.2.0" | |
steps: | |
- run: | |
name: Update Xcode to latest 10.2 version | |
command: | | |
# Requires setting the XCODE_INSTALL_USER and XCODE_INSTALL_PASSWORD |
This file contains 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
npx lockfile-lint --path npm-shrinkwrap.json --allowed-hosts npm yarn --validate-https | |
npx: installed 33 in 2.348s | |
ABORTING lockfile lint process due to error exceptions | |
Unable to find relevant lockfile parser for "npm-shrinkwrap.json", consider passing the --type option. | |
Error | |
at new ParsingError (/home/drazisil/.npm/_npx/12990/lib/node_modules/lockfile-lint/node_modules/lockfile-lint-api/src/common/ParsingError.js:27:33) | |
at ParseLockfile.parseSync (/home/drazisil/.npm/_npx/12990/lib/node_modules/lockfile-lint/node_modules/lockfile-lint-api/src/ParseLockfile.js:53:13) |
This file contains 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 result = await superagent | |
.put(`${putURL}`) | |
.send(uploadFile) // sends a JSON post body | |
.set("Content-Type", "application/x-gzip") | |
.set("Content-Encoding", "gzip") | |
.set("x-amz-acl", "public-read") | |
.set("Content-Length", Buffer.byteLength(uploadFile)); |
OlderNewer