I hereby claim:
- I am zuazo on github.
- I am zuazo (https://keybase.io/zuazo) on keybase.
- I have a public key whose fingerprint is ADAE EEFC BD78 6CBB B76B 1662 2195 FF19 5324 14AB
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # | |
| # hf_fork.sh - Clone a list of Hub repos into an organisation, preserving history & LFS | |
| # | |
| # Usage: | |
| # HF_TOKEN=hf_... ./hf_fork.sh OurTeam myuser/whisper-tiny-eu myuser/other-repo ... | |
| # | |
| # Requirements: | |
| # • git ≥ 2.34 and git-lfs | |
| # • huggingface_hub ≥ 0.32 (gives you the `huggingface-cli` command) |
| #!/usr/bin/env python | |
| """ | |
| gpu_monthly_usage_slurm.py - Generate a Monthly GPU Usage Report on Slurm HPC Clusters | |
| Description: | |
| ------------ | |
| This script calculates GPU usage for a specified month on a Slurm-managed | |
| cluster by aggregating GPU-hours for each user. It can read sacct output | |
| directly (and optionally save it) or load pre-saved sacct data from a file. |
| #!/usr/bin/env python | |
| """ | |
| Scraper script for emuparadise.me | |
| Forked from https://gist.github.com/fopina/8d2ce0b0b03f34e117dd | |
| Modified to support roms with multiple download links like Dreamcast games. | |
| Usage | |
| ===== |
| /* | |
| Forked from https://gist.github.com/p0kR/95e05e689be4e59b1b8fb6e383b9e25a | |
| After purchasing a humble book bundle, go to your download page for that bundle. | |
| Open a console window for the page and paste in the below javascript | |
| this fork downloads all formats and does so without using jquery (since that didnt work for me) | |
| note that if you are in chrome, chrome will not download the pdfs for you by default, to fix this | |
| Settings (chrome://settings) --> Advanced --> Privacy and security --> Content settings --> PDF documents --> Download PDF files instead of automatically opening them in Chrome --> Turn ON |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env ruby | |
| # | |
| # Syntax: | |
| # $ cookbook_name_from_directory.rb [DIRECTORY] | |
| # | |
| require 'stringio' | |
| require 'chef/cookbook/metadata' |
| # metadata.rb | |
| # This metadata.rb example reads the dependencies from Berksfile.lock. This can | |
| # be used to implement the Environment Pattern with Chef Server. | |
| # | |
| # The Environment Cookbook: | |
| # http://blog.vialstudios.com/the-environment-cookbook-pattern/ | |
| name 'my_face' | |
| # [...] |
| def recipe_block_run(&block) | |
| @run_context.resource_collection = Chef::ResourceCollection.new | |
| instance_eval(&block) | |
| Chef::Runner.new(@run_context).converge | |
| end | |
| def recipe_block(description, &block) | |
| recipe = self | |
| ruby_block "recipe_block[#{description}]" do | |
| block do |
| # encoding: UTF-8 | |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # More info at http://berkshelf.com/#the-berksfile | |
| source 'https://supermarket.chef.io' | |
| my_cookbook = ::File.basename(Dir.pwd).sub(/[-_]?cookbook$/, '') | |
| # Berkshelf helper to include a local cookbook from disk. |
| # encoding: UTF-8 | |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # | |
| # Available Rake tasks: | |
| # | |
| # $ rake -T | |
| # rake clean # Clean some generated files | |
| # rake default # Run doc, style, unit and integration tests |