Skip to content

Instantly share code, notes, and snippets.

from phBot import *
import urllib.request
from threading import Timer
from datetime import datetime, timedelta
import datetime
import os
import signal
import struct
import subprocess
import json
@annguyenwasd
annguyenwasd / FW.txt
Last active October 14, 2023 11:14
FW
walk,17965,6626,694
walk,17964,6605,705
walk,17955,6593,712
walk,17948,6579,745
walk,17946,6565,774
walk,17947,6550,783
walk,17943,6537,802
walk,17933,6524,816
walk,17923,6520,823
walk,17914,6519,825
javascript:window.open(document.getElementById('redirect-link').dataset.href.split('=').pop())
(() => {
const x = document.createElement("div");
x.style.height = "1px";
x.style.backgroundColor = "red";
x.style.zIndex = 100000;
x.style.position = "fixed";
x.style.top = "0px";
x.style.left = "0px";
document.body.appendChild(x);
@annguyenwasd
annguyenwasd / package.json
Last active April 26, 2020 14:19
my work flow with reactjs
{
"dependencies": {
"babel-plugin-styled-components": "^1.10.7",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.12.0",
"react-helmet": "^5.2.1",
"react-responsive": "^8.0.3",
"react-spring": "^8.0.27",
"react-typography": "^0.16.19",
{
"devDependencies": {
"import-sort-cli": "^6.0.0",
"import-sort-style-react": "^5.1.0",
},
"scripts": {
"sort-imports": "./node_modules/import-sort-cli/lib/index.js --write ./src/**/*.js"
},
"importSort": {
".js": {
import { compose, createStore as reduxCreateStore } from 'redux';
const reducer = state => {
return state;
};
const initialState = {};
const windowGlobal = typeof window !== 'undefined' && window;
const devtools =
process.env.NODE_ENV === 'development' && windowGlobal.devToolsExtension
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:prettier/recommended",
"plugin:react/recommended",
{
"compilerOptions": {
"baseUrl": "./src"
}
}
{
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"arrowParens": "avoid"
}