Skip to content

Instantly share code, notes, and snippets.

View rpbaltazar's full-sized avatar
🧶
Knitting the next thing

Rui Baltazar rpbaltazar

🧶
Knitting the next thing
View GitHub Profile
ERROR in ./src/img/plaing_img.png
Module parse failed: Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
@ ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-1d34fbe4","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/app/containers/ProfilePage/components/Profile.vue 1:4578-4619
@ ./src/app/containers/ProfilePage/components/Profile.vue
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/app/containers/ProfilePage/index.vue
@ ./src/app/containers/ProfilePage/index.vue
@ ./src/index.js
@rpbaltazar
rpbaltazar / Dockerfile
Created August 16, 2019 08:36
dockerfile and sample docker-compose for whistler services
FROM ruby:2.6.3-stretch as base
# WORKDIR needs to be the same as in the final base image or compiled gems will point to an invalid directory
# NOTE: For the compiled gems to be shared across services then the WORKDIR needs to be same for all images
RUN mkdir -p /home/rails/services/app
WORKDIR /home/rails/services/app
ENV BUNDLE_PATH=/bundle \
BUNDLE_BIN=/bundle/bin \
GEM_HOME=/bundle

Keybase proof

I hereby claim:

  • I am rpbaltazar on github.
  • I am rpbaltazar (https://keybase.io/rpbaltazar) on keybase.
  • I have a public key ASCkk3uhB1bExXUnUb4YnBqDtLXY-VRLflilN5x-urUXJQo

To claim this, I am signing this object:

check_name: 'Rubocop Results'
versions:
- rubocop: '0.75.1'
- rubocop-rails: '2.3.2'
- rubocop-performance: '1.5.0'
- rubocop-rspec: '1.36.0'
@rpbaltazar
rpbaltazar / Makefile
Last active May 24, 2020 08:55
githooks examples
init:
find .git/hooks -type l -exec rm {} \;
find .githooks -type f -exec ln -sf ../../{} .git/hooks/ \;
@rpbaltazar
rpbaltazar / rubocop-loop.sh
Created August 24, 2020 01:52
rubocop-loop.sh
# /bin/bash
x=0
while [ $x -eq 0 ]
do
rubocop -C false -a -F | grep 'offense detected' &> /dev/null
x=$?
echo "Finished $x"
done
echo $x
@rpbaltazar
rpbaltazar / git flows
Created August 27, 2020 13:53
git flows
ousama--ooooooooo
|
develop----------------------------->ooooooooo
|
nuno________________________________>xxxx
gco develop
g pull
@rpbaltazar
rpbaltazar / server.py
Created October 7, 2020 01:23
python server.py
from http.server import HTTPServer, BaseHTTPRequestHandler
from io import BytesIO
class SimpleHTTPRequestHandler(BaseHTTPRequestHandler):
def do_GET(self):
self.send_response(200)
self.end_headers()
@rpbaltazar
rpbaltazar / resume.json
Last active November 5, 2022 07:31
My json resume
{
"meta": { "theme": "spartan" },
"basics": {
"name": "Rui Baltazar",
"label": "Lead Software Engineer / CTO",
"picture": "",
"email": "rui.p.baltazar@gmail.com",
"website": "https://rpbaltazar.com",
"summary": "I'm a Software Engineer with a Computer Science background, working in the industry since 2009. Thrilled by the start-up world, I'm an enthusiastic developer, proficient in getting things done. I never turn down a good challenge and I'm always seeking to learn. I believe that developers should actively contribute to OpenSource as a means to learn and give back to the community. On the free time, I'm a life lover by nature, play football on a regular basis and go out scuba-diving every now and then.",
"location": {