This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Unity derives Camera Input Component UI from this file | |
using UnityEngine; | |
using System.Collections; | |
namespace Affdex | |
{ | |
/// <summary> | |
/// Provides WebCam access to the detector. Sample rate set per second. Use | |
/// </summary> | |
[RequireComponent(typeof(Detector))] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Find the IAM username belonging to the args.key | |
# Useful for finding IAM user corresponding to a compromised AWS credential | |
# Requirements: | |
# | |
# Environmental variables: | |
# AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY | |
# python: | |
# boto, argparse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# After.bat | |
# Contains a list of computers updated | |
@echo off | |
for /F "tokens=*" %%A in (AfterReboot.txt) do ( | |
echo Processing %%A.... | |
psexec \\%%A cmd /c "start /wait c:\temp\after.bat" | |
) | |
echo Completed | |
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# WARNING | |
# This expects your repository to be in ~/git . If your repository is elsewhere you will need to alter the script. | |
# SYNOPSIS | |
# git_cleanup [repo name] [-xl] | |
# DESCRIPTION | |
# This script allows people to delete (-x) the history of a directory OR destroy (-l) the history of a directory and just |