Skip to content

Instantly share code, notes, and snippets.

View EricCat's full-sized avatar

Wes Davies EricCat

  • DesignAShirt
  • Tempe
View GitHub Profile
@EricCat
EricCat / useful_pandas_snippets.md
Created August 4, 2020 05:38 — forked from bsweger/useful_pandas_snippets.md
Useful Pandas Snippets

Useful Pandas Snippets

A personal diary of DataFrame munging over the years.

Data Types and Conversion

Convert Series datatype to numeric (will error if column has non-numeric values)
(h/t @makmanalp)

@EricCat
EricCat / Install NVIDIA Driver and CUDA.md
Created March 21, 2019 01:11 — forked from wangruohui/Install NVIDIA Driver and CUDA.md
Install NVIDIA Driver and CUDA on Ubuntu / CentOS / Fedora Linux OS

Keybase proof

I hereby claim:

  • I am ericcat on github.
  • I am catstar (https://keybase.io/catstar) on keybase.
  • I have a public key whose fingerprint is AF2F 9528 DAC0 428D FF71 617E 92F3 EE32 A091 EC55

To claim this, I am signing this object:

@EricCat
EricCat / NavbarActions.js
Created June 8, 2017 15:21
For line 25, how should I retrieve design data?
import React, { PropTypes } from 'react';
import { CALL_API, Schemas } from '../../middleware/dascommService';
import * as ActionTypes from '../../constants/Editor';
const CSS = require('./Navbar.scss');
export default class NavbarActions extends React.Component {
get className() {
return [ CSS.navbarActions, 'actions', this.props.className ].join(' ').trim();
}
@EricCat
EricCat / entry.js
Created June 25, 2015 02:35
app_test module
// This file automatically gets called first by SocketStream and must always exist
// Make 'ss' available to all modules and the browser console
window.ss = require('socketstream');
ss.server.on('disconnect', function(){
console.log('Connection down :-(');
});
ss.server.on('reconnect', function(){
@EricCat
EricCat / Vagrantfile
Last active August 29, 2015 14:15
ubuntu vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "ubuntu/trusty64"
# Disable automatic box update checking. If you disable this, then
/**
* Game Application
*
* @author Stableflow
* @version 1.0-RC1
*
*/
'use strict';
/**
*