Pandas DataFrames are central to Data Analysis in Python. In this post, we introduce the itables Python package that enhances how these DataFrames are displayed, by turning them into interactive HTML DataTables.
Using itables is as simple as
| //go:build amd64 && linux | |
| package fdsetutil | |
| import "syscall" | |
| /** | |
| // filepath: ztypes_linux_amd64.go | |
| type FdSet struct { | |
| Bits [16]int64 |
| #!/bin/bash | |
| # | |
| me=sshpingpong | |
| # | |
| # Measure close to minimal packet latency (RTT) of an SSH connection | |
| # | |
| prgversion="$me * 2022-07-27 (c) Andreas Schamanek" | |
| # | |
| # @author Andreas Schamanek <https://andreas.schamanek.net> | |
| # @license GPL <https://www.gnu.org/licenses/gpl.html> |
Pandas DataFrames are central to Data Analysis in Python. In this post, we introduce the itables Python package that enhances how these DataFrames are displayed, by turning them into interactive HTML DataTables.
Using itables is as simple as
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "golang.org/x/sys/unix" | |
| ) | |
| // https://www.gnu.org/software/libc/manual/html_node/Sockets.html#Sockets |
| #!/usr/bin/env python | |
| import re | |
| node_lists = [ | |
| "clip-g1-[0-1],clip-g2-[2-3]", | |
| "clip-g1-0,clip-g2-0", | |
| "clip-g1-0,clip-g2-1", | |
| "clip-g1-1", | |
| "clip-a-[1,3,5]", | |
| "clip-b-[1-3,5]", |
| #!/usr/bin/env python | |
| # Prereq: PyCrypto | |
| # Validation: https://www.samltool.com/decrypt.php | |
| # Usage: ./decrypt_saml_response.py --key PRIVATE_KEY --pretty-print RESPONSE_XML | |
| import sys | |
| import optparse | |
| import base64 |
1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv to manually rebuild the font cache
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| // Use map[string]interface{} to pair functions to name | |
| // Could maybe use anonymous functions instead. Might be clean | |
| // in certain cases | |
| var funcMap = map[string]interface{}{ |
| #!/usr/bin/env python3 | |
| from itertools import accumulate | |
| from bisect import bisect | |
| from random import randrange | |
| from unicodedata import name as unicode_name | |
| # Set the unicode version. | |
| # Your system may not support Unicode 7.0 charecters just yet! So hipster. | |
| UNICODE_VERSION = 6 |