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
Sergey Blohin
QA
Russia, Rostov-on-Don
Bash
,
Ruby
,
SQL
Available for hire
58
Followers
41
Snippets
Snippets
Collections
Newest
Oldest
Popular
Most comments
Most views
Interactive Progress Bar
Ruby
0
0
1013
Get Screenshot from Android phone
Bash
0
0
857
Get access_token for VK API
Ruby
0
0
1423
To toss a coin and execute the code ... or not ...
Ruby
0
0
926
Local IP
Ruby
0
0
1177
Remove all non numeric characters
Ruby
0
0
1004
Display specific line from file in bash
Bash
0
1
873
Check valid email for Yandex
Ruby
0
2
1631
Show password as asterisks (*) in Google Docs
Plain text
0
3
1273
Write to file
Ruby
0
1
988
Work with DOM elements in Ruby Selenium-WebDriver
Ruby
0
9
1282
Get real path to file
Bash
0
2
960
Selenium WebDriver Element by ID
Ruby
0
1
1074
Detect paste text from clipboard
0
7
1086
Retrieving Crash Reports on iOS by macOS
Plain text
0
4
1170
boolean_flip.cpp
C++
0
6
1097
getelementbyxpath.js
JavaScript
0
6
1302
sleep.js
JavaScript
0
9
940
typograf.rb
Ruby
0
2
1166
randomizer.bash
Pascal
0
2
1121
status.bash
Bash
0
2
1310
realWidthHeight.js
JavaScript
0
2
992
Exchange values in C
C
0
7
1041
Extract integer from string
Ruby
0
1
1149
Copying files in Linux (on the network) with a speed limit
Bash
0
7
1044
Ping with minimal symbols
Bash
0
9
1134
Create new empty file
Bash
0
7
1386
Set clickable phone number
JavaScript
0
3
896
Benchmark for require vs. Kernel.send :require
Ruby
0
1
1003
getelementbyxpath.js
JavaScript
0
1
1078
boolean_flip.cpp
C++
0
9
1002
randomizer.bash
Bash
0
1
888
Add test to quarantine in RSpec
Ruby
0
9
1445
Close browser after exception
Ruby
0
9
1156
Get browser's logs in Selenium
Ruby
0
1
1222
Selenium WebDriver for Ruby
Ruby
0
1
1428
realWidthHeight.js
JavaScript
0
2
932
sleep.js
JavaScript
0
3
995