pete starred sindresorhus/got
🌐 Human-friendly and powerful HTTP request library for Node.js
TypeScript 14.2k Updated Sep 27
🌐 Human-friendly and powerful HTTP request library for Node.js
TypeScript 14.2k Updated Sep 27
Toggle pings, remove line-wrapping, unset victim. There's a new option (-P) to hide pings at startup, and a new command (/P) to toggle ping visibility. Pings are sometimes useful to know about but if you don't have a target, they kinda flood. On startup, target is nil and this lets you see everything coming through. I'd miss DMs because the target was set to a channel, so I had to annoy people by telling them that I couldn't see DMs unless they told me that I had them before I had one. So I added this option and then got a screen full of PINGs when I woke up. (Or half full of PINGs and the balance in PONGs.) This makes irc7 usable as a general client for me. Lastly, I removed line-wrapping. I have no use for it. If anyone else cares about this changeset, then maybe it could be an option, but as long as I'm the only one using it, I don't need an option that I'll never enable. khm's C code is a fun read. It has a lot of personality.
Add a readme.
Put the new options into the man page.
initial import
sam-d's anti-buffer-overflow patch
manpage: correctly assign parameters (thanks senthil!)
manpage: syntax fix (thanks senthil!)
conky.config = { | |
border_width = 1, | |
cpu_avg_samples = 2, | |
default_color = 'white', | |
minimum_width = 5, | |
default_graph_width = 200, | |
default_graph_height = 40, | |
default_gauge_width = 200, | |
alignment = 'top_left', | |
background = false, | |
default_outline_color = 'white', | |
default_shade_color = 'CornflowerBlue', | |
draw_borders = false, | |
draw_graph_borders = true, | |
draw_outline = false, | |
draw_shades = false, | |
extra_newline = false, | |
font = '6x13', | |
gap_x = 0, | |
gap_y = 6, | |
minimum_height = 3, | |
net_avg_samples = 2, | |
no_buffers = true, | |
double_buffer = true, | |
out_to_console = false, | |
out_to_stderr = false, | |
own_window = false, | |
own_window_class = 'Conky', | |
own_window_type = 'desktop', | |
show_graph_range = false, | |
show_graph_scale = false, | |
stippled_borders = 0, | |
--update_interval = 10.0, | |
update_interval = 1.5, -- 2.7, | |
uppercase = false, | |
use_spacer = 'none', | |
use_xft = false, | |
color0 = 'fff8e0', | |
color1 = 'ff2222', | |
color2 = '00ee00', | |
color3 = 'bb8833', | |
color4 = '0072ff', | |
color5 = '706c9a', | |
color6 = '00aabb', | |
color7 = 'efef60', | |
color8 = '999999', | |
color9 = 'ff8442', | |
} | |
-- urxvt*background: #000008 | |
-- urxvt*foreground: #fff8e0 | |
conky.text = [[ | |
$color0${no_update $nodename}${execi 90001 echo $DISPLAY} ${no_update $sysname} ${no_update $kernel}/${no_update $machine}$color | |
${color8}Uptime:$color $uptime ${color8}Load:$color ${loadavg} | |
${color0}${time}$color | ${color9}${execi 11 /home/pete/bin/battery}${color} | |
${color8}${tztime America/Los_Angeles}$color | ${color7} $acpitemp°C${color} | $color6 BL: ${execi 13 /home/pete/bin/cbl} | |
${color4}[CPU:$color $cpu% ${freq_g}GHz ${color4}]${hr}$color | |
${color white}${cpugraph 40,270 00e4ff ff4da1 -t}$color | |
${cpugraph cpu1 15,40 224422 0072ff -t} ${cpugraph cpu2 15,40 222244 00aabb -t} ${cpugraph cpu3 15,40 222244 0072ff -t} ${cpugraph cpu4 15,40 224422 00aabb -t} ${cpugraph cpu5 15,40 442222 ff8442 -t} ${cpugraph cpu6 15,40 442222 ff8442 -t} | |
${color8}RAM: $color $mem/$memmax - $memperc% ${membar 4} | |
${color8}Swap:$color $swap/$swapmax - $swapperc% ${swapbar 4} | |
${color4}[FS]${hr}$color | |
${color white}/ $color${fs_used_perc /}% used / ${fs_free /} free | |
${fs_bar 6 /} | |
${color white}/tmp $color${fs_used_perc /tmp}% used / ${fs_free /tmp} free | |
${fs_bar 6 /tmp}${if_mounted /opt/tmp} | |
${color white}/opt/tmp $color${fs_used_perc /opt/tmp}% used / ${fs_free /opt/tmp} free | |
${fs_bar 6 /opt/tmp}${endif}${if_mounted /mnt} | |
${color white}/mnt $color${fs_used_perc /mnt}% used / ${fs_free /mnt} free | |
${fs_bar 6 /mnt}${endif} | |
${color4}[wlan0 $color${wireless_essid wlan0} $color8${addr wlan0}${color4}]${hr}$color | |
[${wireless_link_qual wlan0}] ${wireless_link_bar 8,60 wlan0} (${wireless_link_qual_perc wlan0}%) ${wireless_bitrate wlan0} @ ${wireless_freq wlan0} | |
UP: ${upspeedgraph wlan0 10,150 004da1 ff4da1 -t} ${upspeed wlan0} | |
DOWN: ${downspeedgraph wlan0 10,150 ff00a1 ffffa1 -t} ${downspeed wlan0} | |
${color4}[PS]${hr}$color | |
${color8}Name PID CPU% MEM% | |
${color #fff8e0}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} | |
${color lightgrey}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} | |
${color lightgrey}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} | |
${color lightgrey}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} | |
${color lightgrey}${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5} | |
${color lightgrey}${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6} | |
${color lightgrey}${top name 7} ${top pid 7} ${top cpu 7} ${top mem 7} | |
]] |
bump dependencies to latest
Node MSC over BMC_USB_OTG
increase sleep RK1 flashing * increased the waiting time for the RK1 to announce itself on the USB subsystem. * small typo's and update of dependencies
node_info api rework Changed the data format and implementation of the node_info functionality.
api: added reboot into FEL mode FEL mode is a recovery mechanism of BMC's bootROM.
app_persistency: file open fix An error was logged when there is no persistency file available on the system. Even though the bmcd recover from this quickly, a fix was made so that no attempt is made to open a non existing file.
update ttySx remapping We are planning to remap the tty's devices to match them numerically with the actual nodes. This commit prepares for this change
power_controller: read gpio pins from device tree This commit is part of the effort to move configuration of hardware more closely to the linux platform
power_controller: leds: support latest dts changes A fallback is implemented to support both old and new definitions of the status and power sysfs paths