Skip to content

Instantly share code, notes, and snippets.

View floatingstatic's full-sized avatar
💭
🚫⏰4️⃣🐂💩

Jeremiah Millay floatingstatic

💭
🚫⏰4️⃣🐂💩
  • Fastly
  • Keene, NH
View GitHub Profile
@wmealing
wmealing / C-states.md
Last active October 8, 2025 11:12
What are CPU "C-states" and how to disable them if needed?

To limit a CPU to a certain C-state, you can pass the processor.max_cstate=X option in the kernel line of /boot/grub/grub.conf.

Here we limit the system to only C-State 1:

    kernel /vmlinuz-2.6.18-371.1.2.el5 ... processor.max_cstate=1

On some systems, the kernel can override the BIOS setting, and the parameter intel_idle.max_cstate=0 may be required to ensure sleep states are not entered:

@kevin-smets
kevin-smets / iterm2-solarized.md
Last active November 3, 2025 21:25
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@justlaputa
justlaputa / jenkins-api.md
Last active November 20, 2024 11:56
Jenkins Json API

jobs

jenkins_url + /api/json?tree=jobs[name,color]

builds

jenkins_url + /job/${job_name}/api/json?tree=builds[number,status,timestamp,id,result]

last build