Skip to content

Instantly share code, notes, and snippets.

View liuzhenqi77's full-sized avatar
😴
Sleeping

Zhen-Qi Liu liuzhenqi77

😴
Sleeping
View GitHub Profile
// ==UserScript==
// @name Google Scholar Researcher Page Enhance
// @version 0.1.1
// @description Fetching some useful metadata to save some clicks
// @author Zhen-Qi Liu
// @match https://scholar.google.com/citations?*user=*
// @exclude https://scholar.google.com/citations?*view_op=view_citation*
// @match https://scholar.google.ca/citations?*user=*
// @exclude https://scholar.google.ca/citations?*view_op=view_citation*
// @match https://scholar.google.co.uk/citations?*user=*
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8>
<title>Liquid Particles 3D | spielzeugz.de/lab </title>
<meta name="description" content="HTML5 Demo, particles trapped in a sphere." />
<meta name="keywords" content="html5,canvas,javascript,particles,interactive,velocity,programming,flash" />
<style>
*{
@liuzhenqi77
liuzhenqi77 / all_cycles_k.py
Created November 9, 2018 03:13 — forked from yingqiuz/all_cycles_k.py
find all cycles at length k
# requires python3.6 or above
# requires networkx, matplotlib
import numpy as np
import networkx as nx
import matplotlib as plt
def all_cycles_k_recursive(G, source, k, current_node, visited, cycle, allcycles):
"""
"""
# mark current node as visited