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 -e | |
# Distro: Ubuntu 14.04.2 LTS | |
# Derived from https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu | |
# Builds the dependencies in parallel prior to starting FFmpeg build. | |
sudo apt-get update | |
sudo apt-get -y --force-yes install \ | |
autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev \ |
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 -e | |
# Distro: Amazon Linux AMI release 2015.03 | |
# Derived from https://trac.ffmpeg.org/wiki/CompilationGuide/Centos | |
# Builds the dependencies in parallel prior to starting FFmpeg build. | |
sudo yum update -y | |
sudo yum install -y autoconf automake cmake freetype-devel gcc gcc-c++ git libtool make mercurial nasm pkgconfig zlib-devel yasm libogg libvorbis-devel libvpx-devel |
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
import java.util.Random; | |
public final class RandomNameGenerator { | |
/** | |
* Get a random full name. | |
* @param rand The rand instance. | |
* @return The full name. | |
*/ | |
public static String getFullName(Random rand) { | |
return getFirstName(rand) + " " + getLastName(rand); |
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
import java.util.Random; | |
public final class RandomCourseNameGenerator { | |
/** | |
* Get random course name from The University of Texas at San Antonio Spring 2016 course catalog. | |
* @param rand The rand instance. | |
* @return The course name. | |
*/ | |
public static String getRandomCourse(Random rand) { |
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
export PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/lib/pkgconfig | |
export PATH=/usr/bin:$PATH | |
export LDFLAGS=-L/usr/lib64:/usr/lib | |
export LD_LIBRARY_PATH=/usr/lib64:/usr/lib | |
export CPPFLAGS=-I/usr/include | |
PREFIX=/usr | |
sudo yum-config-manager --enable epel | |
sudo yum -y update && sudo yum -y upgrade |
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
using Microsoft.Win32; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading; | |
public class Program | |
{ | |
private const string REG_KEY = @"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system"; |