Skip to content

Instantly share code, notes, and snippets.

@fredwangwang
fredwangwang / fix_assasin_creed_sound_files.py
Last active June 29, 2020 05:55
Assassin's Creed won't launch when installed on drives other than 'C:\'. Eventually found a working solution here: https://steamcommunity.com/app/582160/discussions/0/1483235412214825118/. This script is basically a automated process for it
import ctypes
import glob
import os
import shutil
import sys
# make sure you are *only* running this script in assasin's creed installation folder!!
# 在运行之前,确保这个文件在刺客信条的安装目录!! 否则可能会破坏其他重要文件
dest_path = 'C:\\ac_sound_files\\'
---
name: bosh-tutorial-deployment
releases:
- {name: ardo_app, version: latest}
stemcells:
- alias: default
os: ubuntu-xenial
version: 97.22
@fredwangwang
fredwangwang / upload_large_file.go
Last active October 29, 2018 02:36
Example of multipart upload large file without write file content to disk or mem first, using https://github.com/fredwangwang/formcontent
package main
import (
"github.com/fredwangwang/formcontent"
"net/http"
"log"
"io/ioutil"
"fmt"
)