-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpost.html
More file actions
176 lines (163 loc) · 4.77 KB
/
post.html
File metadata and controls
176 lines (163 loc) · 4.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!DOCTYPE html>
<html lang="en">
<head>
<title>Ep Developer</title>
<meta charset="utf-8" />
<!-- stylesheets -->
<link rel="stylesheet" href="css/bulma.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/dracula.min.css">
<!-- fonts -->
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed" rel="stylesheet">
</head>
<body>
<!-- navigation -->
<div class="navigation">
<nav class="nav has-shadow">
<div class="container">
<!-- nav site title -->
<div class="nav-left">
<a class="nav-item">
<h3 class="title is-3" style="color: white;">ERIC PAUL DEVELOPER</h3>
</a>
</div>
<!-- end of site title -->
<!-- this "nav-toggle" hamburger menu is only visible on mobile -->
<span class="nav-toggle">
<span></span>
<span></span>
<span></span>
</span>
<!-- end of toggle -->
<!-- this "nav-menu" is hidden on mobile -->
<div class="nav-right nav-menu">
<a class="nav-item is-tab" href="index.html">
Home
</a>
<a class="nav-item is-tab is-active" href="post.html">
Blog
</a>
<a class="nav-item is-tab" href="about.html">
About
</a>
<a class="nav-item is-tab" href="contact.html">
Contact
</a>
<a class="nav-item" href="https://github.com/epaulf">
<span class="icon">
<i class="fa fa-github"></i>
</span>
</a>
</div>
<!-- end of nav -->
</div>
</nav>
</div>
<!-- end navigation -->
<!-- page content -->
<div class="main-content">
<div class="container">
<!-- start of posts -->
<div class="columns is-multiline is-centered">
<!-- start of post -->
<div class="column is-7">
<div class="card">
<!-- image for post -->
<div class="card-image">
<figure class="image is-2by3">
<img src="https://cdn-images-1.medium.com/max/1200/1*1JUfnJLEtIXHB_ygoy5uKg.png" alt="Elixir lang">
</figure>
</div>
<!-- end of image for post -->
<!-- post header -->
<div class="card-content-header has-text-centered">
<h4 class="title is-4">Validate interbank account number (Clabe) in Elixir</h4>
</div>
<!-- end of post header -->
<!-- post content -->
<div class="card-content">
<div class="content">
<div class="card-inner-wrapper">
<!-- post text -->
<div class="card-content-text">
<p> Validates that the interbank account number is real. <br>
* Only applies for Mexican bank accounts.</p>
<p>
<pre><code class=" hljs language-sh">
iex(2)> Clabe.validClabe("012180029656095853")
{:ok, "is valid",
{12, %{fullName: "BBVA Bancomer, S.A.", shortName: "BBVA BANCOMER"}},
[
{180, "Atizapan"},
{180, "Chalco"},
{180, "Ciudad de México"},
{180, "Coacalco"},
{180, "Cuautitlán Izcalli"},
{180, "Cuautitlán"},
{180, "Ecatepec"},
{180, "Huehuetoca"},
{180, "Huixquilucan"},
{180, "Ixtapaluca"},
{180, "Los Reyes La Paz"},
{180, "Naucalpan"},
{180, "Nezahualcóyotl"},
{180, "Tecamac"},
{180, "Teotihuacán"},
{180, "Texcoco"},
{180, "Tlalnepantla"}
]}
iex(1)> Clabe.validClabe("012732029656095853")
{:error, "clabe invalid , citie no valid"}
</code></pre>
</p>
</div>
<!-- end of post text -->
<!-- post footer -->
<div class="card-content-footer-small">
<div class="nav-center">
<a class="nav-item" href="https://github.com/epaulf">
<span class="icon">
<i class="fa fa-github"></i>
</span>
</a>
<a class="nav-item" href="https://twitter.com/Epauldev">
<span class="icon">
<i class="fa fa-twitter"></i>
</span>
</a>
<a class="nav-item" href="https://www.linkedin.com/in/eric-paul-flores-espinoza-624603143/">
<span class="icon">
<i class="fa fa-linkedin"></i>
</span>
</a>
</div>
</div>
</div>
</div>
</div>
<!-- end of post content -->
<br />
</div>
</div>
</div>
<!-- end of comments -->
</div>
<!-- end of post -->
</div>
<!-- end of post column -->
</div>
</div>
<!-- end of page content -->
<!-- footer: will stick to the bottom -->
<div class="footer footer-top-shadow">
<div class="container has-text-centered">
<span class="icon">
<i class="fa fa-github"></i>
</span>
</div>
</div>
<!-- end of footer -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/highlight.min.js"></script>
</body>
</html>