Skip to content

Instantly share code, notes, and snippets.

Victoria Stuart victoriastuart

Block or report user

Report or block victoriastuart

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
victoriastuart / notes.txt
Last active Jul 26, 2017
[Linux] recurse through child directories, searching and replacing text in files (two methods), with optional filename, filename extension matching
View notes.txt
# ----------------------------------------------------------------------------
[victoria@victoria claws_sed_tests]$ date
Fri Jul 7 10:07:39 PDT 2017
View vpn_scripts.txt
VPN Notes, Scripts
Victoria Stuart: Apr 12, 2017
[gmail: Victorias.Linux@ ...]
File: /mnt/Vancouver/Reference/VPN/vpn notes, scripts.txt
Saved 2017-Apr-12 as public Gist:
View weather.html
<!DOCTYPE html>
<html lang="en-us">
Example derived from:
<meta charset="utf-8" />
View tag_file.txt
PROBLEM: tag a file, at the top of the file, with the base name of the parent directory.
SOLUTION 1 -- non-empty files:
$ bn=${PWD##*/} ## bn: basename
$ sed -i '1s/^/'"$bn"'\n/' <filename>
SOLUTION 2a -- empty files:
victoriastuart /
Last active Jul 26, 2017
Caffe - age, gender CNN with image crop ...
#!/usr/bin/env python
# coding: utf-8
This code is originates with the paper:
Gil Levi and Tal Hassner, "Age and Gender Classification Using Convolutional Neural Networks,"
IEEE Workshop on Analysis and Modeling of Faces and Gestures (AMFG), at the IEEE Conf. on
Computer Vision and Pattern Recognition (CVPR), Boston, June 2015
View caffe_installation_notes.txt
Caffe Installation Notes
[2016-Nov-21] Arch Linux x86_64 | Intel Core i7-4790 CPU | ...
* Caffe home page:
* GitHub:
# coding: utf-8
# -----
# /mnt/Vancouver/apps/Webcam-Face-Detect/
# --------------
# * outputs webcam to screen and finds faces, eyes
# * writes webcam video to *.avi file (MJPG codec) via OpenCV/FourCC
You can’t perform that action at this time.