I hereby claim:
- I am prehensilecode on github.
- I am prehensilecode (https://keybase.io/prehensilecode) on keybase.
- I have a public key ASA97l831aYgYr301QTZYegfhmwZcAQl0ce9eidljz2R7go
To claim this, I am signing this object:
package main | |
import ( | |
"flag" | |
"fmt" | |
"github.com/chrislusf/glow/flow" | |
"github.com/dgruber/ugego/pkg/accounting" | |
"os" | |
"strings" | |
) |
#!/usr/bin/python | |
### Change all node categories | |
from sys import exit | |
import os | |
# import Bright Cluster Manager bindings | |
import pythoncm |
--- setup.py.orig 2012-07-20 16:03:50.000000000 -0400 | |
+++ setup.py 2017-02-22 10:56:13.558487862 -0500 | |
@@ -49,6 +49,14 @@ | |
if not (sys.version_info[0] >= 2 and sys.version_info[1] >= 4): | |
exit_with_error("You need Python 2.4 or greater to install PyTables!") | |
+# Version comparison | |
+# cribbed from: https://zxq9.com/archives/797 | |
+def ver_tuple(z): | |
+ return tuple([int(x) for x in z.split('.') if x.isdigit()]) |
#include <stdio.h> | |
#include <complex.h> | |
int main(void) | |
{ | |
float complex c = 3.0 + 4.0 * I; | |
long d; | |
d = c; | |
printf ("%f %+fi\n", creal(c), cimag(c)); |
#include <omp.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <math.h> | |
#define K 1024l | |
#define MEG 1048576l | |
#define GIG 1073741824l |
I hereby claim:
To claim this, I am signing this object:
import pip | |
# get installed modules (aka "distributions") | |
for m in pip.get_installed_distributions(): | |
print(m.version) |
--- ./slaves.sh 2017-10-04 14:40:05.607320037 -0400 | |
+++ /mnt/HA/opt/apache/spark/2.2.0/sbin/slaves.sh 2017-10-04 14:24:55.986020350 -0400 | |
@@ -80,20 +80,29 @@ | |
fi | |
fi | |
- | |
- | |
# By default disable strict host key checking | |
if [ "$SPARK_SSH_OPTS" = "" ]; then |
A | B | C | D | E | |
---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | |
6 | 7 | 8 | 9 | 10 | |
11 | 12 | 13 | 14 | 15 | |
16 | 17 | 18 | 19 | 20 |
# start a guest in headless mode | |
vboxmanage startvm guestvmname --type headless | |
# add a nic (number 2) to guest, setting it to be on the host-only network, and make it a virtio device | |
vboxmanage modifyvm guestvmname --nic2 hostonly --nictype2 virtio --hostonlyadapter2 vboxnet0 | |
# remove nic number 2 | |
vboxmanage modifyvm guestvmname --nic2 none | |
# turn on host i/o cache - needed for the virtual disk on ext4 on older kernels |