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
| <template> | |
| <span v-html="svg" class="cursor-pointer" @click="$emit('click')"></span> | |
| </template> | |
| <script> | |
| export default { | |
| name: "Icon", | |
| props: ['id', 'fill', 'height', 'width', 'className'], | |
| computed: { | |
| svg() { |
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 React, { Component } from "react"; | |
| import PropTypes from "prop-types"; | |
| import classnames from "classnames"; | |
| import Blaze from "meteor/gadicc:blaze-react-component"; | |
| import { Template } from "meteor/templating"; | |
| import { registerComponent } from "@reactioncommerce/reaction-components"; | |
| class CoreLayoutBeesknees extends Component { | |
| static propTypes = { | |
| actionViewIsOpen: PropTypes.bool, |
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
| [18:34:59 ERROR]: Error occurred while enabling VerenityQueue v1.0-ALPHA (Is it up to date?) | |
| java.lang.IllegalArgumentException: Unable to create EvictionPolicy instance of type org.apache.commons.pool2.impl.DefaultEvictionPolicy | |
| at org.apache.commons.pool2.impl.BaseGenericObjectPool.setEvictionPolicyClassName(BaseGenericObjectPool.java:622) ~[VerenityQueue-1.0-ALPHA.jar:?] | |
| at org.apache.commons.pool2.impl.GenericObjectPool.setConfig(GenericObjectPool.java:318) ~[VerenityQueue-1.0-ALPHA.jar:?] | |
| at org.apache.commons.pool2.impl.GenericObjectPool.<init>(GenericObjectPool.java:115) ~[VerenityQueue-1.0-ALPHA.jar:?] | |
| at redis.clients.util.Pool.initPool(Pool.java:44) ~[VerenityQueue-1.0-ALPHA.jar:?] | |
| at redis.clients.util.Pool.<init>(Pool.java:23) ~[VerenityQueue-1.0-ALPHA.jar:?] | |
| at redis.clients.jedis.JedisPool.<init>(JedisPool.java:80) ~[VerenityQueue-1.0-ALPHA.jar:?] | |
| at redis.clients.jedis.JedisPool.<init>(JedisPool.java:74) ~[VerenityQueue-1.0-ALPHA.jar:?] | |
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
| int d = Math.random() * 100; | |
| int chance = {YOUR CHANCE OF THE ITEM HERE} | |
| if (d <= chance) { | |
| //CONTINUE, TRUE | |
| } else { | |
| // DON'T CONTINUE, FALSE | |
| } |
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
| namespace ConsoleApplication1 | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| Console.WriteLine("Give me a few numbers: (Split them by a , (comma))"); | |
| int[] numbers = parse(Console.ReadLine().Split(',')); |
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
| ru.tehkode.permissions.exceptions.PermissionBackendException: com.mysql.jdbc.exc | |
| eptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'prefix' in 'field list' | |
| at ru.tehkode.permissions.backends.sql.SQLBackend$3.performUpdate(SQLBac | |
| kend.java:187) | |
| at ru.tehkode.permissions.backends.PermissionBackend.performSchemaUpdate | |
| (PermissionBackend.java:90) | |
| at ru.tehkode.permissions.backends.sql.SQLBackend.<init>(SQLBackend.java | |
| :193) | |
| at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) |