Skip to content

Instantly share code, notes, and snippets.

View ftuyama's full-sized avatar

Felipe Tuyama ftuyama

View GitHub Profile
@ftuyama
ftuyama / volume_alert.js
Created July 4, 2019 14:37
Binance Volume alert
// Access Volume Monitor: https://agile-cliffs-23967.herokuapp.com/binance
// Copy and past on chrome console:
var audio = new Audio("/static/beep.wav");
var audioCtx = new AudioContext();
var source = audioCtx.createMediaElementSource(audio);
// create a gain node
var gainNode = audioCtx.createGain();
header, video, img, svg, img ~ div, [data-asset-intro-image], h1, .tail-container {
display: none !important;
}
.app.two div, .app.two a {
color: rgba(255, 255, 255, 0) !important;
}
.message-out, .message-in, .highlight, #pane-side *, footer *, header ~ div, label, input {
color: black!important;
background-color: white !important;
}
@ftuyama
ftuyama / Bizuca.java
Last active August 29, 2015 14:20
Versão Final
package cs;
import javax.swing.*;
public class Bizuca extends JFrame {
public Bizuca ()
{
add(new Game());
setTitle("Bizuca V 2.0");
setDefaultCloseOperation(EXIT_ON_CLOSE);
@ftuyama
ftuyama / Arquivo.java
Created March 30, 2015 21:35
Hyperlink Manager V 1.3
package GUI;
import java.util.Formatter;
import java.util.NoSuchElementException;
import java.util.FormatterClosedException;
import java.io.FileNotFoundException;
import java.util.Scanner;
import javax.swing.*;
import java.io.File;
@ftuyama
ftuyama / Calculadora.java
Last active October 23, 2024 19:25
Calculadora em Java
package calculadora;
import java.io.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class Calculadora extends JFrame{
private JButton [] bOp = new JButton[4]; // Botões Operações
private JButton [] b = new JButton[10]; // Botões dos dígitos
private JButton bponto, bresult, blimpa, bexit; // Botão = e Quit