- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
| #!/bin/bash | |
| # Adicione um novo remote; pode chamá-lo de "upstream": | |
| git remote add upstream https://github.com/usuario/projeto.git | |
| # Obtenha todos os branches deste novo remote, | |
| # como o upstream/master por exemplo: | |
| git fetch upstream |
| #msgs_scroller_div::-webkit-scrollbar-track, #client_body::before, .client_container, | |
| #search_terms, #client_body, #footer, ts-message, .channel_header, ts-jumper ts-jumper-container, | |
| ts-jumper input[type="text"], | |
| .supports_custom_scrollbar:not(.slim_scrollbar) #col_channels:hover #channels_scroller::-webkit-scrollbar-track, | |
| .feature_sli_file_search #search_results.all, .feature_sli_file_search #search_results.messages, | |
| .feature_sli_file_search #search_results.files{ | |
| background: #333 !important; | |
| } | |
| .feature_sli_file_search #search_results.all .search_message_result, .feature_sli_file_search #search_results.messages .search_message_result, |
| .cm-s-cobalt.CodeMirror { background: #002240; color: white; } | |
| .cm-s-cobalt div.CodeMirror-selected { background: #b36539; } | |
| .cm-s-cobalt .CodeMirror-line::selection, .cm-s-cobalt .CodeMirror-line > span::selection, .cm-s-cobalt .CodeMirror-line > span > span::selection { background: rgba(179, 101, 57, .99); } | |
| .cm-s-cobalt .CodeMirror-line::-moz-selection, .cm-s-cobalt .CodeMirror-line > span::-moz-selection, .cm-s-cobalt .CodeMirror-line > span > span::-moz-selection { background: rgba(179, 101, 57, .99); } | |
| .cm-s-cobalt .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; } | |
| .cm-s-cobalt .CodeMirror-guttermarker { color: #ffee80; } | |
| .cm-s-cobalt .CodeMirror-guttermarker-subtle { color: #d0d0d0; } | |
| .cm-s-cobalt .CodeMirror-linenumber { color: #d0d0d0; } | |
| .cm-s-cobalt .CodeMirror-cursor { border-left: 1px solid white; } |
| <!--When a JSON-LD document's top-level structure is an object that contains no other | |
| properties than @graph and optionally @context (properties that are not mapped to an IRI | |
| or a keyword are ignored), @graph is considered to express the otherwise implicit default graph. | |
| This mechanism can be useful when a number of nodes exist at the document's top level that | |
| share the same context, which is, e.g., the case when a document is flattened. The @graph | |
| keyword collects such nodes in an array and allows the use of a shared context. | |
| From https://www.w3.org/TR/json-ld/#h3_named-graphs | |
| More on graph - http://stackoverflow.com/questions/30505796/json-ld-schema-org-multiple-video-image-page/30506476#30506476 |
| var proto = Element.prototype; | |
| var slice = Function.call.bind(Array.prototype.slice); | |
| var matches = Function.call.bind(proto.matchesSelector || | |
| proto.mozMatchesSelector || proto.webkitMatchesSelector || | |
| proto.msMatchesSelector || proto.oMatchesSelector); | |
| // Returns true if a DOM Element matches a cssRule | |
| var elementMatchCSSRule = function(element, cssRule) { | |
| return matches(element, cssRule.selectorText); | |
| }; |
| // this file is just here to change the name of the gist | |
| import React from 'react' | |
| import styled from 'styled-components' | |
| const makeResponsiveComponent = (rulesets, tagName = 'div') => | |
| styled(tagName)`${buildStyles(rulesets)}` | |
| const buildStyles = rulesets => | |
| rulesets.reduce( | |
| (cssString, { constraint, width, rules }) => |
| // This is an advanced example! It is not intended for use in application code. | |
| // Libraries like Relay may make use of this technique to save some time on low-end mobile devices. | |
| // Most components should just initiate async requests in componentDidMount. | |
| class ExampleComponent extends React.Component { | |
| _hasUnmounted = false; | |
| state = { | |
| externalData: null, | |
| }; |
| // This is an advanced example! It is not intended for use in application code. | |
| // Libraries like Relay may make use of this technique to save some time on low-end mobile devices. | |
| // Most components should just initiate async requests in componentDidMount. | |
| class ExampleComponent extends React.Component { | |
| _hasUnmounted = false; | |
| state = { | |
| externalData: null, | |
| }; |
| { | |
| "name": "sqip-cache-tryout", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "", | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1" | |
| }, | |
| "keywords": [], | |
| "author": "stefan judis <stefanjudis@gmail.com>", |