Resources for learning web design & front-end development:
ONLINE
Design
Resources for learning web design & front-end development:
ONLINE
Design
#!/usr/bin/env sh | |
# Download lists, unpack and filter, write to stdout | |
curl -s https://www.iblocklist.com/lists.php \ | |
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \ | |
| xargs wget -O - \ | |
| gunzip \ | |
| egrep -v '^#' |
// Just before switching jobs: | |
// Add one of these. | |
// Preferably into the same commit where you do a large merge. | |
// | |
// This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
// and then it quickly escalated into more and more evil suggestions. | |
// I've tried to capture interesting suggestions here. | |
// | |
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
# if the 4th field is 'SRV', then strip trailing dots, set the output field separator to comma and print accordingly | |
awk '$4 ~ /SRV/ {gsub(/\.( |$)/, " "); OFS = ","; print "srv-host=" $1,$8,$7,$5,$6}' netlogon.dns |
#!/bin/bash | |
# ---------------------------------------------------------------------------- | |
# "THE BEER-WARE LICENSE" (Revision 42): | |
# <[email protected]> wrote this file. As long as you retain this notice you | |
# can do whatever you want with this stuff. If we meet some day, and you think | |
# this stuff is worth it, you can buy me a beer in return Blagovest Petrov | |
# ---------------------------------------------------------------------------- | |
# The script fixes the "no iKVM64 in java.library.path" bug with the SuperMicro | |
# iKVM Java S**t. You can do an alias of it, like: "alias javaws=/usr/local/bin/launchikvm" |
This guide is a best-effort to configure a system with just debootstrap.
It has been updated so as not to be actively incorrect as of June 2022, when I realized it was still being used, but it was first written in 2015 and I can't guarantee that it's not missing essential parts of the process.
If it breaks, you get to keep both pieces
user:live
(if needed, it will probably automatically login)ip a
. If you're using ethernet it should already be connected, otherwise you'll need to configure interfaces(5)
and probably wpa_supplicant(8)
#/etc/mactab | |
--- | |
lan0 00:11:22:33:44:01 | |
wan0 00:11:22:33:44:02 |
2017-03-03 fm4dd
The gcc compiler can optimize code by taking advantage of CPU specific features. Especially for ARM CPU's, this can have impact on application performance. ARM CPU's, even under the same architecture, could be implemented with different versions of floating point units (FPU). Utilizing full FPU potential improves performance of heavier operating systems such as full Linux distributions.
These flags can both be used to set the CPU type. Setting one or the other is sufficient.