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
S
S
HTML
,
Python
,
CSS
,
Django
,
JavaScript
,
SQL
0
Followers
31
Snippets
Snippets
Collections
Newest
Oldest
Popular
Most comments
Most views
Shuffle Items in an Array
JavaScript
0
0
193
RegExp named capture groups
JavaScript
0
0
309
Converting Timezone in Python (12-Hour Format)
Python
0
0
763
Converting Timezone in Python (24-Hour Format)
Python
0
0
947
.gitignore for React Project
Python
0
0
397
Plotly - Pie Chart
Python
0
0
511
Git clone using bare
Command
0
0
433
Return Truthy value from Object to Array in Javasript (Work on React)
JavaScript
0
0
366
Getting JavaScript Month from `new Date()` to Locale
JavaScript
0
0
384
Randomise Function for generating random number from 1 to 100
JavaScript
0
0
462
Toggle value between 1 and 0 in Python 3
Python
0
0
542
Using POINT DataType to store Lng,Lat from GPS (Mysql 8.0)
MySQL
0
0
832
Using POINT DataType to store Lat,Lng from GPS (MySQL 5.7)
MySQL
0
0
831
Getting Operating System name and IP Address using Python
Python
0
1
612
Decending Number - Method 2
Python
0
0
438
Duplicate image file using python
Python
0
0
499
Copy text from text file into another text file - Method 2
Python
0
0
482
Copy text from text file into another text file - Method 1
Python
0
0
484
Generator function in Python with Exception
Python
0
0
707
Python Emulation if-else with dictionary
Python
0
0
551
Decorator Functions in Python 3
Python
0
0
860
Download Image from URL list inside Text File
Python
0
0
610
HOG Image Representation
Python
0
0
1130
Measure Decimal number based on Range
Python
0
0
589
Set multiple variable from a List/Tuple value
Python
0
0
509
Euclidean distance with numpy
Python
0
0
1150
Calculate number of X and O
Python
0
0
847
Check multiple character in a string
Python
0
0
904
Summarisation Series
Python
0
0
549
Decending Number - Method 1
Python
0
0
522
String Masking
Python
0
0
642