code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/package.json b/package.json "dist/electron/**/*"
],
"dmg": {
- "contents": [
- {
+ "contents": [{
"x": 410,
"y": 150,
"type": "link",
"target": "nsis"
},
"nsis": {
- "perMachine": true
+ "perMachine": true,
+ "oneClick": false,
+ "allowToChangeInstallationDirectory": true
},
"linux": {
"icon": "build/icons... | 11 |
diff --git a/components/test-info.js b/components/test-info.js @@ -11,37 +11,38 @@ import {
NettestGroupMiddleBoxes,
NettestGroupPerformance
} from 'ooni-components/dist/icons'
+import { FormattedMessage } from 'react-intl'
export const testGroups = {
'websites': {
'color': theme.colors.indigo5,
- 'name': 'Websites',
+... | 14 |
diff --git a/vis/js/list.js b/vis/js/list.js @@ -1044,13 +1044,13 @@ list.attachClickHandlerAbstract = function(enlarged) {
let list_holder = d3.selectAll("#list_holder");
if(enlarged) {
- list_holder.select(".list_subentry_show_statistics").on("click", function(d) {
+ list_holder[0].forEach(function (element) {
+ let ... | 1 |
diff --git a/package.json b/package.json {
"name": "minimap",
"main": "./lib/main",
- "version": "4.29.6",
+ "version": "4.29.7",
"private": true,
"description": "A preview of the full source code.",
"author": "Fangdun Cai <cfddream@gmail.com>",
| 6 |
diff --git a/README.md b/README.md - [Assets](#assets)
- [Actions](#actions)
- [Details](#details)
+ - [Job States](#job-states)
- [Programmatic](#programmatic)
+ - [Information](#information)
- [Template rendering](#template-rendering)
- [Footage items](#footage-items)
- [Fields](#fields)
- [Example](#example)
- - [Da... | 3 |
diff --git a/packages/bitcore-node/test/verification/db-verify.ts b/packages/bitcore-node/test/verification/db-verify.ts @@ -94,6 +94,7 @@ export async function validateDataForBlock(blockNum: number, log = false) {
//blocks with same height
const blocksForHeight = await BlockStorage.collection.countDocuments({ chain, n... | 12 |
diff --git a/src/utils/ledger-bridge-provider/BitcoinLedgerBridgeProvider.js b/src/utils/ledger-bridge-provider/BitcoinLedgerBridgeProvider.js import { BitcoinLedgerProvider } from '@liquality/bitcoin-ledger-provider'
import { fromBase58 } from 'bip32'
+// import { bitcoin } from '@liquality/types'
+// import { address... | 3 |
diff --git a/src/lib/wallet/GoodWalletClass.js b/src/lib/wallet/GoodWalletClass.js @@ -670,7 +670,8 @@ export class GoodWallet {
return Number(wallet.utils.fromWei(price))
} catch (e) {
- log.error('getReservePriceDAI failed:', e.message, e)
+ log.warn('getReservePriceDAI failed:', e.message, e)
+ throw e
}
}
| 0 |
diff --git a/sirepo/simulation_db.py b/sirepo/simulation_db.py @@ -1033,9 +1033,9 @@ def _validate_name(data):
{'simulation.folder': s.folder},
):
n2 = d.models.simulation.name
- if n2.startswith(n):
+ if n2.startswith(n) and d.models.simulation.simulationId != s.simulationId:
starts_with[n2] = d.models.simulation.simu... | 1 |
diff --git a/sox.common.js b/sox.common.js if (sox.site.type == sox.site.types.chat) {
return Chat.RoomUsers.current().name;
} else {
- return Stack && this.loggedIn ? decodeURI(Stack.options.user.profileUrl.split('/')[5]) : undefined;
+ var $uname = $('body > div.topbar > div > div.topbar-links > a > div.gravatar-wrap... | 4 |
diff --git a/test/versioned/node-mysql2/mysql-pooling.tap.js b/test/versioned/node-mysql2/mysql-pooling.tap.js @@ -189,11 +189,16 @@ test('MySQL instrumentation with a connection pool and node-mysql 2.0+',
t.equals(selectSegment.children.length, 1, 'should only have a callback segment')
t.equals(selectSegment.children[... | 11 |
diff --git a/README.md b/README.md @@ -17,7 +17,7 @@ Instead, if you want to run the source code (which is completely open) or develo
1. Download the binary [here](https://github.com/nttgin/BGPalerter/releases) (be sure to select the one for your OS)
-2. Execute the binary (e.g. `chmod 700 bgpalerter-linux-x64 && ./bgp... | 7 |
diff --git a/articles/architecture-scenarios/implementations/mobile-api/mobile-implementation-android.md b/articles/architecture-scenarios/implementations/mobile-api/mobile-implementation-android.md @@ -8,10 +8,6 @@ toc: true
This document is part of the [Mobile + API Architecture Scenario](/architecture-scenarios/appl... | 2 |
diff --git a/docs/providers/aws/guide/credentials.md b/docs/providers/aws/guide/credentials.md @@ -81,7 +81,7 @@ Here's an example how you can configure the `default` AWS profile:
serverless config credentials --provider aws --key AKIAIOSFODNN7EXAMPLE --secret wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
```
-Take a look a... | 1 |
diff --git a/src/sdk/conference/conference.js b/src/sdk/conference/conference.js safeCall(onFailure, err || 'connection_error');
});
- self.socket.on('connection_failed', function() {
- L.Logger.info("ICE Connection Failed");
+ self.socket.on('connection_failed', function(args) {
+ L.Logger.error("MCU reports connectio... | 9 |
diff --git a/ci/config.yaml b/ci/config.yaml @@ -18,4 +18,5 @@ checks:
audit:
npm:
cwe_ignore:
- - CWE-400
+ - CWE-400 # Uncontrolled Resource Consumption
+ - CWE-22 # Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
| 8 |
diff --git a/edit.js b/edit.js @@ -217,6 +217,7 @@ const _buildMeshEquals = (a, b) => {
}
};
const itemMeshes = [];
+const npcMeshes = [];
const _decorateMeshForRaycast = mesh => {
mesh.traverse(o => {
if (o.isMesh) {
@@ -755,13 +756,52 @@ _setCurrentChunkMesh(chunkMesh);
o.isBuildMesh = true;
}
});
+ let animation = n... | 0 |
diff --git a/assets/js/modules/analytics/components/settings/GA4SettingsControls.js b/assets/js/modules/analytics/components/settings/GA4SettingsControls.js @@ -265,9 +265,9 @@ export default function GA4SettingsControls( {
'google-site-kit'
),
matchedProperty.displayName,
- measurementIDs?.[
+ measurementIDs[
matchedP... | 2 |
diff --git a/src/shapes/rectangle.js b/src/shapes/rectangle.js this.pos = new me.Vector2d();
- // pre-allocate the vector array
- this.points = [
- new me.Vector2d(), new me.Vector2d(),
- new me.Vector2d(), new me.Vector2d()
- ];
-
this.shapeType = "Rectangle";
- this.setShape(x, y, w, h);
+
+ this.setShape(x, y, [
+ n... | 11 |
diff --git a/components/menu-picklist/index.jsx b/components/menu-picklist/index.jsx @@ -116,14 +116,14 @@ const MenuPicklist = React.createClass({
window.addEventListener('click', this.closeOnClick, false);
this.setState({
- selectedIndex: this.getIndexByValue(this.props.value)
+ selectedIndex: this.getIndexByValue(th... | 4 |
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -764,6 +764,77 @@ const _clearXZ = (dst, isPosition) => {
}
};
+class Blinker {
+ constructor() {
+ this.mode = 'ready';
+ this.waitTime = 0;
+ this.lastTimestamp = 0;
+ }
+ update(now) {
+ const _setOpen = () => {
+ this.mode = 'open';
+ this.waitTime = (0.5 + 0.... | 0 |
diff --git a/packages/bitcore-node/test/benchmark/benchmark.ts b/packages/bitcore-node/test/benchmark/benchmark.ts @@ -7,7 +7,11 @@ import { Storage } from '../../src/services/storage';
import { BlockModel } from '../../src/models/block';
import { BitcoinBlockType } from '../../src/types/namespaces/Bitcoin/Block';
impo... | 4 |
diff --git a/app/controllers/carto/api/user_presenter.rb b/app/controllers/carto/api/user_presenter.rb @@ -190,7 +190,13 @@ module Carto
avatar_url: @user.avatar,
feature_flags: @user.feature_flag_names,
base_url: @user.public_url,
- needs_password_confirmation: @user.needs_password_confirmation?
+ needs_password_confi... | 3 |
diff --git a/README.md b/README.md # Netlify CLI
-[![npm version][npm-img]][npm] [![build status][travis-img]][travis] [![windows build status][av-img]][av]
-[![coverage][coverage-img]][coverage] [![dependencies][david-img]][david] [![downloads][dl-img]][dl]
+[![npm version][npm-img]][npm] [![build status][azure-img]][... | 1 |
diff --git a/src/commands/list.js b/src/commands/list.js @@ -21,11 +21,6 @@ class ListCommand extends Command {
quiet: flags.quiet
});
- if (!items) {
- this.error(`unable to parse input: ${argv.join(",")}`);
- this.exit(1);
- }
-
const listed = flatten(items.map(item => list(item)));
if (flags.json) {
| 9 |
diff --git a/editor/uploadImage.php b/editor/uploadImage.php @@ -50,8 +50,9 @@ function return_bytes($val) {
return $val;
}
-if (!isset($_SESSION['toolkits_logon_username']))
+if (!isset($_SESSION['toolkits_logon_username']) && !is_user_admin())
{
+ _debug("Session is invalid or expired");
die("Session is invalid or ex... | 11 |
diff --git a/generators/entity-server/templates/src/main/java/package/domain/Entity.java.ejs b/generators/entity-server/templates/src/main/java/package/domain/Entity.java.ejs @@ -647,7 +647,7 @@ relationships.forEach((relationship, idx) => {
<%_ if (fluentMethods) { _%>
public <%= asEntity(entityClass) %> <%= relations... | 12 |
diff --git a/librb/engine.rb b/librb/engine.rb @@ -1083,7 +1083,7 @@ module Engine
timer = Timers::Group.new
- thread_lambda = -> c {
+ thread_lambda = -> c, _t {
if @ruleset_list.empty?
timer.after 0.5, &thread_lambda
else
@@ -1116,7 +1116,7 @@ module Engine
timer = Timers::Group.new
- thread_lambda = -> c {
+ thread_... | 0 |
diff --git a/src/puppeteer.js b/src/puppeteer.js @@ -61,9 +61,13 @@ const LAUNCH_PUPPETEER_DEFAULT_VIEWPORT = {
* will use the same target proxy server (i.e. the same IP address).
* The identifier can only contain the following characters: `0-9`, `a-z`, `A-Z`, `"."`, `"_"` and `"~"`.
* Only applied if the `useApifyProx... | 11 |
diff --git a/source/themes/simple/SimpleCheckbox.scss b/source/themes/simple/SimpleCheckbox.scss @@ -10,9 +10,11 @@ $checkbox-check-height: var(--rp-checkbox-check-height, calc(23 / 2 * 1px)) !def
$checkbox-check-thickness: var(--rp-checkbox-check-thickness, 2px) !default;
$checkbox-check-vertical-offset: var(--rp-chec... | 7 |
diff --git a/website/js/lib/store/user/mutations.js b/website/js/lib/store/user/mutations.js @@ -27,8 +27,9 @@ module.exports={
token:function(state,rootState){
try {
var id_token=window.sessionStorage.getItem('id_token')
+ console.log(typeof id_token)
- if(id_token){
+ if(id_token && id_token!=="undefined"){
var token... | 1 |
diff --git a/scenes/street.scn b/scenes/street.scn "position": [-2, 1, 2],
"quaternion": [0, 0.7071067811865475, 0, 0.7071067811865476],
"start_url": "https://webaverse.github.io/helm/"
- },
- {
- "position": [0, 0, 0],
- "quaternion": [0, 0, 0, 1],
- "start_url": "../metaverse_modules/barrier/",
- "components": [
- {
... | 2 |
diff --git a/src/components/RegionTable/RegionTable.js b/src/components/RegionTable/RegionTable.js @@ -138,11 +138,11 @@ const RegionTable: ComponentType<Props> = ({
},
{
id: 'local-authorities',
- label: 'Local authorities',
+ label: 'Upper tier local authorities',
panel: {
children: [
<Table
- head={[{ children: ['Lo... | 10 |
diff --git a/OurUmbraco/Project/uVersion/uVersion.cs b/OurUmbraco/Project/uVersion/uVersion.cs @@ -18,7 +18,7 @@ namespace OurUmbraco.Project.uVersion
var releasesService = new ReleasesService();
var releases = releasesService.GetReleasesCache()
.Where(x => x.FullVersion.Build == 0 && x.FullVersion.Major >= 9
- || (x.F... | 4 |
diff --git a/sparta_test.go b/sparta_test.go @@ -269,3 +269,41 @@ func TestUserDefinedOverlappingLambdaNames(t *testing.T) {
t.Logf("Rejected overlapping user supplied names")
}
}
+
+func invalidFuncSignature(ctx context.Context) string {
+ return "Hello World!"
+}
+
+func TestInvalidFunctionSignature(t *testing.T) {
+... | 0 |
diff --git a/src/pages/ReimbursementAccount/ReimbursementAccountPage.js b/src/pages/ReimbursementAccount/ReimbursementAccountPage.js @@ -243,7 +243,7 @@ class ReimbursementAccountPage extends React.Component {
title={this.props.translate('companyStep.confirmModalTitle')} // TODO: Update translation key
onConfirm={hideB... | 9 |
diff --git a/server/preprocessing/other-scripts/streamgraph.R b/server/preprocessing/other-scripts/streamgraph.R @@ -77,8 +77,12 @@ sg_data = list()
if (service == 'linkedcat' || service == 'linkedcat_authorview') {
stream_range = list(min=min(metadata$year), max=max(metadata$year), range=max(metadata$year)-min(metadat... | 7 |
diff --git a/pages/countries.js b/pages/countries.js import React from 'react'
import Head from 'next/head'
import NLink from 'next/link'
-
+import axios from 'axios'
import styled from 'styled-components'
+import { FormattedMessage, FormattedNumber } from 'react-intl'
import {
Flex, Box,
Container,
Link,
Heading,
- Te... | 7 |
diff --git a/source/registry/test/unit.js b/source/registry/test/unit.js @@ -250,6 +250,45 @@ describe('Registry Unit', () => {
).to.be.revertedWith('TOKEN_DOES_NOT_EXIST')
})
})
+ describe('Test Zero Amount Transfer', async () => {
+ it('zero transfer amount', async () => {
+ let zero_amount = '0'
+ deployRegistry = a... | 7 |
diff --git a/app/assets/javascripts/jquery/plugins/inat/taxonmap.js.erb b/app/assets/javascripts/jquery/plugins/inat/taxonmap.js.erb @@ -34,7 +34,7 @@ inatTaxonMap.setup = function ( elt, options ) {
options.placeLayers = options.placeLayers || $(elt).data('place-layers');
options.taxonLayers = options.taxonLayers || $... | 1 |
diff --git a/lib/index.js b/lib/index.js @@ -167,9 +167,8 @@ var Embark = (function () {
});
}
- function initTests (options) {
- var Test = require('./core/test.js');
- return new Test(options);
+ function initTests () {
+ return require('./core/test.js');
}
// TODO: should deploy if it hasn't already
| 3 |
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -86,6 +86,7 @@ buildtest:intTestA:
- "*/target"
- "*/project/target"
- "$CI_PROJECT_DIR/pip-cache"
+ policy: pull-push
services:
- docker:dind
variables:
@@ -148,6 +149,7 @@ buildtest:intTestB:
- "*/target"
- "*/project/target"
- "$CI_PROJECT_DIR/pip-cache"
+ policy: pull... | 12 |
diff --git a/android/Anyplace/src/com/dmsl/anyplace/utils/AndroidUtils.java b/android/Anyplace/src/com/dmsl/anyplace/utils/AndroidUtils.java @@ -150,32 +150,36 @@ public class AndroidUtils {
Enumeration<? extends ZipEntry> e = zipFile.entries();
while (e.hasMoreElements()) {
- ZipEntry entry = (ZipEntry) e.nextElement(... | 1 |
diff --git a/packages/app/src/components/NotFoundPage.tsx b/packages/app/src/components/NotFoundPage.tsx import React, { useMemo } from 'react';
+
import { useTranslation } from 'react-i18next';
-import PageListIcon from './Icons/PageListIcon';
-import TimeLineIcon from './Icons/TimeLineIcon';
+import { useCurrentPageI... | 14 |
diff --git a/lib/hls/hls_parser.js b/lib/hls/hls_parser.js @@ -1337,7 +1337,9 @@ shaka.hls.HlsParser.prototype.fetchPartialSegment_ = function(segmentRef) {
'support Range requests and CORS preflights.',
request.uris[0]);
request.headers = fullSegmentHeaders;
- return networkingEngine.request(requestType, request);
+ l... | 4 |
diff --git a/packages/analytics-plugin-fullstory/src/browser.js b/packages/analytics-plugin-fullstory/src/browser.js @@ -53,6 +53,7 @@ function fullStoryPlugin(pluginConfig = {}) {
}, 0)
}
+ window._fs_debug = config.debug
window._fs_host = 'fullstory.com';
window._fs_script = 'edge.fullstory.com/s/fs.js';
window._fs_o... | 1 |
diff --git a/ci-scripts/run_tests.sh b/ci-scripts/run_tests.sh @@ -17,6 +17,7 @@ setup_python() {
#@--- Install and activate virtualenv ---@#
install_activate_virtualenv() {
+ cp activity/settings/local-sample.py activity/settings/local.py
pip3 install pipenv
pipenv install
source $(python3 -m pipenv --venv)/bin/activa... | 0 |
diff --git a/index.d.ts b/index.d.ts @@ -494,6 +494,8 @@ declare module 'thinkjs' {
Logic: Logic;
Service: Service;
+ service(name: string): any;
+ service(name: string, ...args: any[]): any;
service(name: string, m: any, ...args: any[]): any;
beforeStartServer(fn: Function): Promise<any>;
}
| 3 |
diff --git a/contributors.json b/contributors.json "linkedin": "www.linkedin.com/in/mohammed-shakir-26256717b",
"name": "Mohammed Shakir"
},
+ "raptor-dev": {
+ "country": "India",
+ "name": "Raptosh DEB"
+ },
"WickedInvi": {
"country": "United Kingdom",
"name": "Deyan Petrov"
| 3 |
diff --git a/magda-registry-api/src/main/scala/au/csiro/data61/magda/registry/AspectQuery.scala b/magda-registry-api/src/main/scala/au/csiro/data61/magda/registry/AspectQuery.scala @@ -80,16 +80,24 @@ object AspectQuery {
* Example URL with aspectQuery: dcat-dataset-strings.title:?%rating% (Search keyword `rating` in `... | 7 |
diff --git a/services/StockService.php b/services/StockService.php @@ -78,6 +78,10 @@ class StockService extends BaseService
$product = $this->Database->products($productId);
$productStockAmount = $this->Database->stock()->where('product_id', $productId)->sum('amount');
+ if ($productStockAmount == null)
+ {
+ $product... | 12 |
diff --git a/nerdamer.core.js b/nerdamer.core.js @@ -1255,6 +1255,11 @@ var nerdamer = (function(imports) {
mod: function(x, y) {
return x % y;
},
+ //http://mathworld.wolfram.com/IntegerPart.html
+ integer_part: function(x) {
+ var sign = Math.sign(x);
+ return sign*Math.floor(Math.abs(x));
+ },
/**
* https://github.c... | 0 |
diff --git a/src/sections/Home/Proud-maintainers/proudMaintainers.style.js b/src/sections/Home/Proud-maintainers/proudMaintainers.style.js @@ -94,7 +94,7 @@ const ProjectItemWrapper = styled.section`
@media screen and (max-width: 460px){
h4 {
- margin-left: -25px;
+ margin-left: 0px;
}
}
}
| 1 |
diff --git a/packages/@uppy/file-input/package.json b/packages/@uppy/file-input/package.json "url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
- "@uppy/utils": "^0.25.5"
+ "@uppy/utils": "^0.25.5",
+ "preact": "^8.2.9"
},
"peerDependencies": {
"@uppy/core": "^0.25.5"
| 0 |
diff --git a/src/schema/util.js b/src/schema/util.js @@ -53,8 +53,12 @@ exports.anyOneOf = function (schema, value, exception, map, action, isSerialize,
return util.merge(value, highs[0].result);
}
} else if (matches.length === 0) {
+ if (exceptions.length > 0) {
const child = exception.nest('No matching schemas');
exc... | 9 |
diff --git a/README.md b/README.md @@ -58,7 +58,7 @@ If you run Sugarizer this way often, you should create an alias for this command
[Try it now! (try.sugarizer.org)](http://try.sugarizer.org/)
-Sugarizer Web App is a web application that runs on any device with a recent Chrome version and has also been tested success... | 7 |
diff --git a/test/tests/ReactiveMixin.tests.js b/test/tests/ReactiveMixin.tests.js @@ -30,6 +30,27 @@ class ReactiveTest extends ReactiveMixin(HTMLElement) {
ReactiveTest.defaults = undefined;
customElements.define("reactive-test", ReactiveTest);
+// Simple class, copies state member `a` to `b`.
+class ReactiveStateTes... | 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -43990,6 +43990,13 @@ var $$IMU_EXPORT$$;
//return src.replace(/\/i\/[0-9]+x[0-9]+\//, "/i/99999999999x99999999999/");
}
+ if (domain_nosub === "cgames.de" && /^[0-9]*images\./.test(domain)) {
+ // https://10images.cgames.de/images/gamestar/204/highlightbild-der-e... | 7 |
diff --git a/lib/shared/addon/components/form-share-member/template.hbs b/lib/shared/addon/components/form-share-member/template.hbs @pagingLabel="pagination.cluster"
@headers={{membersHeaders}}
@stickyHeader={{false}}
+ @search={{false}}
as |sortable kind member dt|
>
{{#if (eq kind "row")}}
| 2 |
diff --git a/detox/test/package.json b/detox/test/package.json "e2e:ios": "detox test --configuration ios.sim.release --debug-synchronization",
"e2e:jest-circus:ios": "detox test --configuration ios.sim.release --debug-synchronization -o e2e/config-circus.js",
"e2e:jest-circus-timeout:ios": "node scripts/assert_timeout... | 2 |
diff --git a/magda-web-client/package.json b/magda-web-client/package.json "dev": "pancake && yarn run start",
"prepare": "pancake",
"start": "craco start --react-scripts ../node_modules/react-scripts",
- "build": "pancake && GENERATE_SOURCEMAP=false craco build --react-scripts ../node_modules/react-scripts --max-old-s... | 8 |
diff --git a/edit.js b/edit.js @@ -399,6 +399,11 @@ const _makeHeightfieldShader = land => ({
value: new THREE.Vector3(),
needsUpdate: true,
},
+ uSelectRange: {
+ type: 'v4',
+ value: new THREE.Vector4().setScalar(NaN),
+ needsUpdate: true,
+ },
// "parallaxScale": { value: 0.5 },
// "parallaxMinLayers": { value: 25 }... | 0 |
diff --git a/RobotNAO/src/main/java/de/fhg/iais/roberta/syntax/codegen/Ast2NaoPythonVisitor.java b/RobotNAO/src/main/java/de/fhg/iais/roberta/syntax/codegen/Ast2NaoPythonVisitor.java @@ -25,12 +25,9 @@ import de.fhg.iais.roberta.mode.action.nao.Resolution;
import de.fhg.iais.roberta.mode.action.nao.TurnDirection;
impor... | 1 |
diff --git a/articles/extensions/sumologic.md b/articles/extensions/sumologic.md @@ -67,6 +67,10 @@ To help us (and our customers) visualize these logs, we spent some time creating

-If you're a Sumo Logic customer and are interested in trying out this dashbo... | 0 |
diff --git a/src/DevChatter.Bot.Core/Automation/OneTimeCallBackAction.cs b/src/DevChatter.Bot.Core/Automation/OneTimeCallBackAction.cs @@ -13,7 +13,7 @@ public OneTimeCallBackAction(int delayInSeconds, Action actionToCall)
_timeOfNextRun = DateTime.UtcNow.AddSeconds(delayInSeconds);
}
- public bool IsTimeToRun() => Dat... | 1 |
diff --git a/website/javascript/templates/HackathonPortal.vue b/website/javascript/templates/HackathonPortal.vue <p class="t2 c-wht font-headline">FEATURED HACKATHONS AND EVENTS</p>
</div>
<div class="row hackathon-progress-cards">
+ <!-- For new events just copy paste the below div and customize,
+ you also need to mo... | 1 |
diff --git a/notebooks/Aggregating an array.ipynb b/notebooks/Aggregating an array.ipynb },
{
"cell_type": "code",
- "execution_count": 205,
+ "execution_count": 215,
"metadata": {},
"outputs": [
{
"# and it will be stored under the resolutions['1']\n",
"# dataset\n",
"f['resolutions'].create_dataset(str(curr_resolutio... | 3 |
diff --git a/components/footer.js b/components/footer.js @@ -12,7 +12,7 @@ const Footer = () => (
<li><a href='https://twitter.com/AdresseDataGouv'><img src='/images/medias/twitter.svg' alt='Twitter' /></a></li>
<li><a href='https://github.com/etalab/adresse.data.gouv.fr'><img src='/images/medias/github.svg' alt='Githu... | 14 |
diff --git a/articles/extensions/authorization-extension/v2/index.md b/articles/extensions/authorization-extension/v2/index.md @@ -9,13 +9,14 @@ description: Control user authorization behavior during runtime with the Authori
<div data-name="example" class="topic-page-badge"></div>
<h1>Authorization Extension</h1>
<p>
... | 0 |
diff --git a/lib/waterline/utils/query/help-find.js b/lib/waterline/utils/query/help-find.js @@ -493,6 +493,10 @@ module.exports = function helpFind(WLModel, s2q, omen, done) {
//
// Besides acting as an optimization, this avoids errors for adapters that don't tolerate
// undefined values in `where` clauses (see https:... | 0 |
diff --git a/src/network/requestQueue/index.js b/src/network/requestQueue/index.js @@ -58,8 +58,10 @@ module.exports = class RequestQueue {
const { correlationId } = pushedRequest.entry
const defaultRequestTimeout = this.requestTimeout
const customRequestTimeout = pushedRequest.requestTimeout
- const requestTimeout =
-... | 4 |
diff --git a/articles/libraries/auth0js/v8/migration-guide.md b/articles/libraries/auth0js/v8/migration-guide.md @@ -21,6 +21,17 @@ The first question to answer before getting into the changes is why to migrate y
* v8 was rewritten from scratch, improving its cohesion and performance and coming with more tests to be ut... | 0 |
diff --git a/app-template/bitcoincom/appConfig.json b/app-template/bitcoincom/appConfig.json "windowsAppId": "804636ee-b017-4cad-8719-e58ac97ffa5c",
"pushSenderId": "1036948132229",
"description": "A Secure Bitcoin Wallet",
- "version": "3.5.8",
- "androidVersion": "350803",
+ "version": "4.0.0",
+ "androidVersion": "4... | 3 |
diff --git a/app/components/agent/Show.js b/app/components/agent/Show.js @@ -19,7 +19,7 @@ class AgentShow extends React.Component {
static propTypes = {
agent: React.PropTypes.shape({
id: React.PropTypes.string,
- name: React.PropTypes.string.isRequired,
+ name: React.PropTypes.string,
connectionState: React.PropTypes... | 9 |
diff --git a/articles/libraries/auth0js/v9/migration-angular.md b/articles/libraries/auth0js/v9/migration-angular.md section: libraries
title: Migrating Angular applications to Auth0.js 9
description: How to migrate Angular applications to Auth0.js 9
-toc: true
---
-
# Migrating Angular Applications to Auth0.js v9
-Ang... | 14 |
diff --git a/src/botPage/bot/Interpreter.js b/src/botPage/bot/Interpreter.js @@ -205,7 +205,8 @@ export default class Interpreter {
// TODO: This is a workaround, create issue on original repo, once fixed
// remove this. We don't know how many args are going to be passed, so we
// assume a max of 100.
- Object.definePr... | 12 |
diff --git a/docker/rootfs/etc/nginx/nginx.conf b/docker/rootfs/etc/nginx/nginx.conf @@ -26,12 +26,15 @@ http {
tcp_nopush on;
tcp_nodelay on;
client_body_temp_path /tmp/nginx/body 1 2;
- keepalive_timeout 65;
+ keepalive_timeout 90s;
+ proxy_connect_timeout 90s;
+ proxy_send_timeout 90s;
+ proxy_read_timeout 90s;
ssl_... | 12 |
diff --git a/src/Store.js b/src/Store.js import thunkMiddleware from 'redux-thunk'
-import { createStore, applyMiddleware, combineReducers } from 'redux'
+import { createStore, applyMiddleware, combineReducers, compose } from 'redux'
import listings from './reducers/Listings'
import profile from './reducers/Profile'
@@... | 9 |
diff --git a/src/components/Modal.tsx b/src/components/Modal.tsx @@ -79,7 +79,7 @@ const Overlay: React.FC<IPropsOverlay> = ({ isActive }) => (
)
export interface IProps {
- className: string
+ className?: string
isOpen: boolean
setIsOpen: (boolean: boolean) => void
}
| 12 |
diff --git a/server.js b/server.js @@ -11,6 +11,7 @@ const WebcamStream = require('./server/processes/WebcamStream');
const Counter = require('./server/counter/Counter');
const request = require('request');
const fs = require('fs');
+const cloneDeep = require('lodash.clonedeep');
const SIMULATION_MODE = process.env.NOD... | 1 |
diff --git a/server/views/topics/stories.py b/server/views/topics/stories.py @@ -214,6 +214,7 @@ def stream_story_list_csv(user_mc_key, filename, topics_id, **kwargs):
'''
as_attachment = kwargs['as_attachment'] if 'as_attachment' in kwargs else True
fb_data = kwargs['fb_data'] if 'fb_data' in kwargs else False
+ q_dat... | 9 |
diff --git a/spec/models/table/relator_spec.rb b/spec/models/table/relator_spec.rb @@ -72,7 +72,7 @@ describe CartoDB::TableRelator do
before :each do
bypass_named_maps
- CartoDB::Visualization::Member.any_instance.stubs(:dependent?).returns(true, false, true)
+ CartoDB::Visualization::Member.any_instance.stubs(:fully_... | 1 |
diff --git a/articles/client-auth/v2/mobile-desktop.md b/articles/client-auth/v2/mobile-desktop.md @@ -106,6 +106,64 @@ NSString *verifier = [[[[data base64EncodedStringWithOptions:0]
</div>
</div>
+To create the `code_challenge` that accompanies the `code_verifier`, embed the following into your code:
+
+<div class="c... | 0 |
diff --git a/components/core/Upload/Popup.js b/components/core/Upload/Popup.js @@ -14,6 +14,7 @@ import { useHover } from "~/common/hooks";
import DataMeter from "~/components/core/DataMeter";
import BlobObjectPreview from "~/components/core/BlobObjectPreview";
+import { clamp } from "lodash";
/* ----------------------... | 3 |
diff --git a/articles/tutorials/generic-oauth2-connection-examples.md b/articles/tutorials/generic-oauth2-connection-examples.md @@ -178,20 +178,24 @@ After the call completes successfully, you will be able to login using these new
* [Create an application](https://developer.vimeo.com/apps/new)
* Copy `Client Identifie... | 0 |
diff --git a/js/coreweb/bisweb_webparser.js b/js/coreweb/bisweb_webparser.js @@ -322,7 +322,6 @@ let parseDescriptionAndCreateGUI = function(frame, buttonFrame,description, numV
let gui = new dat.GUI( { autoPlace: false } );
webutil.removeallchildren(frame);
- console.log('gui width', gui.width, frame);
if (opts.width)... | 2 |
diff --git a/test/Server.test.js b/test/Server.test.js @@ -45,7 +45,7 @@ describe("Server", function() {
it("GET request to bundle file", function(done) {
request(app).get("/public/bundle.js")
.expect("Content-Type", "application/javascript; charset=UTF-8")
- .expect("Content-Length", "2859")
+ .expect("Content-Length"... | 1 |
diff --git a/app/components/AirgrabForm/index.js b/app/components/AirgrabForm/index.js @@ -45,6 +45,7 @@ const AirgrabForm = props => {
contract.
</p>
<AirgrabTable handleSubmit={handleSubmit} />
+ <p>Have an Airgrab you want here? Email us: <a href="mailto:contact@genereos.io">contact@genereos.io</a></p>
</CardBody>
<... | 0 |
diff --git a/Apps/Sandcastle/gallery/CZML Model - Node Transformations.html b/Apps/Sandcastle/gallery/CZML Model - Node Transformations.html @@ -57,7 +57,7 @@ var czml = [{
"Skeleton_arm_joint_R__2_": {
"rotation": {
"unitQuaternion": [
- 0.31933321618140015, 0.5055578277509731, -0.5903490075872426, 0.5421490838170975
... | 3 |
diff --git a/bin/data-migrations/v6/migration.js b/bin/data-migrations/v6/migration.js @@ -58,19 +58,19 @@ var migrationType = process.env.MIGRATION_TYPE;
var oldFormatProcessors;
switch (migrationType) {
- case 'drawio':
+ case 'v6-drawio':
oldFormatProcessors = [drawioProcessor];
break;
- case 'plantuml':
+ case 'v6-... | 10 |
diff --git a/src/components/MTableGroupbar/index.js b/src/components/MTableGroupbar/index.js @@ -32,7 +32,7 @@ function MTableGroupbar(props) {
background: '#0000000a',
display: 'flex',
width: '100%',
- padding: 8,
+ padding: 1,
overflow: 'auto',
border: '1px solid #ccc',
borderStyle: 'dashed'
@@ -83,7 +83,7 @@ functio... | 7 |
diff --git a/content/questions/Array-Method-findIndex/index.md b/content/questions/Array-Method-findIndex/index.md @@ -9,7 +9,9 @@ answers:
- 'False // correct'
---
-When using array.findIndex it will return 0 indicating that no element passed the test.
+True or False: when using `array.findIndex` it will return 0 indi... | 0 |
diff --git a/ui/src/dialogs/CollectionAccessDialog/CollectionAccessDialog.jsx b/ui/src/dialogs/CollectionAccessDialog/CollectionAccessDialog.jsx @@ -157,6 +157,7 @@ class CollectionAccessDialog extends Component {
isOpen={this.props.isOpen}
onClose={this.props.toggleDialog}
title={intl.formatMessage(messages.title)}
+ ... | 12 |
diff --git a/src/backends/backend.js b/src/backends/backend.js @@ -26,7 +26,24 @@ class LocalStorageAuthStore {
const slugFormatter = (template = "{{slug}}", entryData) => {
const date = new Date();
- const identifier = entryData.get("title", entryData.get("path"));
+
+ const getIdentifier = (entryData) => {
+ const va... | 2 |
diff --git a/.circleci/config.yml b/.circleci/config.yml version: 2
jobs:
- build:
+ build_backend:
working_directory: ~/kamu
docker:
- image: python:3.6.0
@@ -21,26 +21,30 @@ jobs:
command: |
. venv/bin/activate
DISABLE_SAML2=true python manage.py test
- # nodejs-workflow:
- # jobs:
- # build:
- # working_directory: ~... | 0 |
diff --git a/assets/js/components/PostSearcher.js b/assets/js/components/PostSearcher.js @@ -51,12 +51,10 @@ function PostSearcher() {
const {
ID: id,
permalink: permaLink,
- post_title: pageTitle,
} = match;
args.id = id;
args.permaLink = permaLink;
- args.pageTitle = pageTitle;
}
return select( CORE_SITE ).getAdminUR... | 2 |
diff --git a/angular/projects/spark-angular/src/lib/components/sprk-card/sprk-card.component.ts b/angular/projects/spark-angular/src/lib/components/sprk-card/sprk-card.component.ts @@ -195,7 +195,8 @@ export class SprkCardComponent {
@Input()
imgHref: string;
/**
- * Determines what icon `sprk-icon` renders next to the... | 3 |
diff --git a/.travis.yml b/.travis.yml @@ -51,7 +51,6 @@ before_install:
before_script:
- npm install || exit 1
- - composer global require humbug/php-scoper
- composer install
- |
if [[ "$PHP" == "1" ]] || [[ "$JS" == "1" ]] || [[ "$SNIFF" == "1" ]]; then
| 2 |
diff --git a/articles/quickstart/spa/_includes/_getting_started.md b/articles/quickstart/spa/_includes/_getting_started.md @@ -14,10 +14,6 @@ If you are following along with the sample project you downloaded from the top o
<%= include('../../../_includes/_logout_url') %>
<% } %>
-::: note
-If you are following along wi... | 2 |
diff --git a/token-metadata/0x6D6506E6F438edE269877a0A720026559110B7d5/metadata.json b/token-metadata/0x6D6506E6F438edE269877a0A720026559110B7d5/metadata.json "symbol": "BONK",
"address": "0x6D6506E6F438edE269877a0A720026559110B7d5",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.