Note: Currently this only works via Steam client
Usage:
Trace single function/method
@trace
function something() {
}
"""Virtual Environment Manager for Python Scripts. | |
This module provides automatic virtual environment management for Python scripts, | |
with cross-platform support for Linux, macOS, and Windows. It handles creation, | |
updating, and execution of scripts within isolated virtual environments. | |
Features: | |
- Automatic venv creation and management | |
- Cross-platform compatibility (Linux, macOS, Windows) | |
- Version-pinned dependencies |
#!/usr/bin/env python3 | |
import argparse | |
import itertools | |
from rich import print | |
from rich.table import Table | |
def format_resistor_value(number): | |
formatted_number = format(number, ".1f").rstrip('0').rstrip('.') | |
return formatted_number |
Note: Currently this only works via Steam client
Usage:
Trace single function/method
@trace
function something() {
}
#!/usr/bin/env bash | |
sudo -v | |
trap 'echo "Something went wrong, restart script to retry"' ERR | |
set -ex | |
export PATH=/usr/bin:/bin:/usr/sbin:/sbin | |
downloadPkg() { | |
echo "Downloading $1..." |
#!/usr/bin/env bash | |
CR="\e[0m" | |
CBAD="\e[41m" | |
CWRN="\e[33m" | |
COK="\e[32m" | |
CINF="\e[34m" | |
isPcidPresent() { | |
grep -q pcid /proc/cpuinfo |
(function(){ | |
function styleAllBoxes() { | |
var cnt = $('.gm-style-iw'); | |
cnt.each(function(index){ | |
styleBox($(cnt[index])); | |
}); | |
} | |
function styleBox(item) { |
#include <mpidatatypebuilder.h> | |
#include <mpi.h> | |
using namespace std; | |
struct DataSet { | |
double vectorA[131072]; | |
double vectorB[131072]; | |
double arg1; |
<?php | |
class Benchmark | |
{ | |
private $tests = []; | |
private $command = ""; | |
private $multiple = 10; | |
private $results = []; |
var robots = new Array(); | |
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.start = function( ev ){ |