Skip to content

Instantly share code, notes, and snippets.

Avatar
🇨🇳

杨亚梦 ilaipi

🇨🇳
View GitHub Profile
@ilaipi
ilaipi / clear-quartz-mysql.sql
Created Jan 12, 2021
clear quartz database: mysql
View clear-quartz-mysql.sql
SET FOREIGN_KEY_CHECKS=0;
DELETE FROM `qrtz_locks`;
DELETE FROM `qrtz_paused_trigger_grps`;
DELETE FROM `qrtz_scheduler_state`;
DELETE FROM `qrtz_calendars`;
DELETE FROM `qrtz_job_details`;
DELETE FROM `qrtz_triggers`;
DELETE FROM `qrtz_blob_triggers`;
DELETE FROM `qrtz_cron_triggers`;
DELETE FROM `qrtz_simple_triggers`;
View warning
{
"_id" : ObjectId("5867e3958b7b6a260f57b196"),
"mail" : "harak1r1@sigaint.org",
"note" : "SEND 0.2 BTC TO THIS ADDRESS 13zaxGVjj9MNc2jyvDRhLyYpkCh323MsMq AND CONTACT THIS EMAIL WITH YOUR IP OF YOUR SERVER TO RECOVER YOUR DATABASE !"
}
@ilaipi
ilaipi / remove_postgres_on_mac_os.md
Created Nov 30, 2016 — forked from Atlas7/remove_postgres_on_mac_os.md
Note - How completely uninstall PostgreSQL 9.X on Mac OSX
View remove_postgres_on_mac_os.md

This blog post has helped me clean up my postgres development environment on Mac. So making a copy!

How completely uninstall PostgreSQL 9.X on Mac OSX

This article is referenced from stackoverflow:

If installed PostgreSQL with homebrew , enter brew uninstall postgresql

If you used the EnterpriseDB installer , follow the following step.
@ilaipi
ilaipi / .eslintrc
Created Apr 24, 2016 — forked from cletusw/.eslintrc
ESLint Reset - A starter .eslintrc file that resets all rules to off and includes a description of what each rule does. From here, enable the rules that you care about by changing the 0 to a 1 or 2. 1 means warning (will not affect exit code) and 2 means error (will affect exit code).
View .eslintrc
{
// http://eslint.org/docs/rules/
"ecmaFeatures": {
"binaryLiterals": false, // enable binary literals
"blockBindings": false, // enable let and const (aka block bindings)
"defaultParams": false, // enable default function parameters
"forOf": false, // enable for-of loops
"generators": false, // enable generators
"objectLiteralComputedProperties": false, // enable computed object literal property names