Skip to content

Instantly share code, notes, and snippets.

@toto011
toto011 / .eslintrc.json
Created May 2, 2019 — forked from deepakshrma/.eslintrc.json
.eslintrc.json- Basic configuration for ESLint
View .eslintrc.json
{
"env": {
"node": true
},
"globals":{
"anyglobal":true
},
"extends": "eslint:recommended",
"rules": {
"accessor-pairs": "error",
View React i aktivni selektor
const customStyles = {
control: (base, state) => ({
...base,
boxShadow: "none"
// You can also use state.isFocused to conditionally style based on the focus state
})
};
function SelectWrapped(props) {
return (
View fetchtest
import React, { Component } from 'react';
import { render } from "react-dom";
import cheerio from "cheerio";
import renderHTML from "react-render-html";
import "./index.css"
class App extends Component {
state = {
data: [],
logos: []
@toto011
toto011 / .htaccess
Created Nov 6, 2018 — forked from petskratt/.htaccess
Perishable Press 6G firewall with slight modifications (archive.org bot enabled, no IP blocking part)
View .htaccess
# 6G FIREWALL/BLACKLIST
# @ https://perishablepress.com/6g/
# 6G:[QUERY STRINGS]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} (eval\() [NC,OR]
RewriteCond %{QUERY_STRING} (127\.0\.0\.1) [NC,OR]
RewriteCond %{QUERY_STRING} ([a-z0-9]{2000}) [NC,OR]
RewriteCond %{QUERY_STRING} (javascript:)(.*)(;) [NC,OR]
@toto011
toto011 / README-Template.md
Created Nov 6, 2018 — forked from PurpleBooth/README-Template.md
A template to make good README.md
View README-Template.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites