In your command-line run the following commands:
brew doctorbrew update
| UPDATE wp_options SET option_value = replace(option_value, 'http://www.oldurl', 'http://www.newurl') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
| UPDATE wp_posts SET guid = replace(guid, 'http://www.oldurl','http://www.newurl'); | |
| UPDATE wp_posts SET post_content = replace(post_content, 'http://www.oldurl', 'http://www.newurl'); | |
| UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://www.oldurl','http://www.newurl'); |
In your command-line run the following commands:
brew doctorbrew update| $ = jQuery.noConflict(); | |
| function menuRespuesta(id){ | |
| var htmlTextArea = `<div class="c-wrap-menu b1"> | |
| <span class="c-open-menu"> | |
| <span class="fa fa-caret-down"></span> | |
| </span> | |
| <div class="c-menu-desplegable"> | |
| <h3 class="c-menu-title">Tipo de respuesta</h3> | |
| <ul class="c-menu-list"> |
| brew install protobuf | |
| go get -u google.golang.org/grpc | |
| go get -u github.com/golang/protobuf/protoc-gen-go | |
| protoc -I=./api --go_out=plugins=grpc:./api ./api/hello.proto |
| FROM ruby:2.6.3-alpine | |
| RUN apk add --update --no-cache bash build-base nodejs sqlite-dev tzdata postgresql-dev yarn | |
| RUN gem install bundler:2 | |
| WORKDIR /usr/src/app | |
| COPY package.json yarn.lock ./ | |
| RUN yarn install --check-files |
| func onMainDo<T>(_ firstMainBlock: @escaping () -> Void, onBackgroundDo backgroundBlock: @escaping () -> T, thenOnMainDo mainBlock: @escaping (T) -> Void) { | |
| DispatchQueue.main.async { | |
| firstMainBlock() | |
| DispatchQueue.global(qos: .background).async { | |
| let result = backgroundBlock() | |
| DispatchQueue.main.async { | |
| mainBlock(result) | |
| } | |
| } | |
| } |
| func startApp() { | |
| onMainDo({ | |
| self.activityIndicator.startAnimating() | |
| }, onBackgroundDo: { | |
| let storage = PersistentSecureStorage.shared() | |
| guard let savedToken == storage.token { | |
| return .goToAuth | |
| } | |
| let tokenIsValid = authService.isValidToken(savedToken) | |
| if !tokenIsValid { |
| # Inspirations: | |
| # http://mutelight.org/practical-tmux | |
| # http://zanshin.net/2013/09/05/my-tmux-configuration/ | |
| # http://files.floriancrouzat.net/dotfiles/.tmux.conf | |
| # http://stackoverflow.com/questions/9628435/tmux-status-bar-configuration | |
| # https://github.com/Lokaltog/powerline | |
| # https://github.com/remiprev/teamocil | |
| # http://superuser.com/questions/74492/whats-the-best-prefix-escape-sequence-for-screen-or-tmux | |
| # http://blog.hawkhost.com/2010/07/02/tmux-%E2%80%93-the-terminal-multiplexer-part-2/ | |
| # |
| image: node:10 | |
| pipelines: | |
| branches: | |
| master: | |
| - step: | |
| name: "Build, test and deploy to firebase production" | |
| deployment: production | |
| caches: | |
| - node |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.