This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jun 3 14:01:20 steambox kernel: [ 9944.707062] BUG: soft lockup - CPU#0 stuck for 22s! [Xorg:9150] | |
Jun 3 14:01:20 steambox kernel: [ 9944.707064] Modules linked in: bnep rfcomm bluetooth nls_utf8 nls_cp437 vfat fat loop snd_hda_codec_hdmi coretemp kvm_intel kvm snd_hda_codec_realtek crc32c_intel snd_hda_intel ghash_clmulni_intel snd_hda_codec aesni_intel aes_x86_64 acpi_cpufreq mperf ablk_helper snd_hwdep snd_pcm processor cryptd nvidia(PO) lib80211_crypt_tkip snd_page_alloc wl(PO) lrw snd_timer i2c_i801 lib80211 cfg80211 efi_pstore iTCO_wdt iTCO_vendor_support efivars lpc_ich mfd_core pcspkr evdev psmouse serio_raw mei_me snd i2c_core gf128mul glue_helper soundcore microcode rfkill mei ext4 crc16 jbd2 mbcache hid_generic usbhid hid sg sd_mod crc_t10dif video thermal_sys ahci libahci xhci_hcd ehci_pci ehci_hcd libata scsi_mod button usbcore usb_common e1000e ptp pps_core | |
Jun 3 14:01:20 steambox kernel: [ 9944.707098] CPU: 0 PID: 9150 Comm: Xorg Tainted: P O 3.10-3-amd64 #1 Debian 3.10.11-1st1 | |
Jun |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ dmesg | |
... | |
[ 15.045391] nvidia 0000:01:00.0: irq 46 for MSI/MSI-X | |
[ 15.893417] NVRM: Your system is not currently configured to drive a VGA console | |
[ 15.893420] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver | |
[ 15.893422] NVRM: requires the use of a text-mode VGA console. Use of other console | |
[ 15.893423] NVRM: drivers including, but not limited to, vesafb, may result in | |
[ 15.893423] NVRM: corruption and stability problems, and is not supported. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env julia | |
immutable jl_compileropts | |
build_path::ASCIIString | |
cpu_target::ASCIIString | |
code_coverage::Int8 | |
check_bounds::Int8 | |
int_literals::Int32 | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env julia | |
# We'll be passing structs within structs, so this guy is useful to have around | |
using StrPack | |
# Get our compiler runtime library so that we know magic constants like NSConcreteStackBlock | |
libcompilerrt = dlopen("/usr/lib/system/libcompiler_rt.dylib") | |
# Block_descriptor describes the signature of the wrapped function. Note that we | |
# don't deal with any of the "fancy" features, such as helper initialization functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/status.c b/status.c | |
index deb1b60..175623d 100644 | |
--- a/status.c | |
+++ b/status.c | |
@@ -38,7 +38,7 @@ void status_job_free(void *); | |
void status_job_callback(struct job *); | |
char *status_print( | |
struct client *, struct winlink *, time_t, struct grid_cell *); | |
-void status_replace1(struct client *, char **, char **, char *, size_t, int); | |
+void status_replace1(struct client *, struct format_tree *, char **, char **, char *, size_t, int); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env julia | |
using Base.Test | |
r = RemoteRef() | |
t = @async begin | |
try | |
wait(r) | |
end | |
p = spawn(`sleep 1`); wait(p) | |
@test p.exitcode == 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ julia tests.jl | |
2014-07-29 16:03:42.920 julia[42508:507] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead. | |
(<unknown>:42508): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion 'source != NULL' failed | |
(<unknown>:42508): GLib-GIO-ERROR **: No GSettings schemas are installed on the system | |
Trace/BPT trap: 5 | |
julia tests.jl took 00:00:22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <sys/socket.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <errno.h> | |
#include <netinet/in.h> | |
#include <sys/types.h> | |
#include <unistd.h> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Compile me with "gcc -o blah blah.c" | |
// Run me with "./blah" | |
#include <stdio.h> | |
typedef struct { | |
float x; | |
int y; | |
int * z; | |
} blah; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env julia | |
using Requests | |
using Gumbo | |
# Use this to find the authenticity_token in the html of the login page | |
function find_authenticity_token(html) | |
authenticity_token = nothing | |
for elem in breadthfirst(html.root) | |
if typeof(elem) <: HTMLElement |