Skip to content

Instantly share code, notes, and snippets.

View 3van's full-sized avatar
💭
oh wow i can set a status now

Evan Kinney 3van

💭
oh wow i can set a status now
View GitHub Profile
@3van
3van / gist:80412e422cd40cd564daa653b5bb4a5e
Created September 13, 2016 10:06
Sony TGS PS4 Rap Lyrics
WOW! NEW! DESIGN! YEAH!
WOW! NEW! PRICE! YEN!
WOW! WOW! LINEUP! NOW!
featuring tofubeats, and RYO-Z and PES!
Tobashiteko or in soaring
WOW! PLAY IT! PLAY IT! NOW!
Feeling Final Fantasy XV This is FF
Evolution continued but finally Jugo open world has been Do Where'd you go?
command:
echo -e "$SCRDASH\\n\\tDate:\\t$(date)\\n\\tDistro:\\t$(cat /etc/redhat-release)\\n\\tKernel:\\t$(uname -r)\\n\\tNode:\\t$(uname -n)\\n";for lib in /lib*/security/pam_*.so;do echo -e "$SCRDASH\\n$lib: (provided by \"$(yum -q --disablerepo=* provides $lib | head -n1 | awk '{print $1}')\")\\n$SCRDASH\\n\\t----- versioned PAM syms -----\\n$(readelf -s $lib | grep LIBPAM_1.0)\\n\\t----- is libpam DT_NEEDED? -----\\n $(readelf -d $lib | grep libpam.so)\\n";done
-------------------------------------------------------------------------------
Date: Fri Mar 4 17:20:04 EST 2016
Distro: CentOS release 6.7 (Final)
Kernel: 2.6.32-573.8.1.el6.x86_64
Node: evkinn-centos6-x8664.unx.sas.com
-------------------------------------------------------------------------------
Author: Evan Kinney <[email protected]>
Date: Fri Jan 8 14:20:33 2015 -0400
The 3.19 kernel release got rid of the f_dentry macro and also made the nameidata struct private to fs/namei.c.
These changes cause Parallels Tools (v10.2.0.28956) to completely fail to build (specifically, prl_fs and prl_tg).
diff -ur A/prl_fs/SharedFolders/Guest/Linux/prl_fs/file.c B/prl_fs/SharedFolders/Guest/Linux/prl_fs/file.c
--- A/prl_fs/SharedFolders/Guest/Linux/prl_fs/file.c 2015-03-03 05:43:20.000000000 -0500
+++ B/prl_fs/SharedFolders/Guest/Linux/prl_fs/file.c 2015-04-10 21:22:24.021000000 -0400
@@ -19,7 +19,7 @@
@3van
3van / OSCON 2014 Keynote Song List
Last active August 29, 2015 14:04 — forked from anonymous/-
OSCON 2014 Keynote Song List
What Else Is There? • Royksopp
Say Hello Deep Dish
Starry Eyed Surprise Paul Oakenfold
Theme from Mission: Impossible Danny Elfman
Getaway Bryan Adams
Globetrotter Jean Michel Jarre
Let's Face the Music and Dance Diana Krall
Free Faith Hill
The Arrival of the Queen of Sheba The Englist Concert - Pinnock
Sledgehammer Peter Gabriel

Keybase proof

I hereby claim:

  • I am 3van on github.
  • I am 3van (https://keybase.io/3van) on keybase.
  • I have a public key whose fingerprint is B191 E077 E48A F335 FCD9 C31F 98CD 59B1 2E44 0437

To claim this, I am signing this object:

SITESERVER=ID=8394047462814727b10f5e3d31e34e9f;
SITESERVER_SESSION=ID=8394047462814727b10f5e3d31e34e9f;
GAFed_Identity=9dphbC5OzAb9/BqDJj8tcHKo4xu4e+Nkn2yJPvxmBrKd+669zy6uKpShmivE7XAZMWmONE30T/ALCQY1n+ba7g==;
eds=m1vmyzmmvaogsgnvglk34hxa;
eSupportSegment=s=bsd&c=us&l=en&cs=04;
lwp=c=us&l=en&cs=04;
mbox=check#true#1395336167|session#1395336106699-682418#1395337967|PC#1395336106699-682418.17_08#1396545708;
s_c49=c%3Dus%26l%3Den%26s%3Dbsd%26cs%3D04;
s_cc=true;
gpv_pn=us%7Cen%7Cbsd%7C04%7Cesupport-mysupport%7Chome%7Cindex%7C~%2Fareas%2Fmse%2Fviews%2Fproductselector%2Fselectioncontrol.cshtml;
[root@overlord ICOM-Firmware-3.10.42]# ls
ICOM-ApplicationImage-01-33-00.bin ICOM-BootImage-01-20-00.bin
[root@overlord ICOM-Firmware-3.10.42]# file ICOM-ApplicationImage-01-33-00.bin
ICOM-ApplicationImage-01-33-00.bin: gzip compressed data, from Unix, last modified: Wed Apr 24 02:52:40 2013
[root@overlord ICOM-Firmware-3.10.42]# file ICOM-BootImage-01-20-00.bin
ICOM-BootImage-01-20-00.bin: u-boot legacy uImage, Linux Multiboot-Image, Linux/PowerPC, Multi-File Image (gzip), 3319729 bytes, Mon Aug 13 09:15:20 2012, Load Address: 0x00000000, Entry Point: 0x00000000, Header CRC: 0xDCFCAA34, Data CRC: 0x61524C9D
[root@overlord ICOM-Firmware-3.10.42]# /root/u-boot/tools/mkimage -l ICOM-BootImage-01-20-00.bin
Image Name: Linux Multiboot-Image
Created: Mon Aug 13 09:15:20 2012
Image Type: PowerPC Linux Multi-File Image (gzip compressed)
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
name="Glyph.BPAC"
type="win32"
processorArchitecture="x86"
version="3.0.0.16" />
// ------------------------------------------------------------------------
<?php
//snmp_read_mib("/usr/share/snmp/mibs/Printer-MIB.txt");
print_r(getStatus("10.17.12.238"));
//softResetPrinter("10.17.12.238");
//print_r(getStatus("10.17.12.238"));
print_r(getCounters("10.17.12.238"));
//print_r(getPrinterInformation("10.17.12.238"));
//print_r(getPrinterStatus("10.17.12.238"));
@3van
3van / build_nss.sh
Last active December 10, 2015 13:08
#!/bin/bash -eu
NSPR_VERSION=4.9.4
build_libnspr() {
prereq "libnspr" \
"ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.9.4/src/nspr-4.9.4.tar.gz"
quiet pushd "$ROOTDIR/source/libnspr/mozilla/nsprpub"
if needsconfigure $@; then