Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Add items to RPLANET
// @namespace Meddoks
// @version 2.0.0
// @description Add items to RPLANET
// @author Meddoks
// @match https://rplanet.io/stake/alienworlds
// @grant none
// ==/UserScript==
(async function() {
@meddokss
meddokss / wax_auto_accept.js
Last active December 2, 2021 09:22
WAX Auto Accept
// ==UserScript==
// @name WAX Auto Accept
// @namespace Meddoks
// @version 2.1.0
// @description Auto Approve after captchas done
// @author Meddoks
// @match https://all-access.wax.io/cloud-wallet/signing/
// @grant none
// Если я решил чью то боль, буду благодарен если отправите парочку ваксов на акк == .4krq.wam
// ==/UserScript==
@meddokss
meddokss / Styled-components-error.md
Last active August 18, 2024 17:33
[Styled-components Error] Warning: React does not recognize the prop on a DOM element. #STYLED
Warning: React does not recognize the `isEditing` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `isediting` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
    in button (created by ForwardRef(Tab))
    in ForwardRef(Tab) (created by Context.Consumer)
    in StyledComponent (created by Styled(Component))
    in Styled(Component) (at App.js:14)

In the TextBox component you're passing all the props from the parent via {...props}. Considering that TextField itself doesn't have 'isEditing' property, I assume it passes it down to the underlying input DOM element, which doesn't recognise that prop.

const SInfiniteScroller = styled(({ isInitFetching, ...rest }) => (
<InfiniteScroller {...rest} />
))(({ isInitFetching }) =>
isInitFetching
? css`
height: 100%;
display: grid;
grid-template-rows: 1fr;
padding: 45px 0 120px;
`
@meddokss
meddokss / Graphql Mutation, Query with updated variables
Last active March 19, 2019 08:37
Graphql Mutation, Query with updated variables
import React, { Component } from 'react'
import { withApollo, compose, graphql } from 'react-apollo';
import Link from './Link';
import gql from 'graphql-tag';
const GET_SERVICE_QUERY = gql`
query Service($id: ID) {
service(id: $id) {
id
@meddokss
meddokss / HoverForLink
Created July 6, 2017 19:49
HoverForLink
@meddokss
meddokss / package.json
Created April 30, 2017 06:02
package.json
{
"name": "optimizedhtml",
"version": "2.0.1",
"description": "OptimizedHTML - Start HTML Template",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Meddokss",
"license": "ISC",
@meddokss
meddokss / button.scss
Last active November 15, 2020 12:11
[Button with transitions] #CSS_TRICKS
.button {
display: inline-block;
border: none;
color: #fff;
text-decoration: none;
background-color: $accent;
padding: 15px 45px;
font-size: 13px;
text-transform: uppercase;
font-weight: 600;
@meddokss
meddokss / gulpfile.js
Last active April 30, 2017 06:00
Gulp Task WATCH SASS, SCSS
var gulp = require('gulp'),
gutil = require('gulp-util' ),
sass = require('gulp-sass'),
babel = require('gulp-babel'),
browserSync = require('browser-sync'),
concat = require('gulp-concat'),
uglify = require('gulp-uglify'),
cleanCSS = require('gulp-clean-css'),
rename = require('gulp-rename'),
del = require('del'),
@meddokss
meddokss / Default (Windows).sublime-keymap
Last active April 19, 2017 10:36
SublimeKeySettings
[
{ "keys": ["alt+shift+f"], "command": "reindent" },
{ "keys": ["ctrl+alt+u"], "command": "gist" },
{ "keys": ["ctrl+alt+p"], "command": "gist_private" },
{ "keys": ["ctrl+alt+f"], "command": "gist_update_file" },
{ "keys": ["ctrl+alt+l"], "command": "gist_list" },
{ "keys": ["ctrl+alt+g"], "command": "insert_gist_list" },
{ "keys": ["ctrl+alt+a"], "command": "gist_add_file" }
]