Skip to content

Instantly share code, notes, and snippets.

:octocat:
NullPointerException.

Eana Hufwe blueset

:octocat:
NullPointerException.
Block or report user

Report or block blueset

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@wolfsilver
wolfsilver / ReadMe.md
Last active Dec 24, 2019
efb 中间件
View ReadMe.md

主要功能

  • telegram管理员可发消息
  • 微信端自动标记已读(在telegram接收到的消息都会标记已读)
  • 群组内,备注与名称相同(或者一个被另一个包含)时,只展示一个
  • /update_info 命令将微信群成员信息添加到telegram群描述(已支持)
  • 建立数据库保存tg群组与微信聊天/群组名称的映射,没有绑定时,尝试查找相同名称的群组自动绑定
  • 删除接收图片、视频、文件时,不必要的消息,比如:sent a picture. [1]
  • 小程序分享添加“小程序:”标题前缀来区分常规链接
@Dobby233Liu
Dobby233Liu / xiaoxiao_tts.py
Last active Nov 30, 2019 — forked from xjohjrdy/xiaoxiao_tts.py
superb edit of an old parameterless script
View xiaoxiao_tts.py
#!/usr/bin/env python
# -*- coding:utf-8 -*-
"""Edge Microsoft TTS for Python."""
import sys
from ws4py.client.threadedclient import WebSocketClient
import binascii
import argparse
import json
import requests
import re
@painor
painor / FastTelethon.py
Last active Jan 4, 2020
This will increase the download/upload speed when using telethon
View FastTelethon.py
"""
> Based on parallel_file_transfer.py from mautrix-telegram, with permission to distribute under the MIT license
> Copyright (C) 2019 Tulir Asokan - https://github.com/tulir/mautrix-telegram
"""
import asyncio
import hashlib
import inspect
import logging
import os
from collections import defaultdict
@xjohjrdy
xjohjrdy / xiaoxiao_tts.py
Last active Nov 30, 2019
返回的音频没有文件头,所以我随便加的一个文件头,但显示的音频时长有问题。如果播放器不能正常播放,可以使用Chrome播放。
View xiaoxiao_tts.py
#!/usr/bin/env python
# -*- coding:utf-8 -*-
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
from ws4py.client.threadedclient import WebSocketClient
import binascii
class WSClient(WebSocketClient):
def __init__(self, url, text, filename):
@sokcuri
sokcuri / key.md
Last active Dec 27, 2019 — forked from shobotch/key.md
Twitter (un)official Consumer Key
View key.md

Twitter Official Consumer Key

Twitter for Android

type:            PIN
Consumer key:    3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPhone

type:            PIN
Consumer key:    IQKbtAYlXLripLGPWd0HUA
@p0we7
p0we7 / himawari8.rb
Last active Dec 15, 2015
Get hight quality image via himawari8 by @pepsin
View himawari8.rb
require 'net/http'
require "cairo"
def get_url time, x, y
str = "http://himawari8-dl.nict.go.jp/himawari8/img/D531106/20d/550/#{time}00_#{x}_#{y}.png"
end
def merge time
puts "Start image process"
w = 20
@ferhatelmas
ferhatelmas / pquotes.md
Created Nov 22, 2012
Programming related popular quotes
View pquotes.md

Programming Related Must-Know Quotes

  1. "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - Hoare

  2. "If debugging is the process of removing software bugs, then programming must be the process of putting them in." - Dijkstra

  3. "Measuring programming progress by lines of code is like measuring aircraft building progress by weight." - Gates

  4. "Nine people can’t make a baby in a month." - Brooks

You can’t perform that action at this time.