Skip to content

Instantly share code, notes, and snippets.

View claudioap's full-sized avatar

Claudio Pereira claudioap

View GitHub Profile
@claudioap
claudioap / wpa_supplicant v2.3
Created February 25, 2016 00:06
wpa_supplicant logs
wpa_supplicant v2.3
dbus: Register D-Bus object '/fi/w1/wpa_supplicant1'
Providing DBus service 'fi.w1.wpa_supplicant1'.
Providing DBus service 'fi.epitest.hostap.WPASupplicant'.
Successfully initialized wpa_supplicant
dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1)
dbus: fi.w1.wpa_supplicant1.CreateInterface (/fi/w1/wpa_supplicant1)
Initializing interface 'wlp2s0' conf 'N/A' driver 'nl80211,wext' ctrl_interface 'N/A' bridge 'N/A'
rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0
rfkill: initial event: idx=2 type=2 op=0 soft=1 hard=0
/home/claudio/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
/home/claudio/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
Running Steam on arch 64-bit
/home/claudio/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1451690000)
Installing breakpad exception handler for appid(steam)/version(1451690000)
(steam:6498): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
@claudioap
claudioap / bumblebee non-debug log
Created January 30, 2016 21:10
Bumblebee and system logs
Jan 30 19:27:22 RandomHostname bumblebeed[1220]: [ 972.196809] [ERROR]Unloading nvidia driver timed out.
Jan 30 19:27:19 RandomHostname bumblebeed[1220]: rmmod: ERROR: Module nvidia is in use by: nvidia_modeset
Jan 30 19:27:18 RandomHostname bumblebeed[1220]: [ 968.453097] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
Jan 30 19:27:18 RandomHostname bumblebeed[1220]: [ 968.453087] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
Jan 30 19:27:18 RandomHostname bumblebeed[1220]: [ 968.453078] [WARN][XORG] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
Jan 30 19:27:18 RandomHostname bumblebeed[1220]: [ 968.453066] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
Jan 30 19:13:27 RandomHostname bumblebeed[1220]: [ 137.697738] [ERROR]Unloading nvidia driver timed out.
[...] Loop
Jan 30 19:12:35 RandomHostname bumblebeed[1220]: rmmod: ERROR: Module nvidia is in us
@claudioap
claudioap / gist:6aace07870e4f0b685d3
Last active August 29, 2015 14:20
Something's wrong
use std::net;
fn main() {
// let hostname = &"example.com";
// let lookup = std::net::lookup_host(hostname);
// for address in lookup{
// println!("Found this:{}", address);
// }
for host in try!(net::lookup_host("rust-lang.org")) {
@claudioap
claudioap / gist:e12588835913863185d7
Created April 29, 2015 13:50
Lookup hostname rust
use std::net;
fn main() {
let ip4 = net::Ipv4Addr::new(8,8,8,8);
let ip_enum = net::IpAddr(ip4);
let host = net::lookup_addr(ip_enum);
let pointer = &host;
println!("{:?}", pointer);
}