In your command-line run the following commands:
brew doctor
brew update
[ | |
"1185030898148724777", | |
"956131521733984287", | |
"956097947727179806", | |
"1185045871478448242", | |
"932096380879667253", | |
"956246550152118374", | |
"928549000431407164", | |
"976786710836944936", | |
"956128945227567145", |
In your command-line run the following commands:
brew doctor
brew update
All scramblers here are split into 4 categories (puzzles of all types are welcome):
Random moves scramblers for WCA puzzles must generate scrambles of lengths:
class MainActivity : ComponentActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
WindowCompat.setDecorFitsSystemWindows(window, false) | |
super.onCreate(savedInstanceState) | |
setContent { | |
RubberBandSliderTheme { | |
Surface(modifier = Modifier.fillMaxSize(), color = MaterialTheme.colorScheme.background) { | |
Box(contentAlignment = Alignment.Center) { | |
RubberBandSlider(modifier = Modifier | |
.height(200.dp) |
cmake_minimum_required(VERSION 3.10) | |
project (roguelike-firststab) | |
set(SDL2_DIR "C:/msys64/mingw64/bin/vcpkg/installed/x64-mingw-static/share/sdl2") | |
set(glad_DIR "C:/msys64/mingw64/bin/vcpkg/installed/x64-mingw-static/share/glad") | |
set(lodepng-c_DIR "C:/msys64/mingw64/bin/vcpkg/installed/x64-mingw-static/share/lodepng-c") | |
set(libtcod_DIR "C:/msys64/mingw64/bin/vcpkg/installed/x64-mingw-static/share/libtcod") | |
find_package(libtcod CONFIG REQUIRED) | |
add_executable(roguelike-firststab main.cpp) | |
target_link_libraries(roguelike-firststab PRIVATE libtcod::libtcod) | |
add_definitions(-DSDL_MAIN_HANDLED) |
#/bin/sh | |
cd | |
export HSA_OVERRIDE_GFX_VERSION=11.0.0 | |
export PYTORCH_ROCM_ARCH="gfx1100" | |
export HIP_VISIBLE_DEVICES=0 | |
export ROCM_PATH=/opt/rocm | |
echo "export HSA_OVERRIDE_GFX_VERSION=11.0.0" | tee --append .bashrc | |
echo "export PYTORCH_ROCM_ARCH=\"gfx1100\"" | tee --append .bashrc | |
echo "export HIP_VISIBLE_DEVICES=0" | tee --append .bashrc | |
echo "export ROCM_PATH=/opt/rocm" | tee --append .bashrc |
adb help // List all comands | |
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader |
Big O complexities for common methods of Java Collections and common sorting algorithms. | |
Complexity (Best to Worst) | |
=================================================================================================== | |
O(1) < O(log n) < O(n) < O(n log n) < O(n^2) < O(2^n) < O(n!) | |
Collections | |
=================================================================================================== |
Steps to publish a npm package to beta that won't be available via latest and won't auto install on ncu updates etc
npm run dist
etc"version": "0.1.120-beta.1"
where beta.x is the number of those betasnpm publish --tag beta
There are two options for install:
npm install packagename@beta
npm install package@0.1.120-beta.1
# This Script uses the following dependancies | |
# pip install nums-from-string | |
# pip install datetime | |
# | |
# To Run this script type: | |
# python analyze_snowflake_logs.py <Log File Name> | |
# | |
# The default <Log File Name> is ./docker_snowflake.log | |
# | |
# Example: |