- httpd 2.4.5 and later
- Enable Apache2 modules:
sudo a2enmod proxy proxy_ajp proxy_http rewrite deflate headers proxy_balancer proxy_connect proxy_html proxy_wstunnel
<VirtualHost *:80 *:443>
class MainApp extends Component { | |
constructor(props) { | |
super(props); | |
} | |
renderScene(route, navigator) { | |
var Component = route.component; | |
return ( | |
<Component route={route} navigator={navigator} /> | |
); |
; 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 |
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 \ |
{ | |
"ruby.rubocop.executePath": "/Users/thadeu/.rbenv/shims/", | |
"csscomb.formatOnSave": true, | |
"csscomb.preset": "zen", | |
"csscomb.preset": { | |
"sort-order": [ | |
["$variable"], | |
["$include"] | |
], | |
"sort-order-fallback": "abc", |
git fetch origin master
git checkout master
git merge origin/master
git checkout MY_BRANCH
git rebase master
git push -f origin HEAD
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
for file in app/views/**/*.html.erb; do html2haml -e $file ${file%erb}haml && rm $file; done