kristofer / Jshell Snippets 1
Последняя активность
1 | List<String> list1 = new ArrayList<>(); |
2 | list1.add("Kristofer"); |
3 | // new Scanner(System.in).next(); |
4 | // input("Howdy"); |
5 | |
6 | |
7 | String input(String prompt) { |
8 | System.out.print(prompt+" "); |
9 | var sc = new Scanner(System.in); |
10 | return sc.next(); |
kristofer / Markdown 101
Последняя активность
Very basic Markdown
Markdown Cheat Sheet
Look down below for the source to this file.
Thanks for visiting The Markdown Guide!
This Markdown cheat sheet provides a quick overview of all the Markdown syntax elements. It can’t cover every edge case, so if you need more information about any of these elements, refer to the reference guides for basic syntax and extended syntax.
Basic Syntax
kristofer / Must-Know Pandas Functions
Последняя активность
really, I'm serious, memorized
You need to memorize each of these pandas functions.
It's suggested that you write them all donw longhand, add summary of what the function does, in your own words. Then create a 3by5 flash card for each one.
- loc()
- iloc()
- head(n)
- tail(n)
- info()
kristofer / Zed Font settings
Последняя активность
To make Zed fonts bigger or whatever,
in file ~/.config/zed/settings.json
// Zed settings
//
// For information on how to configure Zed, see the Zed
kristofer / Ganymede - Jupyter Notebook
Последняя активность
run Java in a notebook
Ganymede
brew install jupyter
then download the Jar file; Ganymede JAR file
then run jupyter notebook
at shell.
kristofer / Being Human
Последняя активность
Robert Heinlein, on being human.
If the discussion above sounds like gobbledygook to you, consider the famous Heinlein quote:
A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.
Presumably Heinlein meant his list to be representative and fluid rather than exhaustive and static. Presumably he also meant to suggest a capacity for generalized learning of new skills, including the
kristofer / Things that Require ZERO Talent
Последняя активность
12 THINGS THAT REQUIRE ZERO TALENT
- Being On Time
- Making An Effort
- Being High Energy
- Having A Positive Attitude
- Being Passionate
- Using Good Body Language
- Being Coachable
- Doing A Little Extra
kristofer / One-Liner Web Server
Последняя активность
python one line web server
One Liner Web Server Python3
For a Python 3 web server, from the directory containing your files, run:
python3 -m http.server 8000
Serves up the files in the directory you start it in.
kristofer / Passion Project Method
Последняя активность
a methodology to ensure eventual success in passion projects.
Outline line of Tasks
ZCW Passion Project methodology for PassionProj Week.
Each of these phases are designed to move the project from the One-Pager stage to something working by the end of the week.
There are two possible templates here, one for a 3-tier Web Applicationa and one for the creation of a Data Pipeline Application.
Documentation
kristofer / Docker Paths in Terminal
Последняя активность
How to "fix" "docker: command not found"
PATH variable in zsh (or bash) has been bedeviling y'all. See https://zcw.guru/kristofer/path-intro
things like docker: command not found are most likely, if you have installed Docker Desktop, because you haven't added the bin directory where all the docker command line programs are. There are two primary places Docker Desktop keeps its binaries (those pesky programs.) Where those programs are is dependent on wheter you check the System or User radio button in the Advanced Settings UI of the docker app.
Yep. It even tells us where they are.