Yishi Lin

  • Home

  • Archives

  • Dataset

  • Blog

  • Categories

  • Search

WordPress Building Notes

Posted on 2017-01-06 In 瞎折腾

Mark一些搭博客过程中看的东西和踩的坑。

Tutorials

  • How To Install Linux, Nginx, MySQL, PHP (LEMP stack) in Ubuntu 16.04 https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-in-ubuntu-16-04#step-1-install-the-nginx-web-server
  • How To Set Up Nginx Server Blocks (Virtual Hosts) on Ubuntu 16.04 https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-14-04-lts
  • How To Install WordPress with LAMP on Ubuntu 16.04 https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-16-04
  • How To Set Up Automatic Deployment with Git with a VPS https://www.digitalocean.com/community/tutorials/how-to-set-up-automatic-deployment-with-git-with-a-vps (配完以后就可以用git管理wordpress以外的东西了。post-receive里的work-tree和git-dir好像要写绝对路径。)
  • How To Secure Apache with Let’s Encrypt on Ubuntu 16.04 https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-16-04
Read more »

Visualizing Location-based online social networks

Posted on 2016-12-05 In Network Science , Visualization

Goal

  • Explore location-based datasets from SNAP (using loc-gowalla in this post)
  • Learn how to draw maps using R (from StackOverflow and Google haha)

Downloading the dataset

Download the dataset, including the social network and check-in logs. Save the introduction of this dataset.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

url_prefix="https://snap.stanford.edu/data/bigdata/communities"
dir="raw"

mkdir -f $dir

wget http://snap.stanford.edu/data/loc-gowalla_edges.txt.gz -P ${dir}/
wget http://snap.stanford.edu/data/loc-gowalla_totalCheckins.txt.gz -P ${dir}/

gzip -d ${dir}/loc-gowalla_edges.txt.gz
gzip -d ${dir}/loc-gowalla_totalCheckins.txt.gz

wget http://snap.stanford.edu/data/loc-gowalla.html
Read more »

My LeetCode Notebook

Posted on 2015-11-01 Edited on 2016-08-08 In Coding

My LeetCode Notebook in C++.

Read more »

Compiling igraph projects in Visual Studio 2013

Posted on 2015-07-04 In Network Science , Tools

Download

Currently, I am testing igraph-0.7.1-msvc. http://igraph.org/c/#downloads

Compile the igraph library

  1. Open the igraph.sln solution file in igraph-0.7.1-msvc from Visual Studio 2013. Let the Visual Studio convert the solution file for you.
  2. Add a compiler option (for both Debug and Release): Open Project menu -> Properties -> C/C++ -> Command Line. In Additional options, add the following option: “/DPRPACK_IGRAPH_SUPPORT=1” (without the quotes)
  3. Debug -> Build and Release -> Build
Read more »
123
Yishi Lin

Yishi Lin

24 posts
11 categories
25 tags
RSS
GitHub E-Mail
© 2013 – 2021 Yishi Lin
Powered by Hexo v3.9.0
|
Theme – NexT.Gemini v7.3.0