This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<workout_file> | |
<author>Roberto</author> | |
<name>Roberto's Workout</name> | |
<description>Pump up the Volume</description> | |
<sportType>bike</sportType> | |
<tags> | |
</tags> | |
<workout> | |
<SteadyState Duration="300" Power="0.5"/> | |
<SteadyState Duration="180" Power="0.65"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.19; | |
// 1. Import here | |
import "./ownable.sol"; | |
// 2. Inherit here: | |
contract ZombieFactory is Ownable { | |
event NewZombie(uint zombieId, string name, uint dna); | |
uint dnaDigits = 16; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROMPT='%{$fg_bold[green]%}%n @ %{$fg_bold[white]%}%M %{$fg_bold[red]%}➜ %{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$opts = [ | |
'http' => [ | |
'method' => 'GET', | |
'header' => [ | |
'User-Agent: PHP Laravel will be over the TOP' | |
] | |
] | |
]; | |
$context = stream_context_create($opts); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"years": [2006], | |
"0": [{ | |
"year": "2006", | |
"name": "FRANCESCO", | |
"count": "10004", | |
"gender": "m", | |
"percent": "3.5204526899581" | |
}, { | |
"year": "2006", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<section class="container"> | |
<div> | |
<logo/> | |
<h1 class="title"> | |
Nuxt.js tutorial | |
</h1> | |
<h2 class="subtitle"> | |
Esempio di progetto Web costruito con Nuxt.js | |
</h2> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: copy generate gitpush deploy | |
copy: | |
# rsync -rtvuc ./dist/ ../deploy/ | |
rsync -rlpcgoDvzi --delete ./dist/ ../deploy/ --exclude-from 'exclude-list.txt' | |
gitpush: | |
cd ../deploy/ ;git add . ; git commit -am "deploy"; git push -u origin master; cd - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (module.hot) | |
module.hot.accept() | |
import Vue from 'vue' | |
Vue.component('timer', require('./components/Timer.vue')); | |
new Vue({ | |
el: "#app", | |
data: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Tomato</title> | |
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.4.2/css/bulma.min.css"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> | |
</head> | |
<body> | |
<div id="app"> | |
<h1>{{ name }}</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="wrapper"> | |
<span class="timer">{{ timerFormatted }}</span> | |
<div class="actions"> | |
<button @click="start">Start</button> | |
<button @click="stop">Stop</button> | |
<button @click="reset">Reset</button> | |
</div> | |
</div> | |
</template> |