Descargar hoja de atajos de React
| # -------------------------------------------------------------------- | |
| # Copyright (c) 2019 LINKIT, The Netherlands. All Rights Reserved. | |
| # Author(s): Anthony Potappel | |
| # | |
| # This software may be modified and distributed under the terms of the | |
| # MIT license. See the LICENSE file for details. | |
| # -------------------------------------------------------------------- | |
| # If you see pwd_unknown showing up, this is why. Re-calibrate your system. | |
| PWD ?= pwd_unknown |
| # How to encrypt/decrypt your text/blob secret with AWS KMS with AWS cli | |
| KEY_ID=alias/my-key | |
| SECRET_BLOB_PATH=fileb://my-secret-blob | |
| SECRET_TEXT="my secret text" | |
| ENCRYPTED_SECRET_AS_BLOB=encrypted_secret_blob | |
| DECRYPTED_SECRET_AS_BLOB=decrypted_secret_blob # Result of decrypt-blob target | |
| encrypt-text: |
| let regex = `import | |
| (?: | |
| ["'\s]* | |
| ([\w*{}\n, ]+) | |
| from\s* | |
| )? | |
| ["'\s]* | |
| ([@\w/_-]+) | |
| ["'\s]* | |
| ;? |
| import argparse | |
| import boto.sqs | |
| import json | |
| import os | |
| parser = argparse.ArgumentParser(description='Saves all messages from an AWS SQS queue into a folder.') | |
| parser.add_argument( | |
| '-q', '--queue', dest='queue', type=str, required=True, | |
| help='The name of the AWS SQS queue to save.') |
Hi Nicholas,
I saw you tweet about JSX yesterday. It seemed like the discussion devolved pretty quickly but I wanted to share our experience over the last year. I understand your concerns. I've made similar remarks about JSX. When we started using it Planning Center, I led the charge to write React without it. I don't imagine I'd have much to say that you haven't considered but, if it's helpful, here's a pattern that changed my opinion:
The idea that "React is the V in MVC" is disingenuous. It's a good pitch but, for many of us, it feels like in invitation to repeat our history of coupled views. In practice, React is the V and the C. Dan Abramov describes the division as Smart and Dumb Components. At our office, we call them stateless and container components (view-controllers if we're Flux). The idea is pretty simple: components can't
| # Hello, and welcome to makefile basics. | |
| # | |
| # You will learn why `make` is so great, and why, despite its "weird" syntax, | |
| # it is actually a highly expressive, efficient, and powerful way to build | |
| # programs. | |
| # | |
| # Once you're done here, go to | |
| # http://www.gnu.org/software/make/manual/make.html | |
| # to learn SOOOO much more. |
| //SpellArray Gist: https://gist.github.com/BaldarSilveraxe/b870375736cce7a7bee0 | |
| ///Googl File: https://docs.google.com/spreadsheets/d/1U0zeNzWa5ntISV8ILpldk6VsH0UtwIinuTx0NFjbAh0/edit?usp=sharing | |
| on("ready", function() { | |
| on("chat:message", function (msg) { | |
| if (msg.type != "api") return; | |
| msg.who = msg.who.replace(" (GM)", ""); | |
| msg.content = msg.content.replace("(GM) ", ""); | |
| var command = msg.content.split(" ", 1); |
| foo | bar | baz | |
|---|---|---|---|
| a | 1 | ||
| b | 2 | ||
| c | |||
| 4 | |||
| e | 5 |