Giter Site home page Giter Site logo

amcap's Introduction

File tools

csumtree Recursive folder comparison. List, or write to, missing or changed files.

csumtree d:\Windows e:\Windows

eclipse_move Move Eclipse project.

# change to project settings folder
cd /c/file/setting/eclipse/.metadata/.plugins/org.eclipse.core.resources/.projects
# change (case insensitively) all "c:\project" in projects paths to "d:\project"
eclipse_move.php -i c:\project d:\project

sparse Scans a file for 0x00 blocks and create sparse blocks in their place.

sparse [/s] disk.vmdk
/s	Set sparse flag. Otherwise show sparse flag and size.

sfcex Scans a System File Checker (sfc) log for uncorrectable files (both the file and the source store copy is damaged) and replace them from a Windows Imaging Format (wif) Windows installation file or a Windows installation file system.

# copy from x: wif (Windows edition 4 in x:/sources/install.wim/1.xml)
sfcex /d:z /w:x:4 CBS.log
# copy from x:/windows
sfcex /d:z /s:x CBS.log

S.M.A.R.T. tools

smarterr Read error output from smartctl and append new errors to a file. (Useful because the disk only retain the recent errors and it can be of interest to have a more complete log of errors.)

smarterr.php "smartctl --log xerror,99 d:" smarterr.log
# example scheduling
schtasks /Create /F /TN "User\smarterr" /SC DAILY /ST 03:00 "hstart /NOCONSOLE \"php \"C:\...\smarterr.php\" \"smartctl -d sat --log xerror,99 p:\" \"C:\...\smarterr.log\"\""

smartest Read UNC errors from smarterr output and read failed sectors with ddrescue.

smartest.php "ddrescue -vfdM /dev/sdb /dev/null ddrescue.log" smarterr.log

Network tools

speed.php Measure roundtrip time and throughput to a speedtest.net server.

# print the ten closest servers
speed.php
# use server 1385, transmit 30 MiB (size 7) up and down for the test
speed.php 1385 7

speed.stream.php Measure bidirectional bandwidth with a RTMP server. Useful because only a unidirectional throughput test is avaliable (in XSplit) and the bidirectional rate can differ from the unidirectional rate

# stream 30 s of $v for the specified bitrates
speed.stream.php -v "$v" -s 'rtmp://media/live/stream' -S 30 -b '20000 10000 5000 1000'

Media tools

wplsync Sync playlists to directory. Useful since WMP only sync to devices.

wplsync.php "C:\Music\Playlists" "D:\Music"

bing Download the 1920x1200 version of bing.com's daily image.

# download to .
bing.sh

Development tools

diffdiff Assist in comparing diff files. Files unique to one of the diff files are excluded.

diffdiff.php diff1.patch diff2.patch

Windows tools

envupdate Update environment for all processes with a message loop (send WM_SETTINGCHANGE).

envupdate

mmsys Makes mmsys.cpl resizable by changing its GWL_STYLE and overriding its WindowProc.

mmsys

fullscreen Creates a system-global hotkey that change the window size of a specified window. The implemented application is for the Playstation emulator pSX to fix the aspect ratio and remove black borders in Final Fantasy and other games.

alt text

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.