Skip to content

Instantly share code, notes, and snippets.

working @

Alice Goldfuss alicegoldfuss

working @
Block or report user

Report or block alicegoldfuss

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
import requests
import json
from import Client
HEADERS = {'Accept': 'application/vnd.github.inertia-preview+json'}
GH_TOKEN = "XXX" # Your auth token from
TW_SID = "XXX" # Your Account SID from
TW_TOKEN = "XXX" # Your Auth Token from
View gist:12e7238d1b387134c037e2eb5af66d87
2. Capture a system profile on the host with something like
sudo perf record -F 99 -a -g -- sleep 30
3. From inside the container (easier to have this running already in another shell) dump the symbols for the Java process with
java -cp attach-main.jar:$JAVA_HOME/lib/tools.jar \
net.virtualvoid.perf.AttachOnce PID
alicegoldfuss / disable_intel_idle.yaml
Last active Jan 18, 2017
disable intel_idle ansible play
View disable_intel_idle.yaml
- hosts: # add hosts list as needed
serial: 1
sudo: true
- name: Copy local grub config to remote host
copy: src=./files/grub dest=/etc/default/grub owner=root group=root mode=0644
- name: Recompile grub config
import newrelic.agent
def add(a, b):
return a + b
def sub(a, b):
return a - b
You can’t perform that action at this time.