Displaying 1 to 10 from 10 results

SwiftTweaks - Tweak your iOS app without recompiling!

  •    Swift

Animations that look great on your laptop often feel too slow when in-hand. Layouts that looks perfect on a 27-inch display might be too cramped on a 4-inch device. Light gray text may look subtle in Sketch, but it’s downright illegible when you’re outside on a sunny day.These animation timings, font sizes, and color choices are all examples of “magic numbers” - the constants that give your app its usability and identity. The goal of SwiftTweaks: allow you to fine-tune these magic numbers in the debug builds of your Swift project, without having to wait for Xcode to rebuild the app.

buddy.js - Magic number detection for JavaScript

  •    Javascript

Magic number detection for javascript. Let Buddy sniff out the unnamed numerical constants in your code.We all know magic numbers are frowned upon as a programming practice. They may give no indication of their meaning, and when used multiple times, can result in future inconsistencies. They can expose you to the risk of typos, hinder maintenance and have an impact on readability. That's where Buddy comes in.

filetype - Small Go package to infer the file type checking the magic numbers signature (golang)

  •    Go

Small and dependency free Go package to infer file and MIME type checking the magic numbers signature.For SVG file type checking, see go-is-svg package.




filetype.py - Small Python package to infer the file type checking the magic numbers signature

  •    Python

Small and dependency free Python package to infer file type and MIME type checking the magic numbers signature of a file or buffer.This is a Python port from filetype Go package.

fleep - File format determination library for Python

  •    Python

fleep is a library that determines file format by file signature (also known as "magic number").You may presume that first element in list will be the most suitable.

phpmnd - PHP Magic Number Detector

  •    PHP

phpmnd is a tool that aims to help you to detect magic numbers in your PHP code. By default 0 and 1 are not considered to be magic numbers. A magic number is a numeric literal that is not defined as a constant, but which may change at a later stage, and therefore can be hard to update. It's considered a bad programming practice to use numbers directly in any source code without an explanation. In most cases this makes programs harder to read, understand, and maintain.

mimetype - A golang library for detecting mime types and extensions based on magic numbers

  •    Go

The library exposes three functions you can use in order to detect a file type. See Godoc for full reference. See TestAppend for a working example. See Contribute if you consider the missing mime type should be included in the library by default.


fleep-py - File format determination library for Python

  •    Python

fleep is a library that determines file format by file signature (also known as "magic number"). You may presume that first element in list will be the most suitable.

mimemagic - Powerful and versatile MIME sniffing package using pre-compiled glob patterns, magic number signatures, XML document namespaces, and tree magic for mounted volumes, generated from the XDG shared-mime-info database

  •    Go

Powerful and versatile MIME sniffing package using pre-compiled glob patterns, magic number signatures, xml document namespaces, and tree magic for mounted volumes, generated from the XDG shared-mime-info database. See the Godoc reference, and cmd/mimemagic for an example implementation.