by Glenn Matlin / glennmatlin on all socials
- Download and copy all files in this gist to
~/.claude/ - Move the
.pyfiles to~/.claude/hooks - Restart Claude Code.
| 'system': | |
| [ | |
| { | |
| 'type': 'text', | |
| 'text': "You are Claude Code, Anthropic's official CLI for Claude.", | |
| 'cache_control': {'type': 'ephemeral'} | |
| }, | |
| { | |
| 'type': 'text', | |
| 'text': 'You are an interactive CLI tool that helps users with software engineering tasks. |
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare [email protected]:usi-systems/easytrace.git
sudo apt install gdebi-core
sudo tasksel install samba-serversudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backupsudo bash -c 'grep -v -E "^#|^;" /etc/samba/smb.conf_backup | grep . > /etc/samba/smb.conf'sudo nano /etc/samba/smb.confPython is the primary language in which TensorFlow models are typically developed and trained. TensorFlow does have bindings for other programming languages. These bindings have the low-level primitives that are required to build a more complete API, however, lack much of the higher-level API richness of the Python bindings, particularly for defining the model structure.
This gist demonstrates taking a model (a TensorFlow graph) created by a Python program and running the training loop in a C program.
| /** | |
| * Copyright 1993-2015 NVIDIA Corporation. All rights reserved. | |
| * | |
| * Please refer to the NVIDIA end user license agreement (EULA) associated | |
| * with this source code for terms and conditions that govern your use of | |
| * this software. Any use, reproduction, disclosure, or distribution of | |
| * this software and related documentation outside the terms of the EULA | |
| * is strictly prohibited. | |
| * | |
| */ |
0 - Memory Allocation
1 - Arrays
2 - Pointer Basics
2 - Same code to ASM via godbolt/GCC
3 - C-Bits Bitwise Operators and binary operations.
Learn about Bit Order | Endianess (MSB/LSB) https://github.com/Acry/Byte_Drawer
| @Configuration | |
| public class MultipleResolverResourcesConfig extends WebMvcConfigurerAdapter { | |
| // Multiple ResourceResolver configuration | |
| @Override | |
| public void addResourceHandlers(ResourceHandlerRegistry registry) { | |
| List<ResourceResolver> jsResolvers = new ArrayList<>(); | |
| jsResolvers.add(new PrefixResourceResolver("hexprefix")); | |
| jsResolvers.add(new PathResourceResolver()); |
| """ | |
| Quick script I ran to visualuze some A2C results. Just run `python plot.py` in the same directory | |
| as where the stuff in `files` is located. | |
| """ | |
| import argparse, csv, os, pickle, sys, matplotlib | |
| from os.path import join | |
| matplotlib.use('Agg') | |
| import matplotlib.pyplot as plt | |
| plt.style.use('seaborn-darkgrid') | |
| import numpy as np |