jq is useful to slice, filter, map and transform structured json data.
brew install jq
#!/usr/bin/awk -f | |
# This program is a copy of guff, a plot device. https://github.com/silentbicycle/guff | |
# My copy here is written in awk instead of C, has no compelling benefit. | |
# Public domain. @thingskatedid | |
# Run as awk -v x=xyz ... or env variables for stuff? | |
# Assumptions: the data is evenly spaced along the x-axis | |
# TODO: moving average |
By default when Nginx starts receiving a response from a FastCGI backend (such as PHP-FPM) it will buffer the response in memory before delivering it to the client. Any response larger than the set buffer size is saved to a temporary file on disk.
This process is outlined at the Nginx ngx_http_fastcgi_module page manual page.
# The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited | |
# | |
# Current known FCC address ranges: | |
# https://news.ycombinator.com/item?id=7716915 | |
# | |
# Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft | |
# | |
# In your nginx.conf: | |
location / { |
In a perfect world, where things are done well, not just quickly, I would expect to find the following when joining the company:
Documentation
Accurate / up-to-date systems architecture diagram
Accurate / up-to-date network diagram
Out-of-hours support plan
Incident management plan
Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-extracted-values, akamai-x-get-nonces, akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-serial-no |
* = $7c ; zeropage boot-up (for VICE) | |
sei ; no interupts, no flickering | |
sty $d011 ; background frame is now everywhere | |
cpy $d012 ; wait for next raster line | |
bne *-3 ; | |
sty $d020 ; set fullscreen color | |
iny ; wait 2 lines (looks best) | |
iny ; | |
bvc *-10 ; loop quickly |
# blender_version_save.py (c) 2013 Scott Wilson (ProperSquid) | |
# | |
# ***** BEGIN GPL LICENSE BLOCK ***** | |
# | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# |
# script to map 1, 2, 3 to vertex, edge, face selection for 3dview | |
import bpy | |
wm = bpy.context.window_manager | |
if True: | |
deactivate_list = ['ONE', 'TWO', 'THREE'] | |
view3d_km_items = wm.keyconfigs.default.keymaps['3D View'].keymap_items | |
for j in view3d_km_items: | |
if j.type in deactivate_list and j.name == 'Layers': |