export const getNotifications = async (title) => {
let ASYNC_TIMEOUT = 10000 // 10s
let didTimeout = false
let notifications = []
const workerDelayedPromise = () => {
return new Promise(async (resolve, reject) => {
// timeout in order to send reject if delayed
git fetch origin master
git checkout master
git merge origin/master
git checkout MY_BRANCH
git rebase master
git push -f origin HEAD
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
{ | |
"ruby.rubocop.executePath": "/Users/thadeu/.rbenv/shims/", | |
"csscomb.formatOnSave": true, | |
"csscomb.preset": "zen", | |
"csscomb.preset": { | |
"sort-order": [ | |
["$variable"], | |
["$include"] | |
], | |
"sort-order-fallback": "abc", |
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
FROM ruby:2.3.1 | |
MAINTAINER Thadeu Esteves Jr <[email protected]> | |
# libs essentials | |
RUN apt-get update && apt-get install -y \ | |
build-essential \ | |
libpq-dev \ | |
postgresql-client-9.4 \ | |
libxml2-dev \ |
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
; Pra todos os arquivos | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
insert_final_newline = true | |
; Estilo de identação em arquivos HTML | |
[*.html] | |
indent_style = space | |
indent_size = 2 |
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
class MainApp extends Component { | |
constructor(props) { | |
super(props); | |
} | |
renderScene(route, navigator) { | |
var Component = route.component; | |
return ( | |
<Component route={route} navigator={navigator} /> | |
); |
config.logger = Logger.new(config.paths["log"].first, 20 * 1024) # 20 megabytes
config.logger = Logger.new(config.paths["log"].first, 20 * 1024) # 20 megabytes
config.logger = Logger.new(config.paths["log"].first, 20 * 1024) # 20 megabytes