一些有意思东西

2014年09月10日 07:15GMT+8

记录 github 上一些有意思的库, 大多数是从 https://github.com/trending?since=weekly 上看到的.

code

演示如何将脚本所在目录下的 jar/yuicompressor.jar 添加到命令行

@echo off
java -jar %~dp0jar\yuicompressor.jar %*

bash, 确保换行符为 LF

#!/bin/sh
basedir=`dirname "$0"`
case `uname` in
    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
java -jar "$basedir/jar/yuicompressor.jar" "$@"

chrome extension

选择 ungoogled chromium

Tools

  • Trojan

  • nQuantCpp 颜色量化(Color quantization) 转换图片,通过颜色数量比如 256 色,称为

    颜色数量小的图片所占用的空间相对小很多,适合像素类的游戏, 不过游戏里像素类型的图片转化后也通常不好看,并不是因为这工具的问题

  • minime 最小化隐藏任务栏

  • jpexs-decompiler JPEXS Free Flash Decompiler(flash 反编译工工具, 非常适合提取旧项目的资源不用再装 Flash)

  • free BitTorrent client 免费, 无广告的下载工具.

  • domcomp 域名服务商价格对比

  • color.adobe.com 配色方案工具, 例如: CS04 配色方案

  • cssfontstack 一个网站快速能快速查看各种字体的排版情况

  • google page speed
  • pngquant Lossy PNG compressor. 有 GUI 版, 可选颜色数量,因此压缩率在某些情况下非常高。

  • nconvert batch image converter, 有 GUI 版,

  • rsvg-convert svg, 原始图像太大的话,好像不能缩小。

  • 把图片解析成几何图形, 随机名字生成

  • rcedit windows exe/dll 资源修改器

  • chromeless 无浏览器, 能更好地代替 PhantomJS, NightmareJS or Selenium

  • sqlyog-community 不到 4M 的 mysql gui客户端(只是社区版功能有限制)

  • neural-enhance python3 图片工具

  • fogleman/primitive go 语言, 输入普通图片生成几何图形, 类似于产生一个滤镜效果的图片, 需要安装 go 语言才能运行的命令行工具, 感觉不太好.

  • procrastitracker windows 上的一款时间跟踪软件, 跟踪你用计算机都做了些什么

  • letsencrypt 国外一个公共的免费SSL项目, 如果需要免费的SSL证书

  • c/c++内存泄漏检测 腾迅内部开放工具, (情况未知)

  • Go-For-It to-do list

  • apache mod_rewrite online tools 在线测试 htaccess 规则

  • github Issue management github issue 管理

  • Tor网络向导 需要方Q

  • lantern 不解释

  • Captura 录屏

  • ScreenToGif 录屏到 gif (之前我用的好像就是这个)

  • wink 录屏到 flash, 能在某些点自动暂停

  • daff align and compare tables 比较二个表格文件(csv)差异

  • fontello This tool lets you combine icon webfonts for your own project.

  • regexr.com 正则表达式测试

    项目源: https://github.com/gskinner/regexr/

  • chokidar-cli 监视文件是否发生改动, nodejs 项目

  • gifshot 将视频转换成 gif 图片

    JavaScript library that can create animated GIFs from media streams, videos, or images

  • patorjk.com

    一个在线工具用于将 文本转换为 Acsii art 的在工具,

  • https://www.captionbot.ai/ 一个非常智能有趣的的在线网页图片识别, 类似于微软的那个颜龄检测

  • web-bundle Tool to pack binary files into a PNG image.

    把多个文件打包成图片格式, 然后可以解析这个图片获得文件,图片不受跨域加载的影响,同时减少 http 请求的数据量.

  • img2xls Convert images to colored cells in an Excel table. -python

  • webify 转换 ttf 到 woff, eot 和 svg

    @font-face {
    font-family: 'my-font-family';
    src: url('my-font-filename.eot');
    src: url('my-font-filename.eot?#iefix') format('embedded-opentype'),
    url('my-font-filename.svg#my-font-family') format('svg'),
    url('my-font-filename.woff') format('woff'),
    url('my-font-filename.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    }
    
  • IE8~IE11虚拟机调试下载-需要虚拟机客户端

  • Socket 调试工具
    • tcpdump
    • ngrep
    • Microsoft Network Monitor
    • Microsoft Research TCP Analyzer
    • sokit 模拟客户或服务器端,但是无法自定义连接协议而只能使用原始Socket
  • elasticsearch 基于Lucene的搜索服务器,这是 nodejs, haxe extern 版的

web

Press+Start+2P a bitmap font based on the font design from 1980s Namco arcade games. It works best at sizes of 8px, 16px and other multiples of 8

NES.css 浏览器支持: chrome, firefox, Safari

design-blocks A set of 170+ Bootstrap based design blocks(170+ 基于 bootstrap 的设计片段)

ie8 css filter

关于IE中CSS-filter滤镜小知识

IE8 CSS 和 HTML支持…

IE JS 版本信息

awesome-javascript - 中文**

Frontend stuff 前端资源

design-essentials

这个章节的大多数内容都是用于美化的 CSS 或 Javascript , 大多数似乎在 ie8 中都会报错.

article

resource

misc

  • emoji-list github 表情清单, 那有那个 “中文” 的图标蛮有意思的.

  • Webqq 机器人

  • minimatch a glob matcher in javascript 正则表达式如像 dos下的 *.txt 通配符

  • phantomjs 没有界面的浏览器,适用于做爬虫

  • js1k.com 好多 js 1k 的示例..

CLib

C标准头文件

awesome-c

  • picohttpparser HTTP 工具库

  • rizz Small C game development framework

  • mimalloc 用于覆盖 malloc, 支持 first-class heaps

  • rpmalloc 同上, 但源码只有 3 个文件

  • vcpkg C++ Library Manager for Windows, Linux, and MacOS

  • civetweb Embedded C/C++ web server

  • incbin 简单地在 c 语言中嵌入资源, 兼容所有编译器

    这个工具库对于 msvc 似乎不可用,对于 cygwin 也一样。

  • cpu_features A cross platform gnu89 library to get cpu features at runtime.

  • libu LibU is a multiplatform utility library written in C, with APIs for handling memory allocation, networking and URI parsing, string manipulation, debugging, and logging in a very compact way, plus many other miscellaneous tasks

  • raylib 基于 c99 语法的 opengl ui 库,

  • nuklear A small ANSI C gui toolkit

  • libs Single-file public domain libraries for C/C++ (dual licensed under MIT)

  • imgui c++ 的一个 GUI库,挺有意思的

  • stb stb single-file public domain libraries for C/C++

  • clibs 有各种库

  • s2n an implementation of the TLS/SSL protocols

  • libuv Cross-platform asychronous I/O http://libuv.org/

  • libcork cross-platform C library

  • foundation_lib Cross-platform public domain foundation library in C

Notes

  • 虚拟键盘模拟:

    winio.dll      # 有说需要插真实 PS 键盘才有会有效.
    
  • 逆向资源 List of awesome reverse engineering resources:

    IDA            # 有 7.0 的 free 版本, 偏向于静态
    ollydbg        # free, 偏向于动态
    Cheat Engine   #
    
    ghidra         # 听说开源类似于 IDA
    r2ghidra-dec   # 同上
    

ollydbg

Ctrl+G: Go to address or value of expression 用于跟随某个公开的API函数, 例如: CreateFileW

对于 command line 比较常用的是:

  • 2+2 - calculate value of this expression;
  • AT [EAX+10] - disassemble at address that is the contents of memory doubleword at address EAX+0x10;
  • BP KERNEL32.GetProcAddress - set breakpoint on API function. Note that you can set breakpoint in system DLL only in NT-based operating systems;
  • BPX GetProcAddress - set breakpoint on every call to external function GetProcAddress in the currently selected module;
  • BP 412010,EAX==WM_CLOSE - set conditional breakpoint at address 0x412010. Program pauses when EAX is equal to WM_CLOSE.

插件集合:

https://github.com/romanzaikin/OllyDbg-v1.10-With-Best-Plugins-And-Immunity-Debugger-theme-

https://github.com/JackAston/OllyDbg1plugins