Skip to content

Instantly share code, notes, and snippets.

View 10MINT's full-sized avatar

10MINT 10MINT

  • Germany
View GitHub Profile
@10MINT
10MINT / bash.md
Created June 3, 2021 12:10
yesod debug info
$ command -v uname && uname -a # Kernel version
/bin/uname
Linux ACER-SWIFT-3 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ command -v stack && stack --version
/home/lennart/.local/bin/stack
Version 2.7.1, Git revision 8afe0c2932716b0441cf4440d6942c59568b6b19 x86_64 hpack-0.34.4
$ command -v stack && stack ghc -- --version
/home/lennart/.local/bin/stack
The Glorious Glasgow Haskell Compilation System, version 8.10.4
@10MINT
10MINT / essentials.md
Created April 30, 2019 11:31
IMHO free essential tools for computer science students

Specific

  • VisuAlgo: Visualise data structures and algorithms through animation
  • Symbolab: Solves complex math problems, often with approach
  • Wolfram|Alpha: Computational knowledge engine, can also solve math problems
  • Project Jupyter: A digital notebook with embedded python support
  • WepSIM: Assembler simulator and debugger
  • GeoGebra: Graphing calculator
  • Desmos: Another graphing calculator
  • Octave: Matlab compatible scientific programming language
  • Scilab: Scientific programming language studio
@10MINT
10MINT / border.js
Last active January 27, 2024 18:54
Blockly mutator with checkboxes which correspond to values in a block
/**
* @author @10MINT (redpandadevs@gmail.com)
*/
'use strict';
goog.provide('Blockly.Constants.Border');
goog.require('Blockly');
goog.require('Blockly.Blocks');
const FIELDS = ["color", "width"];
@10MINT
10MINT / main.dart
Last active July 7, 2018 23:56
Shows the differences between recursive and dynamic programming
int calls = 0;
int i = 35; //the fibonacci number to calculate
void main() {
Stopwatch _timer;
_timer = new Stopwatch()..start();
print('fibonacci($i) = ${recursiveFibonacci(i)} was calculated using the recursive approach. (time: ${_timer.elapsedMilliseconds} ms, calls: $calls)');
_timer.reset();
calls = 0;
print('fibonacci($i) = ${dynamicFibonacci(i)} was calculated using the dynamic approach. (time: ${_timer.elapsedMilliseconds} ms, calls: $calls)');