I hereby claim:
- I am dblalock on github.
- I am dblalock (https://keybase.io/dblalock) on keybase.
- I have a public key ASArwQtIhdozJpppmdhAOiJHgd-DmtilH9vzvxNo_0vazQo
To claim this, I am signing this object:
#include <stdio.h> | |
#include <stdlib.h> | |
#include "vector.h" | |
void vector_init(vector *v) | |
{ | |
v->data = NULL; | |
v->size = 0; | |
v->count = 0; |
#include <stdio.h> | |
#include <stdlib.h> | |
#include "vector.h" | |
void vector_init(vector *v) | |
{ | |
v->data = NULL; | |
v->size = 0; | |
v->count = 0; |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
source "${DIR}/myFileToInclude.sh" | |
source "${DIR}/myOtherFileToInclude.sh" | |
# see http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in |
class formatted_output | |
{ | |
private: | |
int width; | |
ostream& stream_obj; | |
public: | |
formatted_output(ostream& obj, int w): width(w), stream_obj(obj) {} | |
template<typename T> |
function removeIfExists { | |
if [ -e "$1" ]; then | |
echo removing "$1" | |
rm -rf "$1" 2>&1 > /dev/null | |
fi | |
} |
svn rm $( svn status | sed -e '/^!/!d' -e 's/^!//' ) | |
# note that this won't work if there's whitespace in the filenames | |
# http://stackoverflow.com/a/9600437/1153180 |
--E.g., if you have a message selected that has subject and body: | |
-- Subj: Meeting about the Foo! | |
-- Body: whatever | |
--Running this script copies to the clipboard the string: | |
-- [Meeting about the Foo!](message://<some message id>) | |
--If you click on the resulting url, the message opens in Mail | |
-- | |
--Basically, this is for getting links to emails into a todo list / task manager | |
--based on https://www.macstories.net/tutorials/send-selected-mail-message-to-evernote-with-source-url/ |
#!/bin/env/python | |
"""utility functions for running experiments""" | |
import datetime | |
import os | |
import itertools | |
import warnings | |
import numpy as np |
I hereby claim:
To claim this, I am signing this object:
name: tf27 | |
channels: | |
- pytorch | |
- defaults | |
dependencies: | |
- python=2.7 | |
- tensorflow-gpu=1.12.* | |
- keras | |
- numpy | |
- pandas |