I hereby claim:
- I am ndenev on github.
- I am ndenev (https://keybase.io/ndenev) on keybase.
- I have a public key ASDkQChO8kiX4ROprfybiZdfxOpIwsKTw_mo86lYjVaZxwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
use std::ffi::{CString, CStr}; | |
fn test1() { | |
let i = String::from("test_string1"); | |
let r = CString::new(i).unwrap().as_bytes_with_nul().as_ptr(); | |
let s = unsafe { | |
CStr::from_ptr(r as *const i8).to_string_lossy().into_owned() | |
}; | |
println!("TEST1: {}", s); | |
} |
16:00:23 UTC - mysqld got signal 11 ; | |
This could be because you hit a bug. It is also possible that this binary | |
or one of the libraries it was linked against is corrupt, improperly built, | |
or misconfigured. This error can also be caused by malfunctioning hardware. | |
We will try our best to scrape up some info that will hopefully help | |
diagnose the problem, but since we have already crashed, | |
something is definitely wrong and this may fail. | |
Please help us make Percona XtraDB Cluster better by reporting any | |
bugs at https://bugs.launchpad.net/percona-xtradb-cluster |
package main | |
import ( | |
"errors" | |
"fmt" | |
"io" | |
"log" | |
"os" | |
"time" |
#!/opt/local/bin/python2.7 | |
from __future__ import print_function | |
import yaml | |
import cerberus | |
SCHEMA = ''' | |
document: | |
type: list |
#!/opt/local/bin/python | |
# | |
# Autogenerate Nsnitro exception classes from NITRO API Docs. | |
# Author: ndenev@amazon.com January, 2014 | |
# | |
# Requires: BeautifulSoup for the html parsing | |
# | |
from collections import OrderedDict | |
import argparse |