string_in_string = "Shepherd {} is on duty.".format(shepherd)
print(string_in_string)
# saída = Shepherd Mary is on duty.
import React, { Component } from 'react'; | |
import { render } from 'react-dom'; | |
export default class App extends Component { | |
constructor(props) { | |
super(props); | |
} | |
render() { | |
return <h1>Richelly Italo</h1>; |
import { promisify } from 'util'; | |
import jwt from 'jsonwebtoken'; | |
import authConfig from '../../config/auth'; | |
export default async (req, res, next) => { | |
const authHeader = req.headers.authorization; | |
if (!authHeader) { | |
return res.status(401).json({ error: 'Não autenticado!' }); | |
} |
git config --global alias.assume-unchanged 'update-index --assume-unchanged'
Pode ser utilizado "pasta/*" para todos os arquivos da pasta
adiciona = git update-index --assume-unchanged <file>
remove = git update-index --no-assume-unchanged <file>
/* VSCode keybindings for alternative HJLK navigation, when using non-vim mode | |
* and support for quick panel navigation with Tab/Shift+Tab. | |
* | |
* So basically I just tried to use everywhere in the editor these aliases: | |
* Alt+j = down | |
* Alt+k = up | |
* Alt+l = right | |
* Alt+h = left | |
* Alt+b = previous-word | |
* Alt+w = next-word |
swal({ title: '', content: { element: "div", attributes: { innerHTML: res.mensagem }, }, icon: "success" })
<?php | |
$mrss =<<<EOS | |
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" | |
xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"> | |
<channel> | |
<title>My Movie Review Site</title> | |
<link>http://www.foo.com</link> | |
<description>I review movies.</description> |