This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package cs; | |
import javax.swing.*; | |
public class Bizuca extends JFrame { | |
public Bizuca () | |
{ | |
add(new Game()); | |
setTitle("Bizuca V 2.0"); | |
setDefaultCloseOperation(EXIT_ON_CLOSE); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
import code; code.interact(local=dict(globals(), **locals())) | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>bind</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>source.python</scope> | |
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.10; | |
// File: openzeppelin-solidity/contracts/utils/Address.sol | |
/** | |
* @dev Collection of functions related to the address type, | |
*/ | |
library Address { | |
/** | |
* @dev Returns true if `account` is a contract. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Must | |
------ | |
hyperswitch | |
iterm2 | |
zsh | |
TextSniper | |
MonitorControl | |
vanilla | |
Should |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# libinput-gestures workspace helper | |
# Then add the commands in Gesture interface | |
# Left | |
# /home/username/workspace.sh -1 | |
# Right | |
# /home/username/workspace.sh 1 | |
# Up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Following CSS to wrap the tab-bar into multiple rows: */ | |
.tabs-and-actions-container > .monaco-scrollable-element { | |
height: auto !important; | |
} | |
.tabs-and-actions-container > .monaco-scrollable-element > .tabs-container { | |
height: auto !important; | |
flex-wrap: wrap; |
OlderNewer