Skip to content

Instantly share code, notes, and snippets.

View senagbe's full-sized avatar

Sena Gbeckor-Kove senagbe

View GitHub Profile
INFO interface: error: NFS is reporting that your exports file is invalid. Vagrant does
this check before making any changes to the file. Please correct
the issues below and execute "vagrant reload":
exports:38: path contains non-directory or non-existent components: /Users/sena/Desktop/Docker Playground/harbormaster/smartypants
exports:38: no usable directories in export entry
exports:38: using fallback (marked offline): /
NFS is reporting that your exports file is invalid. Vagrant does
this check before making any changes to the file. Please correct
[{
"Args": [
"-Des.config=/etc/elasticsearch.yml"
],
"Config": {
"AttachStderr": false,
"AttachStdin": false,
"AttachStdout": false,
"Cmd": [
"/elasticsearch/bin/elasticsearch",
@senagbe
senagbe / DEISGCE.md
Last active August 29, 2015 14:04 — forked from andyshinn/DEISGCE.md

Deis in Google Compute Engine

Let's build a Deis cluster in Google's Compute Engine!

Google

Get a few Google things squared away so we can provison VM instances.

Google Cloud SDK

01-19 16:31:31.988 29247-29247/com.timeappsule.threed.testrig W/Resources﹕ Converting to string: TypedValue{t=0x5/d=0x1001 a=2 r=0x7f080025}
01-19 16:31:31.988 29247-29247/com.timeappsule.threed.testrig W/Resources﹕ Converting to string: TypedValue{t=0x5/d=0x1001 a=2 r=0x7f080026}
01-19 16:31:31.988 29247-29247/com.timeappsule.threed.testrig W/Resources﹕ Converting to string: TypedValue{t=0x5/d=0x1001 a=2 r=0x7f080025}
01-19 16:31:31.988 29247-29247/com.timeappsule.threed.testrig W/Resources﹕ Converting to string: TypedValue{t=0x5/d=0x1001 a=2 r=0x7f080026}
01-19 16:31:31.991 29247-29247/com.timeappsule.threed.testrig W/Resources﹕ Converting to string: TypedValue{t=0x12/d=0x0 a=2 r=0x7f09003f}
01-19 16:31:32.018 29247-29247/com.timeappsule.threed.testrig W/Resources﹕ Converting to string: TypedValue{t=0x12/d=0x0 a=2 r=0x7f090040}
01-19 16:31:32.048 29247-29247/com.timeappsule.threed.testrig W/Resources﹕ Converting to string: TypedValue{t=0x12/d=0x0 a=2 r=0x7f090041}
01-19 16:31:32.049 29247-29247/com.
18:25:28: Executing external task 'bootRun'...
:compileJava UP-TO-DATE
:compileGroovy
:processResources
:classes
:findMainClass
objc[15079]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
:bootRun
INFO shizzle.ta.test.Application - Starting Application on Spanky.local with PID 15079 (started by sena in /Users/sena/stash/TimeAppsule/source files/shizzle-ta-test)
INFO org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@52045dbe: startup date [Tue Jul 21 18:25:39 ICT 2015]; root of context hierarchy

Keybase proof

I hereby claim:

  • I am senagbe on github.
  • I am senagbe (https://keybase.io/senagbe) on keybase.
  • I have a public key whose fingerprint is CDDE 8E0E 5D1F DEE1 0689 D07F 2CA2 FEC2 67E2 FC62

To claim this, I am signing this object:

@senagbe
senagbe / splitter.sh
Created February 16, 2022 21:25 — forked from steezeburger/splitter.sh
Bash script for splitting large CSV files into 100 lines while keeping the header.
#!/bin/bash
FILENAME=file-to-split.csv
HDR=$(head -1 ${FILENAME})
split -l 100 ${FILENAME} xyz
n=1
for f in xyz*
do
if [[ ${n} -ne 1 ]]; then
echo ${HDR} > part-${n}-${FILENAME}.csv
fi