Copy from https://github.com/dannyfritz/commit-message-emoji
Initial Commit |
Version Tag |
New Feature |
Bugfix |
pragma solidity >=0.4.22 <0.6.0; | |
contract SampleContract { | |
uint storageData; | |
function set(uint x) public { | |
storageData = x; | |
} | |
function get() public view returns (uint) { | |
return storageData; | |
} |
for programs in resource.findAll("div", {"class": ["modulo-type-programa"]}): | |
podcasts.append( | |
{ | |
'title': ["%s" % name.attrs['content'] for name in programs.select('meta[itemprop="name"]')][0], | |
'description': ["%s" % desc.attrs['content'] for desc in programs.select('meta[itemprop="description"]')][0], | |
'url': ["%s" % url.attrs['content'] for url in programs.select('meta[itemprop="url"]')][0], | |
'episodes': ["%s" % micro.getText().strip() for micro in programs.select('.microphone')][0] | |
} | |
) |
<?php | |
use Illuminate\Support\Facades\Schema; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Database\Migrations\Migration; | |
class AddHashIdFieldsUsersTable extends Migration | |
{ | |
/** | |
* Run the migrations. |
import VeeValidate from "vee-validate"; | |
import Axios from "axios"; | |
Vue.use(VeeValidate); | |
VeeValidate.Validator.extend("unique", { | |
getMessage: field => "Ya existe un usuario con este e-mail", | |
validate: value => { | |
console.log(value); | |
if (value) { |
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> | |
<html class="no-js"> | |
<!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> |
Copy from https://github.com/dannyfritz/commit-message-emoji
Initial Commit |
Version Tag |
New Feature |
Bugfix |
Work is done within a feature branch created from master. You've incrementally gotten the feature branch working as expected; however, you'd prefer to re-organize your commits so that you can better reason about the changes.
% mkdir repo
% cd repo
% git init
<?php | |
// Autoload Url and Link classes. | |
use Drupal\Core\Url; | |
use Drupal\Core\Link; | |
/** | |
* External link | |
*/ | |
$url = Url::fromUri('https://colorfield.be'); |
Twig coding standards | |
https://www.drupal.org/node/1823416 | |
Filters - Modifying Variables In Twig Templates | |
https://www.drupal.org/node/2357633 | |
{% for i, value in content.field_app_prod_toggle_products %} | |
{% if node.field_app_prod_toggle_products[i].entity %} | |
{% if i == 0 %} |