Skip to content

Instantly share code, notes, and snippets.

View theus's full-sized avatar

Matheus Falcão theus

View GitHub Profile
@theus
theus / ddds-select.html
Created September 12, 2018 18:50
Select com DDDs do Brasil
<select name="ddd">
<option value="">DDD</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
@theus
theus / Compare the Triplets.js
Created November 20, 2019 22:40
Teste de Front-End
// https://www.hackerrank.com/challenges/compare-the-triplets/problem
<!-- Init code Huggy Chat //-->
<script>
var $_Huggy = {
defaultCountry: '+55',
widget_id: '0001',
company: "0001"
};
(function(i,s,o,g,r,a,m){ i[r]={context:{id:'8551dbde3f168db249381597eea81c71'}};a=o;o=s.createElement(o); o.async=1;o.src=g;m=s.getElementsByTagName(a)[0];m.parentNode.insertBefore(o,m); })(window,document,'script','https://js.huggy.chat/widget.min.js?v=8.0.0','pwz');
</script>
<!-- Init code Huggy Chat //-->
<script>
var $_Huggy = {
defaultCountry: '+55',
widget_id: '0001',
company: "0001",
afterLoad: function () {
Huggy.openBox();
}
};
<!-- Init code Huggy Chat //-->
<script>
var $_Huggy = {
defaultCountry: '+55',
widget_id: '0001',
company: "0001",
afterLoad: function () {
if (window.innerWidth > 768) {
Huggy.openBox();
}