I hereby claim:
- I am Calslock on github.
- I am calslock (https://keybase.io/calslock) on keybase.
- I have a public key whose fingerprint is 6FC8 83F5 1034 3B24 B6AF B681 6E83 7A8A 37FE 3C4D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Button przycisk = (Button)findViewById(R.id.przycisk); | |
public void przypiszAktywnosc(){ | |
przycisk.setOnClickListener(new View.OnClickListener(){ | |
public void onClick(View v){ | |
Intent intent = new Intent(this, DrugaKlasa.class); | |
startActivityForResult(intent, 1); | |
} | |
}); |
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", | |
"profiles": | |
{ |
//I really have to rewrite this into Python one day, this is bulky and needlessly complicated | |
#include <iostream> | |
#include <Windows.h> | |
#include <cstring> | |
using namespace std; | |
bool block(string); | |
int main() { |
#include <targets/AT91SAM7.h> | |
#define LCD_BACKLIGHT PIOB_SODR_P20 | |
int main(){ | |
PMC_PCER = PMC_PCER_PIOB; | |
PIOB_OER = LCD_BACKLIGHT; | |
PIOB_PER = LCD_BACKLIGHT; | |
PIOB_SODR |= LCD_BACKLIGHT; | |
} |
#define F_CPU 1000000L | |
#include <avr/io.h> | |
#include <avr/interrupt.h> | |
//D3-D7 -> PA0-PA4 | |
//W1-K4 -> PB0-PB7 | |
//KL.WC. -> INT0 | |
void wyswietl(char); |
#define F_CPU 1000000L | |
#include <avr/io.h> | |
#include <avr/interrupt.h> | |
void init(); | |
int main(void){ | |
init(); //inicjalizacja rejestrów | |
while (1){ //główna pętla podtrzymująca program |
#define F_CPU 1000000L | |
#include <avr/io.h> | |
#include <avr/interrupt.h> | |
void init(); | |
volatile int a = 0; | |
int main(void){ | |
init(); //inicjalizacja rejestrów |
#define F_CPU 1000000L | |
//W1 -> PA0 ... K4 -> PA7 | |
//LEDa -> PB0 ... LEDdp -> PB7 | |
//C1 -> PD0 | |
//D7 -> PD7 | |
#include <avr/io.h> | |
#include <util/delay.h> | |
#include <stdbool.h> |
#define F_CPU 1000000L | |
//W1 -> PA0 ... K4 -> PA7 | |
//LEDa -> PB0 ... LEDdp -> PB7 | |
//C1 -> PD0 | |
#include <avr/io.h> | |
#include <util/delay.h> | |
#include <stdbool.h> | |
void wyswietl(char); |