Skip to content

Instantly share code, notes, and snippets.

View meoww-bot's full-sized avatar
🐱
meow sucking

meoww-bot meoww-bot

🐱
meow sucking
View GitHub Profile
@meoww-bot
meoww-bot / gist:770559b3671d0bce10d6405ca6185646
Created April 11, 2022 08:51 — forked from wendal/gist:4537679
演示golang转编码 (gb2312 --> utf8)
package main
import (
iconv "github.com/djimenez/iconv-go"
"io/ioutil"
"log"
"net/http"
@meoww-bot
meoww-bot / ffmpeg.md
Created February 21, 2022 13:08 — forked from protrolium/ffmpeg.md
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

You can get the list of installed codecs with:

@meoww-bot
meoww-bot / kerberos_setup.md
Created January 23, 2022 14:55 — forked from ashrithr/kerberos_setup.md
Set up kerberos on Redhat/CentOS 7

Installing Kerberos on Redhat 7

This installation is going to require 2 servers one acts as kerberos KDC server and the other machine is going to be client. Lets assume the FQDN's are (here cw.com is the domain name, make a note of the domain name here):

  • Kerberos KDC Server: kdc.cw.com
  • Kerberos Client: kclient.cw.com

Important: Make sure that both systems have their hostnames properly set and both systems have the hostnames and IP addresses of both systems in

@meoww-bot
meoww-bot / ffmpeg.md
Created June 2, 2021 01:07 — forked from steven2358/ffmpeg.md
FFmpeg cheat sheet
@meoww-bot
meoww-bot / README.md
Created April 24, 2021 09:55 — forked from lgg/README.md
Telegram save all media from chat/user/channel

Quick tip. It is possible to download media with small python script.

Goto https://my.telegram.org and generate api id and api hash Install Telethon library with pip3 install telethon Run saveAllMedia.py (replace api_id, api_hash and username with your values).

If you need proxy install https://github.com/Anorov/PySocks pip install PySocks

This code downloads all media from the dialog with username user/chat/channel in current directory.

@meoww-bot
meoww-bot / server.py
Created November 28, 2020 16:37 — forked from mdonkers/server.py
Simple Python 3 HTTP server for logging all GET and POST requests
#!/usr/bin/env python3
"""
Very simple HTTP server in python for logging requests
Usage::
./server.py [<port>]
"""
from http.server import BaseHTTPRequestHandler, HTTPServer
import logging
class S(BaseHTTPRequestHandler):
###Pikachu A
proxmark3> hf mfu info
--- Tag Information ---------
-------------------------------------------------------------
TYPE : NTAG 215 504bytes (NT2H1511G0DU)
UID : 04 a6 16 72 61 3e 80
UID[0] : 04, NXP Semiconductors Germany
BCC0 : 3C, Ok
BCC1 : AD, Ok
@meoww-bot
meoww-bot / web-servers.md
Created March 13, 2020 08:46 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@meoww-bot
meoww-bot / gist:8e3ad682be76c48a801c70175849b24a
Created March 3, 2020 04:56 — forked from andreia/gist:3212102
ORACLE: Find View created date and last modified date
select o.created,o.last_ddl_time
from user_objects o
where o.object_name='MY_VIEW' and o.object_type='VIEW';
@meoww-bot
meoww-bot / namebase.py
Created February 22, 2020 09:14 — forked from jat001/namebase.py
Sell HNS automatically
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import sys
from decimal import Decimal
from datetime import datetime
try:
import requests
import simplejson as json