Skip to content

Instantly share code, notes, and snippets.

@toto011
toto011 / README-Template.md
Created November 6, 2018 19:59 — forked from PurpleBooth/README-Template.md
A template to make good README.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

@toto011
toto011 / .htaccess
Created November 6, 2018 20:01 — forked from petskratt/.htaccess
Perishable Press 6G firewall with slight modifications (archive.org bot enabled, no IP blocking part)
# 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 / fetchtest
Last active November 27, 2018 09:19
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: []
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 (
@toto011
toto011 / .eslintrc.json
Created May 2, 2019 16:30 — forked from deepakshrma/.eslintrc.json
.eslintrc.json- Basic configuration for ESLint
{
"env": {
"node": true
},
"globals":{
"anyglobal":true
},
"extends": "eslint:recommended",
"rules": {
"accessor-pairs": "error",