Skip to content

Instantly share code, notes, and snippets.

@silveringsea
silveringsea / README.md
Created September 6, 2018 03:15 — forked from e7d/README.md
[Debian] Build a Squid anonymous proxy from source code

If you don't want to build Squid from scratch, you can simply Setup a Squid anonymous proxy

Build a Squid anonymous proxy from source code

Please note that this whole manual refers to the version 3.5.23 of Squid. You probably would have to adapt some commands to the version you will actually download.

Table of contents

通过本地镜像安装 ambari

###修改 hostname

##修改 master 的 hostname
# vim /etc/hostname
master
@silveringsea
silveringsea / testapp.cpp
Created September 16, 2012 14:14 — forked from roxlu/testapp.cpp
Light Rays 0.1 - create VBO
// create VBO
VertexP* vertex_data = plane_data.getVertexP();
glGenBuffers(1, &plane_vbo); eglGetError();
glBindBuffer(GL_ARRAY_BUFFER, plane_vbo); eglGetError();
glBufferData(GL_ARRAY_BUFFER, sizeof(VertexP) * plane_data.size(), vertex_data, GL_STATIC_DRAW); eglGetError();