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
// Command-line dictionary lookup. | |
// | |
// Build with: | |
// clang -framework CoreServices | |
// clang -fobjc-arc -fmodules definition.m -o definition | |
#import <CoreFoundation/CoreFoundation.h> | |
#import <CoreServices/CoreServices.h> |
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
var http = require('http'); | |
var net = require('net'); | |
var url = require('url'); | |
function onRequest(request, response) { | |
console.log('request: ' + request.url); | |
var u = url.parse(request.url); | |
var options = { | |
hostname: u.hostname, |
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/env python | |
# encoding: utf-8 | |
""" | |
openimages_dataset_downloader.py | |
Created by Darcy on 15/11/2016. | |
Copyright (c) 2016 Darcy. All rights reserved. | |
""" | |
import 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
#!/bin/sh | |
# Samba install script for CentOS 7 | |
yum install -y samba samba-client samba-common | |
mv /etc/samba/smb.conf /etc/samba/_smb.conf | |
cat >> /etc/samba/smb.conf << EOF | |
[global] | |
workgroup = WORKGROUP | |
server string = Samba Server %v |
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
com.apple.SharedWebCredentialViewService | |
com.apple.FacebookAccountMigrationDialog | |
com.apple.mobilesafari | |
com.apple.AdSheetPhone | |
com.apple.share | |
com.apple.appleaccount.AACredentialRecoveryDialog | |
com.apple.Preferences | |
com.apple.WebContentFilter.remoteUI.WebContentAnalysisUI | |
com.apple.Passbook | |
com.apple.TrustMe |
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
com.apple.camera | |
com.apple.WebSheet | |
com.apple.AdSheetPhone | |
com.apple.Preferences | |
com.apple.AccountAuthenticationDialog | |
com.apple.social.remoteui.SocialUIService | |
com.apple.MobileAddressBook | |
com.apple.gamecenter.GameCenterUIService | |
com.apple.DataActivation | |
com.apple.TencentWeiboAccountMigrationDialog |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>ACE in Action</title> | |
<link rel="stylesheet" type="text/css" href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/css/bootstrap.min.css"> | |
<style type="text/css" media="screen"> | |
#editor { | |
margin: 10px 0; | |
height: 300px; | |
border-radius: 3px; |
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
curl -o /usr/local/bin/txt2man http://mvertes.free.fr/txt2man/txt2man && chmod 755 /usr/local/bin/txt2man |
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 | |
# Install Spark on CentOS 7 | |
yum install java -y | |
java -version | |
yum install wget -y | |
wget http://downloads.typesafe.com/scala/2.11.7/scala-2.11.7.tgz | |
tar xvf scala-2.11.7.tgz | |
sudo mv scala-2.11.7 /usr/lib | |
sudo ln -s /usr/lib/scala-2.11.7 /usr/lib/scala |
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 | |
# Install mlpack on OSX 10.11 (EI Capitan) | |
curl -O http://tenet.dl.sourceforge.net/project/arma/armadillo-6.500.5.tar.gz | |
tar zxvf armadillo-6.500.5.tar.gz | |
cd armadillo-6.500.5 | |
./configure | |
make | |
make install | |
cd .. |