中文乱码的根源在于 windows 基于一些历史原因无法全面支持 utf-8 编码格式,并且也无法通过有效手段令其全面支持。
- 安装
This gets OpenCart running enough that we can use the GUI Installer
./upload/*
to top-level (those are the PHP site files)./ext/zlib.so
extension = /app/www/ext/zlib.so
into php.ini
using System.IO; | |
using Microsoft.Ajax.Utilities; | |
/// <summary> | |
/// Minify javascript files with externally overridable configuration settings. | |
/// </summary> | |
public class ConfigurableJsMinify : StandardFileBundleTransform { | |
protected bool includeFilenamesInOutput; |
#!/usr/bin/env sh | |
# first check to see if mongo service is running. you can't delete any files until the service stops so perform a quick check. | |
launchctl list | grep mongo | |
# NOTE: the pipe | symbol means the commands on the right performs on the output from the left | |
# grep is a string search utility. `grep mongo` means search for the substring mongo | |
# use the unload command to end the mongo service. this is required to 'unlock' before removing the service. | |
# first look for the file to delete | |
MONGO_SERVICE_FILE=$(ls ~/Library/LaunchAgents/*mongodb*) |
Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.
Prerequisites (for Homebrew at a minimum, lots of other tools need these too):
xcode-select --install
will prompt up a dialog)Install Homebrew:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
{ | |
"name": "simple-node-d3", | |
"version": "1.0.0", | |
"description": "Serverside SVG via D3 & jsdom", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "tom.g.pearson@gmail.com", | |
"license": "ISC", |
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
These steps have worked for us on several machines. Every machine is a bit different, so your mileage may vary.
https://jekyllrb.com/docs/installation/macos/
On Windows? I've written up guidance for installing on Windows here.
Some Time there is a shallow update not allowed issue in your cloned GIT repo.
This means that you have to unshallow your repository. To do so you will need to add your old remote again.
git remote add origin <path-to-old-remote>
After that we use git fetch to fetch the remaining history from the old remote (as suggested in this answer).
git fetch --unshallow origin
And now you should be able to push into your new remote repository.
import okhttp3.*; | |
import okio.Buffer; | |
import javax.net.ssl.*; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.security.GeneralSecurityException; | |
import java.security.KeyStore; | |
import java.security.cert.Certificate; | |
import java.security.cert.CertificateFactory; |