Skip to content

Instantly share code, notes, and snippets.

View aqzhyi's full-sized avatar
🙋‍♂️
えっ?なんで?教えてください。お願いします

ねむけ aqzhyi

🙋‍♂️
えっ?なんで?教えてください。お願いします
  • みなみけ
View GitHub Profile
@aqzhyi
aqzhyi / tsconfig.json
Last active October 2, 2024 08:46
ts5.2.2, strictest tsconfig.json
/** also see https://www.totaltypescript.com/tsconfig-cheat-sheet */
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Strictest",
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"allowUmdGlobalAccess": true,
"allowUnreachableCode": true,
"allowUnusedLabels": false,
@aqzhyi
aqzhyi / @aqzhyi _ esling-config _ eslint.config.js + prettier
Last active November 21, 2023 13:55
ESLint 8.53 Flat Config + prettier + typescript-eslint
import antfu from '@antfu/eslint-config'
import react from 'eslint-plugin-react'
import reactHooks from 'eslint-plugin-react-hooks'
import valtio from 'eslint-plugin-valtio'
import jest from 'eslint-plugin-jest'
import jestDom from 'eslint-plugin-jest-dom'
import testingLibrary from 'eslint-plugin-testing-library'
import nextjs from '@next/eslint-plugin-next'
import ts from '@typescript-eslint/eslint-plugin'
import tsParser from '@typescript-eslint/parser'
@aqzhyi
aqzhyi / twstocks.ts
Created November 1, 2020 15:06
台灣股票證卷代碼
const twstocks = {
'705848':'禾昌元富96購01',
'705869':'穩懋元大96購01',
'707157':'同致兆豐96購01',
'707158':'威剛兆豐96購01',
'707159':'網龍兆豐96購01',
'707161':'元太國票96購01',
'707162':'旺矽國票96購01',
'707163':'信昌電國票96購01',
'707164':'宣德國票96購01',
@aqzhyi
aqzhyi / .screenrc
Created December 24, 2014 07:11
Mac OS X Terminal .screenrc
vbell off
autodetach on
startup_message off
shell -$SHELL
allpartial off
defc1 off
defencoding utf8
bind b encoding big5 utf8
bind u encoding utf8 utf8
@aqzhyi
aqzhyi / all.js
Last active November 2, 2023 15:22
facebook-restaurant-stealer
!function e(t,n,r){function i(s,a){if(!n[s]){if(!t[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);throw new Error("Cannot find module '"+s+"'")}var l=n[s]={exports:{}};t[s][0].call(l.exports,function(e){var n=t[s][1][e];return i(n?n:e)},l,l.exports,e,t,n,r)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(e,t){!function(e,n){"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=e.length,n=K.type(e);return"function"===n||K.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}function r(e,t,n){if(K.isFunction(t))return K.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return K.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(at.test(t))retu
@aqzhyi
aqzhyi / 註冊hotmail帳號.js
Last active August 29, 2015 13:56
hotmail register
// Generated by CoffeeScript 1.7.1
(function() {
var getRandomName, getRandomNumber, getRandomStr, iAltEmail, imembernameeasi;
getRandomNumber = function(max, min) {
var range;
if (max == null) {
max = 25;
}
if (min == null) {