Profile cover photo
Profile photo
Lewis Butler
722 followers -
Don't underestimate me, I'm weirder than you think
Don't underestimate me, I'm weirder than you think

722 followers
About
Lewis's interests
View all
Lewis's posts

Post has attachment

I have the following:

ifconfig_re0="int xx.xx.xx.42 netmask 255.255.255.248"
ifconfig_re0_alias="int xx.xx.xx.45 netmask 255.255.255.255"

When I reboot, the IP takes effect, but not the alias.

Once the system is up, I type:

ifconfig re0 alias xx.xx.xx.45

And the alias works.

(FreeeBSD9.2-RELEASE)

$ traceroute bad.horse
traceroute to bad.horse (162.252.205.157), 64 hops max, 52 byte packets

[local routes]

15  bad.horse (162.252.205.130)  85.424 ms  90.291 ms  89.784 ms
16  bad.horse (162.252.205.131)  91.318 ms  87.890 ms  90.968 ms
17  bad.horse (162.252.205.132)  99.065 ms  98.222 ms  104.830 ms
18  bad.horse (162.252.205.133)  104.486 ms  102.960 ms  97.824 ms
19  he.rides.across.the.nation (162.252.205.134)  100.468 ms  104.398 ms  106.028 ms
20  the.thoroughbred.of.sin (162.252.205.135)  108.686 ms  115.861 ms  113.358 ms
21  he.got.the.application (162.252.205.136)  120.717 ms  122.447 ms  117.280 ms
22  that.you.just.sent.in (162.252.205.137)  118.355 ms  118.336 ms  121.741 ms
23  it.needs.evaluation (162.252.205.138)  123.935 ms  125.715 ms  132.661 ms
24  so.let.the.games.begin (162.252.205.139)  129.932 ms  134.700 ms  131.157 ms
25  a.heinous.crime (162.252.205.140)  136.291 ms  139.147 ms  132.492 ms
26  a.show.of.force (162.252.205.141)  141.752 ms  138.925 ms  144.090 ms
27  a.murder.would.be.nice.of.course (162.252.205.142)  144.934 ms  149.246 ms  145.169 ms
28  bad.horse (162.252.205.143)  151.142 ms  150.033 ms  150.162 ms
29  bad.horse (162.252.205.144)  159.644 ms  157.341 ms  156.412 ms
30  bad.horse (162.252.205.145)  163.044 ms  156.902 ms  158.068 ms
31  he-s.bad (162.252.205.146)  166.326 ms  167.208 ms  166.269 ms
32  the.evil.league.of.evil (162.252.205.147)  170.310 ms  174.140 ms  176.368 ms
33  is.watching.so.beware (162.252.205.148)  177.994 ms  178.327 ms  178.172 ms
34  the.grade.that.you.receive (162.252.205.149)  181.362 ms  187.596 ms  178.434 ms
35  will.be.your.last.we.swear (162.252.205.150)  186.818 ms  185.658 ms  189.356 ms
36  so.make.the.bad.horse.gleeful (162.252.205.151)  199.342 ms  188.956 ms  191.715 ms
37  or.he-ll.make.you.his.mare (162.252.205.152)  192.784 ms  194.637 ms  196.534 ms
38  o_o (162.252.205.153)  201.299 ms *  198.984 ms
39  you-re.saddled.up (162.252.205.154)  204.408 ms  203.519 ms  205.341 ms
40  there-s.no.recourse (162.252.205.155)  212.964 ms  403.048 ms  212.631 ms
41  it-s.hi-ho.silver (162.252.205.156)  213.158 ms  216.176 ms  212.239 ms
42  signed.bad.horse (162.252.205.157)  218.909 ms  216.486 ms  223.166 ms

Post has attachment
Gee, do I really have 300GB of GMail? (Yes, everything from Google Drive is synced)
Photo

Parse "name of TV Series - S01E02 - Name of episode" into iTunes meta data. you will have to set your own character counts for the series you are fixing, but that is easy. Or you can do it programmatically without much effort (not worth it for me, I only had on series to do).

tell application "iTunes"
repeat with thetrack in selection
set longName to name of thetrack
set video kind of thetrack to TV show
set name of thetrack to ((characters 31 through -1 of longName) as text)
set show of thetrack to ((characters 1 through 29 of longName) as text)
set myEp to (((characters 26 through 27 of longName) as text) as integer)
set episode number of thetrack to myEp
set mySeason to (((character 24 of longName) as text) as integer)
set season number of thetrack to mySeason
set seasonID to "S" & text -2 of "00" & (season number of thetrack as text)
set episodeID to "E" & text -2 of "00" & (episode number of thetrack as text)
set episode ID of thetrack to seasonID & episodeID
end repeat
end tell

(works under iTunes 12.2.1 for OS X, and probably other untested versions)

Post has attachment

Post has attachment

David Lee Roth slowed down from 45rpm to 33rpm.

When my wife was getting her masters degree I used LaTeX (via BBEdit) to format all her papers for her classes. The results were so good that the professors wanted to know how she'd done them. Seriously, you have no idea how bad a job Word does on a basic document until you see what LaTeX is capable of. The first time you see a LaTeX documenting footnotes, you will be tempted to delete Word from your machine.

And really, basic documents are super simple, no more complicated than markdown.

I have very little need for formatted documents, but when I need to do something like write an important letter, I do it in LaTeX just because the output is so much better looking, and I think people react to a beautifully rendered document even if they aren't concious of it.

Wait while more posts are being loaded