BEM is a methodology for naming and classifying CSS selectors in a way to make them a lot more strict, transparent and informative.
The naming convention follows this pattern:
.block{}
.block__element{}
.block--modifier{}
<?php | |
$guid = BLOCKCHAIN_ID; | |
$main_password = BLOCKCHAIN_PASS; | |
$json = getCurl("https://blockchain.info/pt/merchant/$guid/new_address?password=$main_password"); | |
echo $json; |
var talib = require("talib"); | |
var fs = require("fs"); | |
var _ = require("lodash"); | |
var Q = require("q"); | |
// Display all available indicator function names | |
//var functions = talib.functions; | |
//for (i in functions) { | |
// console.log(functions[i].name); | |
//} |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Conversão de preço USD para BTC</title> | |
</head> | |
<body> | |
<?php | |
$productValue = number_format(25, 2); | |
$satoshi = 100000000; |
/** | |
* Text alignment | |
*/ | |
.text--left { text-align: left !important; } | |
.text--center { text-align: center !important; } | |
.text--right { text-align: right !important; } | |
.text--justify { text-align: justify !important; } | |
/** | |
* Text transform |
;(function($){ | |
var _is = $.fn.is, _filter = $.fn.filter; | |
function visible(elem){ | |
elem = $(elem); | |
return !!(elem.width() || elem.height()) && elem.css("display") !== "none"; | |
} | |
$.fn.is = function(sel){ | |
if(sel === ":visible"){ |
{ | |
"estados": [ | |
{ | |
"sigla": "AC", | |
"nome": "Acre", | |
"cidades": [ | |
"Acrelândia", | |
"Assis Brasil", | |
"Brasiléia", | |
"Bujari", |
.nav-responsive { | |
list-style: none; | |
padding-left: 0; | |
} | |
.nav-responsive__item { | |
display: block; | |
border-bottom: 1px solid #999; | |
&:last-child { |
{ | |
"estados": [ | |
{ | |
"sigla": "AC", | |
"nome": "Acre", | |
"cidades": [ | |
"Acrelândia", | |
"Assis Brasil", | |
"Brasiléia", | |
"Bujari", |
function getParameterByName(name) | |
{ | |
name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); | |
var regexS = "[\\?&]" + name + "=([^&#]*)"; | |
var regex = new RegExp(regexS); | |
var results = regex.exec(window.location.search); | |
if(results == null) | |
return ""; | |
else | |
return decodeURIComponent(results[1].replace(/\+/g, " ")); |