Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');
ruby '2.7.1' | |
gem 'rails', github: 'rails/rails' | |
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
# Action Text | |
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
gem 'okra', github: 'basecamp/okra' | |
# Drivers |
%w( | |
months* | |
extract* | |
payment* | |
consolidate* | |
agenda* | |
brands | |
car_model* | |
car* | |
visit_types* |
Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
Copyright (C) 2015 The Android Open Source Project | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
Alguém na lista Python-Brasil perguntou sobre como criar um webservice Restful com Python... eu achei interessante salvar as sugestões aqui para indicar, caso essa questão apareça em algum lugar.
A ideia é também atualizar esse arquivo com algum blogpost que contribua para a questão.
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
def crc32(string): | |
crctab = [] | |
for table in range(256): | |
crc = table << 24 |
# -*- coding: utf-8 -*- | |
from __future__ import absolute_import, unicode_literals | |
QTD_INICIAL_DE_NOTAS = 10 | |
NOTAS = [5, 10, 20, 50] | |
def sacar_recursiva(valor, saque, notas_disponiveis, qtdes_disponiveis): | |
# Se valor é 0, entao retorno é saque atual como resposta |
class Field(object): | |
def __init__(self, default=None): | |
self.val = default | |
def __get__(self, obj, objtype): | |
if obj is None: | |
return self.__class__ | |
else: | |
return self.val |
// Source: https://groups.google.com/forum/#!topic/angular/hVrkvaHGOfc | |
// jsFiddle: http://jsfiddle.net/pkozlowski_opensource/PxdSP/14/ | |
// author: Pawel Kozlowski | |
var myApp = angular.module('myApp', []); | |
//service style, probably the simplest one | |
myApp.service('helloWorldFromService', function() { | |
this.sayHello = function() { | |
return "Hello, World!" |
| 😄 | 😆 | 😊 | 😃 |
😩 | 😔 | 😞 | 😖 | 😨 | 😰 | 😣 | 😢 | 😭 | 😂 | 😲 | 😱 | | 😫 | 😠 | 😡 | 😤 | 😪 | 😋 | 😷
😎 | 😵 | 👿 | 😈 | 😐 | 😶 | 😇 | 👽 | 💛 | 💙 | 💜 | ❤️ | 💚 | 💔 | 💓 | 💗 | 💕 | 💞 | 💘 | ✨