Skip to content

Instantly share code, notes, and snippets.

@halcyonCorsair
halcyonCorsair / keymap.c
Created February 21, 2022 07:21
double O skeebs
/* Copyright 2020 Jay Greco
*
* 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.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

Keybase proof

I hereby claim:

  • I am halcyonCorsair on github.
  • I am halcyoncorsair (https://keybase.io/halcyoncorsair) on keybase.
  • I have a public key whose fingerprint is 86E4 DE00 CAD6 3D63 6030 637C 909D 6C8A C63A B24D

To claim this, I am signing this object:

Mar 16 12:24:08 ip-172-16-1-185 kernel: [16578.500129] BUG: unable to handle kernel NULL pointer dereference at (null)
Mar 16 12:24:08 ip-172-16-1-185 kernel: [16578.500144] IP: [<ffffffff8118f83a>] d_hash_and_lookup+0x5a/0x90
Mar 16 12:24:08 ip-172-16-1-185 kernel: [16578.500155] PGD 1d2294067 PUD 1d0649067 PMD 0
Mar 16 12:24:08 ip-172-16-1-185 kernel: [16578.500164] Oops: 0000 [#3] SMP
Mar 16 12:24:08 ip-172-16-1-185 kernel: [16578.500169] CPU 0
Mar 16 12:24:08 ip-172-16-1-185 kernel: [16578.500172] Modules linked in: xfs veth xt_addrtype xt_conntrack iptable_filter ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag
_ipv4 ip_tables x_tables bridge stp aufs isofs acpiphp
Mar 16 12:24:08 ip-172-16-1-185 kernel: [16578.500202]
Mar 16 12:24:08 ip-172-16-1-185 kernel: [16578.500206] Pid: 11586, comm: docker Tainted: G D 3.2.0-54-virtual #82-Ubuntu
Mar 16 12:24:08 ip-172-16-1-185 kernel: [16578.500214] RIP: e030:[<ffffffff8118f83a>] [<ffffffff8118f83a>] d_hash_and_look

Make a copy of Skype:

  1. Open Finder.
  2. In the sidebar, click Macintosh HD > Applications.
  3. Click Skype to select it.
  4. Press Cmd+C, then Cmd+V to copy and paste Skype.
  5. Skype copy appears.

Change the bundle identifier in the Info.plist file:

# A sample Guardfile
# More info at https://github.com/guard/guard#readme
require 'guard/guard'
require 'mixlib/shellout'
module ::Guard
class Kitchen < ::Guard::Guard
def start
::Guard::UI.info("Guard::Kitchen is starting")
def ec2
Fog::Compute.new(:provider => 'AWS',
:aws_secret_access_key => ENV['EC2_SECRET_KEY'],
:aws_access_key_id => ENV['EC2_ACCESS_KEY'])
end
def tenured? (instance)
instance.created_at && (instance.created_at < Chronic.parse('50 minutes ago'))
end
#!/usr/bin/env ruby
pid = Kernel.fork do
`#{ARGV.join(" ")}`
exit
end
trap(:CHLD) do
print "\n"
exit
Michael 10:54
Perl is the ugly date. Gets the job done but you don't want to use it again if you don't have to
BenjaminA
hey now
she's got great personality
Michael
she's very flexible, too
but you can't help but feel dirty afterwards
[2013-02-14 13:23:03,994][WARN ][transport.netty ] [i-9d7b94c5] exception caught on transport layer [[id: 0xdecfbe8b, /10.176.38.238:53930 :> /10.176.165.64:9300]], closing connection
java.io.StreamCorruptedException: invalid internal transport message format
at org.elasticsearch.transport.netty.SizeHeaderFrameDecoder.decode(SizeHeaderFrameDecoder.java:27)
at org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:422)
at org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.cleanup(FrameDecoder.java:478)
at org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.channelDisconnected(FrameDecoder.java:366)
at org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:102)
at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)
at org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstr
@halcyonCorsair
halcyonCorsair / flac2mp3.sh
Created October 30, 2012 01:56
some randam flac2mp3 script, nfi where I got this from
$ cat /usr/local/bin/flac2mp3.sh
PRESET=$1
DESTDIR=$2
if test "x$PRESET" = "x"; then
PRESET=extreme
fi
if test "x$DESTDIR" = "x"; then
DESTDIR=.