Skip to content

Instantly share code, notes, and snippets.

View Hareric's full-sized avatar
🏠
Working from home

Eric Chen Hareric

🏠
Working from home
View GitHub Profile
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright © 2021, All rights reserved.
# Author: Eric <wendachen@flickering.ai>
"""
替换github图床资源为镜像资源
"""
from pathlib import Path
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright © 2021, All rights reserved.
# Author: Eric <wendachen@flickering.ai>
from pathlib import Path
import re
import json
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright © 2021, All rights reserved.
# Author: Eric <wendachen@flickering.ai>
import requests
import os
import logging
from urllib import parse
@Hareric
Hareric / DBhelper.java
Last active August 31, 2018 13:09
针对mysql的java DBhelper 实现增删查改功能
import java.sql.*;
/**
* @author Eric_Chan
* @version 2016.11.22
*/
public class DBhelper
{
private String ipAddress = "127.0.0.1";
private int port = 3306;