Skip to content

Instantly share code, notes, and snippets.

View felipebueno's full-sized avatar

Felipe Bueno felipebueno

View GitHub Profile
@felipebueno
felipebueno / stacker-saloon.js
Last active March 12, 2024 22:06
TamperMonkey script to help DarthCoin find the Stacker Saloon on https://stacker.news
// ==UserScript==
// @name stacker saloon
// @namespace http://tampermonkey.net/
// @version 2024-03-12
// @description try to take over the world!
// @author You
// @match https://stacker.news/
// @icon https://www.google.com/s2/favicons?sz=64&domain=stacker.news
// @grant none
// ==/UserScript==
@felipebueno
felipebueno / php-oci8-debian.md
Created August 27, 2020 16:29 — forked from milo/php-oci8-debian.md
Oracle OCI8 extension on Linux Debian

Oracle Instant Client libraries installation

Download Oracle Instant Client libraries (URL may change, already happened few times). Be sure you download correct (x64 or x32) architecture. And correct version. I'm using Instant Client 10.1.0.5.0 with Oracle 10g, 11g and 12c and PHP 5.6, 7.1, 7.2, 7.3 and 7.4. Never hit any problem with such setup but my queries are quite simple.

Last time I used Instant Client 19.6.0.0.0 and compiled with PHP 7.4 fine. I had to download two files:

instantclient-basic-linux.x64-19.6.0.0.0dbru.zip
instantclient-sdk-linux.x64-19.6.0.0.0dbru.zip

and extacted them into single directory. I'm using /usr/local/lib/oracle. File tree follows:

@felipebueno
felipebueno / 00-lenovo-x1-5th-gen-thinkfan-setup.md
Created June 12, 2020 02:02 — forked from abn/00-lenovo-x1-5th-gen-thinkfan-setup.md
Fedora thinkfan configuration for Lenovo X1 Carbon (5th Gen)

Thinkfan Configuration Notes

This are notes for configuration thinkfan for Fedora. This configuration procedure was followed on a Lenovo Thinkpad X1 Carbon (5th Gen) running Fedora 25.

Non standard (default) configuration was required for this machine as the default sensors are not available. Eg: /proc/acpi/ibm/thermal does not exist for this model.

An annoted configuration file has been included below. However, there is no guarentee that this will work as-is on every machine.

Installation

dnf -y install thinkfan
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
@felipebueno
felipebueno / Makefile
Created January 6, 2017 12:10 — forked from jessevanherk/Makefile
A sample makefile and support files to build a love2d game for multiple platforms from linux
LOVE_BIN=/usr/bin/love
LOVE_DIR=./src/love
DIST_DIR=./src/dist
PATCH_DIR=./src/patch
BUILD_DIR=./build
BIN_DIR=./bin
LOVE_VERSION=0.9.1
GAME_NAME=MySampleGame
PRETTY_NAME=My Sample Game
@felipebueno
felipebueno / multiple_ssh_setting.md
Created June 8, 2016 22:04 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@felipebueno
felipebueno / produtos.json
Last active June 7, 2016 19:47
Testing Dynamic Content on Hugo SSG
[
{
"foto": {
"text": "",
"alt": "Hi-top Game Turbo, Caixa, 2 Controles, E Varios Jogos Grátis",
"src": "http://mlb-s1-p.mlstatic.com/nes-consoles-en-nintendo-954211-MLB20524330070_122015-Y.jpg"
},
"descricao": {
"text": "Hi-top Game Turbo, Caixa, 2 Controles, E Varios Jogos Grátis",
"href": "http://produto.mercadolivre.com.br/MLB-730548280-hi-top-game-turbo-caixa-2-controles-e-varios-jogos-gratis-_JM"
Verifying that +felipebueno is my blockchain ID. https://onename.com/felipebueno
@felipebueno
felipebueno / genymotionwithplay.md
Last active December 21, 2015 13:56 — forked from wbroek/genymotionwithplay.txt
Genymotion with Google Play Services
@felipebueno
felipebueno / figwheel-emacs-cider.md
Created December 4, 2015 15:34 — forked from auramo/figwheel-emacs-cider.txt
figwheel emacs cider stuff

Using Emacs CIDER as the Figwheel REPL tool

project.clj should have this line:

  :figwheel { :nrepl-port 7888 }

At the defproject-level.

It enables external tools to connect to the Figwheel REPL. To connect