Skip to content

Instantly share code, notes, and snippets.

View scorphus's full-sized avatar
Brewing at 🏡 office

Pablo Aguiar scorphus

Brewing at 🏡 office
View GitHub Profile
@scorphus
scorphus / requirements.txt
Last active April 3, 2019 19:59
Packages installed in a scenario that seemingly reproduces https://github.com/Microsoft/python-language-server/issues/869
alabaster==0.7.12
appnope==0.1.0
arrow==0.12.1
atlassian-python-api==1.11.19
atomicwrites==1.3.0
attrs==17.4.0
autopep8==1.4.3
aws-sam-cli==0.6.2
aws-sam-translator==1.8.0
Babel==2.6.0
@scorphus
scorphus / Dockerfile
Last active February 23, 2019 18:15
HackIllinois 2019
FROM denismakogon/gocv-alpine:4.0.1-buildstage
RUN apk update && apk add brotli-dev expat-dev
RUN cd && \
curl -L https://github.com/libvips/libvips/releases/download/v8.7.4/vips-8.7.4.tar.gz | tar xz && \
cd vips-8.7.4 && ./configure && make && make install && \
curl -L https://raw.githubusercontent.com/golang/dep/master/install.sh | sh && \
go get -u -d gocv.io/x/gocv && \
go get github.com/aldor007/mort/cmd/mort
@scorphus
scorphus / gh-dl-release
Created July 24, 2018 16:14 — forked from maxim/gh-dl-release
Download assets from private Github releases
#!/usr/bin/env bash
#
# gh-dl-release! It works!
#
# This script downloads an asset from latest or specific Github release of a
# private repo. Feel free to extract more of the variables into command line
# parameters.
#
# PREREQUISITES
#
@scorphus
scorphus / JobInterviewQuestionsYouShouldAsk.md
Last active February 16, 2018 16:06 — forked from hdznrrd/jobinterviewquestions.txt
Job Interview Questions You Should Ask

These are some questions you really should ask in a job interview.

Software development

  • Which platforms (Linux, Windows, Mac, Embedded) will I develop for?

  • What programming languages are you using for which kind of projects / applications?

  • What Development Environment are you using?

  • Are you using any coding style guidelines? If yes, can I take a look at the document?

  • Are you actively supporting / allowing time for keeping your code base maintainable and up to date?

@scorphus
scorphus / job-hunting.md
Created February 13, 2018 16:39 — forked from yangshun/job-hunting.md
Some resources for the job hunting season

Tech Job Hunting

Mock Interview Sites

Would advise you all to practice just for fun. I know a lot of students don't get much practice for interviews.

  • interviewing.io - Allows you to have mock interviews with engineers from the bay area (so they say, but I am an interviewer on the platform too). I personally like this platform a lot and used it both as an interviewee and an interviewer.
  • Pramp - Peer-to-peer mock interviews. You get matched with another person, get assigned questions and take turns to be interviewer/interviewee. I personally dislike this platform a lot because I had a horrible experience being matched with some guy who didn't know shit about regular expressions, gave me a wrong test case, and led me down the wrong path of solving the question.
@scorphus
scorphus / dataclasses.py
Created December 19, 2017 16:16
Experimentations with Data Classes (PEP 557 – https://www.python.org/dev/peps/pep-0557/)
from dataclasses import dataclass
from itertools import groupby
from operator import countOf
from typing import Callable, Dict, Iterable, List, Tuple
@dataclass
class Document:
url: str
title: str
@scorphus
scorphus / halloween.css
Last active October 31, 2017 12:28
Hallowenn Jenkins Monitor
.build-monitor .successful {
background-color: hsl(36, 100%, 50%);
}
.build-monitor .project.successful > .progress {
background-color: hsl(36, 100%, 40%);
}
@keyframes forSuccessful {
0% {
@scorphus
scorphus / pink-october.css
Last active October 23, 2017 19:44
Pink October Jenkins Monitor
.build-monitor .successful {
background-color: #EA80B0;
}
.build-monitor .project.successful > .progress {
background-color: #A85C7F;
}
@keyframes forSuccessful {
0% {
@scorphus
scorphus / reverse-proxy.go
Created November 24, 2016 15:32
NewSingleHostReverseProxy with RoundTrip – read: connection reset by peer
package main
import (
"bytes"
"fmt"
"io/ioutil"
"log"
"net"
"net/http"
"net/http/httputil"
@scorphus
scorphus / keybase.md
Last active March 2, 2018 21:28
Keybase proof

Keybase proof

I hereby claim:

  • I am scorphus on github.
  • I am pablito (https://keybase.io/pablito) on keybase.
  • I have a public key ASDYg1IWkWcdYXP00eGQAkWVkcPgEtD0GCRBBAGT_XuT6Ao

To claim this, I am signing this object: