1
0
Fork 0

Update Things I Keep Having To Google

main
will 1 year ago
parent 8b10b3c8c5
commit 19863ca0a2

@ -24,8 +24,7 @@
margin-right: 2rem;
}
ul h2 {
margin-top: -0.4rem;
margin-bottom: 0;
margin: 0;
}
/*ul h2:first-of-type::before {
content: "Articles - "

@ -61,8 +61,9 @@
<tr><td><code>-d 'string'</code></td><td>determines the delimiter string</td></tr>
<tr><td><code>-f n</code></td><td>specifies a field to output, delimited by <code>-d</code></td></tr>
<tr><td><code>sed 's/ */ /g' | cut -d ' '</code></td><td>Piping your thing through this <span title="It's not foolproof, though. Make sure you understand what this is doing so you can adapt it if it breaks.">helps</span> with parsing a lot of Linux commands that output tabular data</td></tr>
<tr><td colspan="2"><h4>xrandr</h4></td></tr>
<tr><td><code>xrandr --output &lt;display name&gt; --brightness &lt;brightness&gt;</code></td><td title="It would definitely for sure be better to change this via the monitor's built-in menus, but that requires navigating both of my monitors' built-in menus.">Janky software-side display brightness setting</td></tr>
<tr><td colspan="2"><h4>misc</h4></td></tr>
<tr><td><code>xrandr --output &lt;display name&gt; --brightness &lt;brightness&gt;</code></td><td title="It would definitely for sure be better to change this via the monitor's built-in menus, but that requires navigating both of my monitors' built-in menus.">Janky software-side display brightness setting with xrandr</td></tr>
<tr><td><code>wget "https://example.com/file.zip" -O temp.zip; unzip temp.zip; rm temp.zip</code></td><td>Bash one-liner to unzip a file from the internet to the current directory</td></tr>
</table>
<h2>Webdev stuff</h2>
<h4>Tables</h4>

Loading…
Cancel
Save