Playgrounds
Snippets
Developers
Compiler
All
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
Coffee
CoffeeScript
ColdFusion
Command
CSS
Delphi
Django
ES6
GLSL
Grunt
Gulp
HAML
Haskell
HTML
iOS
Jade
Java
JavaScript
jQuery
JSX
Less
LUA
MDX
MySQL
Objective
Other
Pascal
Perl
PHP
Plain text
PowerShell
Processing
Progress
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
SCSS
SmallBASIC
Smarty
SQL
Stylus
SVG
Swift
TypeScript
VHDL
X++
XHTML
XML
Xojo
XSLT
New snippet
New playground
Sign up
Login
Upload
Playgrounds
Snippets
Developers
Sign up
Login
Codepad is a place for developers to share code snippets (PHP, Java, Bash, C, C++, Python and more). Create your HTML, CSS and JS Demos.
Sign up
Learn more
Please
Login
or
Register
MA
Mohammad Anwar Shah
Bangladesh,
Rails
,
Ruby
Available for hire
2
Followers
4
Snippets
Snippets
Collections
Newest
Oldest
Popular
Most comments
Most views
Copy validation error messages from another activerecord object
Rails
0
0
1817
floating point numbers with first 2 decimals (without rounding)
Ruby
3
2
2015
Reduce mp3 audio file's bitrate using ffmpeg
Bash
0
2
1913
Convert a bunch of fonts to ttf
Python
0
0
1014