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
#include <iostream> | |
#include <random> | |
#include <utility> | |
std::pair<double, double> generateRandomNumber(std::mt19937& gen, std::uniform_real_distribution<>& dis) { | |
double randomValue1 = dis(gen); | |
double randomValue2 = dis(gen); | |
return std::make_pair(randomValue1, randomValue2); | |
} |
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
#include <string> | |
#include <iostream> | |
#include <thread> | |
#include <random> | |
#include <atomic> | |
#include <vector> | |
#include <iomanip> | |
#include <chrono> | |
#include <algorithm> | |
#include <array> |
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
#include <iostream> | |
const int c = { 299792458 }; | |
float findWavelength(float frequency) | |
{ | |
return(c / (frequency * 1000000)); // Convert MHz to Hz and use meters for wavelength | |
} | |
float findDipoleLeg(float wavelength) |
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
#include <iostream> | |
#include <climits> | |
long long int f0 = { 0 }; | |
long long int f1 = { 1 }; | |
long long int fn = {}; | |
int main() | |
{ | |
std::cout << "Printing fibbonacci sequence\n"; |
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
@echo off | |
echo Disabling Oculus packages... | |
adb shell pm disable-user --user 0 com.oculus.explore | |
if %errorlevel% neq 0 echo Failed to disable com.oculus.explore | |
adb shell pm disable-user --user 0 com.oculus.socialplatform | |
if %errorlevel% neq 0 echo Failed to disable com.oculus.socialplatform | |
adb shell pm disable-user --user 0 com.meta.curio.toybox |
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
#include <iostream> | |
#include <string> | |
#include <cmath> | |
#include <iomanip> | |
long double e = 1.0; | |
long double term = 1.0; | |
int i = 1; | |
long double precision = 1.0e-10; | |
bool flag_found = false; |
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
#include <iostream> | |
#include <vector> | |
#include <string> | |
#include <limits> | |
#include <stdexcept> | |
int main() | |
{ | |
std::string input; | |
unsigned long long num; |
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
import serial | |
import time | |
import logging | |
import sys | |
logging.basicConfig(level=logging.DEBUG, | |
format='%(asctime)s - %(levelname)s - %(message)s', | |
handlers=[ | |
logging.StreamHandler(sys.stdout), | |
logging.FileHandler('switch_config.log') |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
0.0.0.0 outlookads.live.com | |
0.0.0.0 adtago.s3.amazonaws.com | |
0.0.0.0 analyticsengine.s3.amazonaws.com | |
0.0.0.0 analytics.s3.amazonaws.com | |
0.0.0.0 advice-ads.s3.amazonaws.com | |
0.0.0.0 pagead2.googlesyndication.com | |
0.0.0.0 adservice.google.com | |
0.0.0.0 pagead2.googleadservices.com | |
0.0.0.0 afs.googlesyndication.com | |
0.0.0.0 stats.g.doubleclick.net |
NewerOlder