This file contains hidden or 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
// go get golang.org/x/net/webdav | |
// go run files.go -openbrowser -http=127.0.0.1:9090 | |
package main | |
import ( | |
"context" | |
"flag" | |
"net/http" | |
"log" | |
"fmt" |
This file contains hidden or 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
// | |
// clinfo.m | |
// clinfo | |
// | |
// Created by Darcy Liu on 26/08/2017. | |
// Copyright © 2017 Darcy Liu. All rights reserved. | |
// | |
// clang -fobjc-arc -fmodules clinfo.m -o clinfo |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |