Skip to content

Instantly share code, notes, and snippets.

View ajtruex's full-sized avatar
💻

Andrew Truex ajtruex

💻
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import Vue from 'vue'
import App from './App.vue'
Vue.use(VueResource);
new Vue({
el: '#app',
render: h => h(App)
})
<template>
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-10">
<br>
<div class="input-group">
<input class="form-control form-control-lg" type="text" v-model="search" placeholder="Search" @keyup.enter.stop="result">
<span class="input-group-btn">
<button type="submit" @click.prevent="result" class="btn btn-primary">Submit</button>
</span>
@ajtruex
ajtruex / 8bit.svg
Last active September 12, 2017 01:43
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
const Nightmare = require('nightmare')
const nightmare = Nightmare({ show: true })
nightmare
.click('input#ctl00_MainContent_btnSubmit')
.click('input#ctl00_MainContent_btnConfirm')
.click('input#Button1')
.end()
.then(function (result) {
console.log(result)

Keybase proof

I hereby claim:

  • I am ajtruex on github.
  • I am ajtruex (https://keybase.io/ajtruex) on keybase.
  • I have a public key ASCBvNd3Ae01ZujJQPagrFIiXNEFaoR7K9d79us-y8FxQwo

To claim this, I am signing this object:

We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 27 columns, instead of 1. in line 4.
"Timestamp","Age","Gender","Country","state","self_employed","family_history","treatment","work_interfere","no_employees","remote_work","tech_company","benefits","care_options","wellness_program","seek_help","anonymity","leave","mental_health_consequence","phys_health_consequence","coworkers","supervisor","mental_health_interview","phys_health_interview","mental_vs_physical","obs_consequence","comments"
2014-08-27 11:29:31,37,"Female","United States","IL",NA,"No","Yes","Often","6-25","No","Yes","Yes","Not sure","No","Yes","Yes","Somewhat easy","No","No","Some of them","Yes","No","Maybe","Yes","No",NA
2014-08-27 11:29:37,44,"M","United States","IN",NA,"No","No","Rarely","More than 1000","No","No","Don't know","No","Don't know","Don't know","Don't know","Don't know","Maybe","No","No","No","No","No","Don't know","No",NA
2014-08-27 11:29:44,32,"Male","Canada",NA,NA,"No","No","Rarely","6-25","No","Yes","No","No","No","No","Don't know","Somewhat difficult","No","No","Yes","Yes","Yes","Yes","No","No",NA
2014-08-27 1
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 5.
"","Timestamp","Age","Gender","Country","family_history","treatment","no_employees","remote_work","tech_company","benefits","care_options","wellness_program","seek_help","anonymity","leave","mental_health_consequence","phys_health_consequence","coworkers","supervisor","mental_health_interview","phys_health_interview","mental_vs_physical","obs_consequence"
"1","2014-08-27 11:29:31",37,"female","United States","No","Yes","6-25","No","Yes","Yes","Not sure","No","Yes","Yes","Somewhat easy","No","No","Some of them","Yes","No","Maybe","Yes","No"
"2","2014-08-27 11:29:37",44,"male","United States","No","No","More than 1000","No","No","Don't know","No","Don't know","Don't know","Don't know","Don't know","Maybe","No","No","No","No","No","Don't know","No"
"3","2014-08-27 11:29:44",32,"male","Canada","No","No","6-25","No","Yes","No","No","No","No","Don't know","Somewhat difficult","No","No","Yes","Yes","Yes","Yes","No","No"
"4","2014-08-27 11:29:46",31,"male","United Kingdom","Yes","Yes","26-100","No","Yes","No","Yes","