This file contains hidden or 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
// my compilation command: g++ -o burrito main.cpp | |
// ERROR: | |
// /usr/bin/ld: /tmp/ccruqflI.o:A in function `main': | |
// main.cpp:(.text+0x1f): undefined reference to `Burrito::Burrito()' | |
// collect2: error: ld returned 1 exit status | |
// Burrito.h | |
#ifndef BURRITO_H | |
#define BURRITO_H |
This file contains hidden or 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
int listOfAngles[] = {30, 45, 60, 90, 180, 360}; | |
void setup() { | |
pinMode(2, OUTPUT); | |
pinMode(3, OUTPUT); | |
pinMode(4, OUTPUT); | |
pinMode(5, OUTPUT); | |
} | |
void rotateStepperMotor(bool rotationDirection, float rotationSpeed, int angle) |
This file contains hidden or 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/bash | |
# this is for setting up my own setup on a new machine | |
# IRC | |
cp -r IRC/.weechat/ ~/ | |
# NeoVIM | |
mkdir -p ~/.local/share/ && cp -r NeoVIM/nvimlocal/nvim ~/.local/share/ | |
mkdir -p ~/.config/ && cp -r NeoVIM/nvimconfig/nvim ~/.config/ |
This file contains hidden or 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/bash | |
# pacman -S program --> this is gonna push 'program' into installed-programs.txt | |
if [ $1=="-S" ]; then | |
echo $2 >> installed-programs.txt | |
fi | |
# pacman -R program --> this is gonna remove the 'program' from installed-programs.txt | |
if [ $1=="-R" ]; then | |
echo $(cat installed-programs.txt | grep -v "^$2$") > installed-programs.txt |
This file contains hidden or 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
#include <iostream> | |
#include <cmath> | |
using namespace std; | |
double karekok(unsigned int x) | |
{ | |
return sqrt(x); | |
} | |
double quadkok(unsigned int x) |
This file contains hidden or 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
#include <iostream> | |
using namespace std; | |
int main(void) | |
{ | |
int enBuyuk = 0; // 0 verdik çünkü 9 her zaman büyük olacak. referans olarak 0 verdik | |
int enKucuk = 9; // enBuyuk için yapılan şeyin aynısı | |
int islenecekSayi; // kullancıdan alınacak sayıyı tanımladık | |
short basamak; |
This file contains hidden or 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
#include <iostream> | |
#include <cmath> | |
using namespace std; | |
int main(void) | |
{ | |
int sayi = 6; | |
int limit = 9999; | |
int toplam = 0; |
This file contains hidden or 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
resolving dependencies... | |
looking for conflicting packages... | |
Packages (3) capstone-3.0.5-1 radare2-3.0.1-1 radare2-cutter-1.7.2.r20.g705735c-2 | |
Total Installed Size: 30,41 MiB | |
checking keyring... | |
checking package integrity... | |
loading package files... |
This file contains hidden or 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
linux414-rt-virtualbox-guest-modules.conf | |
linux414-rt-virtualbox-host-modules.conf | |
linux416-rt-virtualbox-host-modules.conf | |
linux418-rt-virtualbox-host-modules.conf | |
modules.conf |
This file contains hidden or 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
#include <iostream> | |
using namespace std; | |
int asal = 0; | |
int main(void) | |
{ | |
for(int a =10; a<=100; a++) | |
loop_1: | |
{ |