This file contains hidden or 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
[options] | |
module.name_mapper='^@src\(.*\)$' -> '<PROJECT_ROOT>/src\1' |
This file contains hidden or 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
git checkout -- yarn.lock | |
yarn install | |
git add yarn.lock | |
git rebase --continue |
This file contains hidden or 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
git log --graph --pretty=format:"%Cred%h%Creset - %C(yellow)%d %Creset%s %Cgreen(%cr) %C(bold blue)<%an>%Creset" --all |
This file contains hidden or 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
// index.js | |
var request = require('request') | |
// Esta variable contiene el URL que Slack nos provee | |
var webhookURL = 'AQUI_PEGAS_LA_WEBHOOK_URL' | |
// Este es el mensaje que queremos enviar | |
var payload = { | |
text: 'Hello, World!' | |
} |
This file contains hidden or 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
// index.js | |
var request = require('request') | |
var TwitterAPI = require('twitter') | |
var twitter = new TwitterAPI({ | |
consumer_key: 'TWITTER_CONSUMER_KEY', | |
consumer_secret: 'TWITTER_CONSUMER_SECRET', | |
access_token_key: 'TWITTER_ACCESS_TOKEN', | |
access_token_secret: 'TWITTER_ACCESS_TOKEN_SECRET' |
This file contains hidden or 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
var React = require('react'); | |
// JSONFormData - https://github.com/roman01la/JSONFormData | |
// Only works on the browser. | |
require('../../vendor/JSONFormData/src/json-formdata'); | |
var JSONForm = React.createClass({ | |
propTypes: { | |
method: React.PropTypes.string.isRequired, | |
action: React.PropTypes.string.isRequired |
This file contains hidden or 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>Processing reads from Javascript</title> | |
<script src="processing.min.js"></script> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
// Here is a variable that has been declared in processing. |
NewerOlder