Skip to content

Instantly share code, notes, and snippets.

View brunocrt's full-sized avatar
🏠
Working from home

Bruno Tinoco brunocrt

🏠
Working from home
  • New York, NY
View GitHub Profile
public class EncryptablePropertiesPropertySource extends MapPropertySource {
@SuppressWarnings({ "unchecked", "rawtypes" })
public EncryptablePropertiesPropertySource(String name, Properties source) {
super(name, (Map) source);
}
protected EncryptablePropertiesPropertySource(String name, Map<String, Object> source) {
super(name, source);
}
@brunocrt
brunocrt / testing_spark_cassandra.md
Created March 13, 2018 20:59 — forked from hkhamm/testing_spark_cassandra.md
Testing Spark and Cassandra
@brunocrt
brunocrt / README.md
Created August 13, 2018 14:36 — forked from vicainelli/README.md
10 livros que todo mundo deveria ler - by Murilo Gun

10 livros que todo mundo deveria ler

by Murilo Gun

  1. Abundancia - O futuro é melhor do que você imagina | Steven Kotler e Peter H. Diamandis
  2. VLEF - Vai lá e faz
  3. A Startup Enxuta - Como Os Empreendedores Atuais Utilizam a Inovação
  4. Marketing e Comunicação da Era Pós-Digital - As Regras Mudaram | Walter Longo
  5. De Onde Vem as Boas Ideias | Steven Johnson
  6. Steve Jobs - A Biografia | Walter Isaacson
@brunocrt
brunocrt / example-jenkinsfile-pipeline.groovy
Created February 15, 2019 12:29 — forked from eriadam/example-jenkinsfile-pipeline.groovy
example-jenkinsfile-pipeline.groovy
#!groovy
pipeline {
agent any
stages {
stage('Checkout') {
steps {
checkout scm
}
@brunocrt
brunocrt / Jenkinsfile
Created February 22, 2019 14:03 — forked from amaksoft/Jenkinsfile
My example Jenkins Pipeline setup for Android app project
#!/usr/bin/groovy
/*
* Copyright (c) 2016, Andrey Makeev <[email protected]>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
@brunocrt
brunocrt / kube-registry.yaml
Created June 2, 2019 05:26 — forked from coco98/kube-registry.yaml
Docker registry on minikube
apiVersion: v1
kind: ReplicationController
metadata:
name: kube-registry-v0
namespace: kube-system
labels:
k8s-app: kube-registry
version: v0
spec:
replicas: 1
@brunocrt
brunocrt / introrx.md
Created July 17, 2019 22:41 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@brunocrt
brunocrt / minikube-setup.txt
Created August 12, 2019 14:32
Minikube setup on windows 10
Quick summary for those seeing similar issues:
First create a vSwitch in Hyper-V
type: external
name: Minikube (or anything you like)
make sure to associate the vSwitch with the correct NIC
reboot after creating the vSwitch just in case (routing tables, ...)
go take a look at the network devices on your Windows host to make sure that you have a Virtual Ethernet Adapter configured and actually connected to your network
Control Panel\Network and Internet\Network Connections. In my case i have: "vEthernet (Minikube)"
@brunocrt
brunocrt / donut.c
Created January 10, 2024 01:29
donut.c
#include <stdio.h>
#include <string.h>
k;double sin()
,cos();main(){float A=
0,B=0,i,j,z[1760];char b[
1760];printf("\x1b[2J");for(;;
){memset(b,32,1760);memset(z,0,7040)
;for(j=0;12.28>j;j+=0.03)for(i=0;12.28
>i;i+=0.01){float c=sin(i),d=cos(j),e=