Skip to content

Instantly share code, notes, and snippets.

View dimpurr's full-sized avatar
🏠
Working from home

Dim Chen dimpurr

🏠
Working from home
View GitHub Profile
@dimpurr
dimpurr / debian-to-pve-cn.sh
Last active July 6, 2020 16:05
debian-to-pve in china network env
echo 'should runing as root!'
su root
sed -i 's|security.debian.org/debian-security|mirrors.ustc.edu.cn/debian-security|g' /etc/apt/sources.list
apt update
apt install htop vim openssh-server zsh neofetch
cd /root
git clone https://gitee.com/mirrors/oh-my-zsh.git
cd oh-my-zsh/tools
./install.sh
echo 'neofetch' >> /root/.zshrc
@dimpurr
dimpurr / Dimpurr Cheny Resume Alpha.md
Last active August 5, 2020 09:19
Dimpurr Cheny Resume Alpha

陈旸
Dimpurr Cheny
2000 年,男,活跃在广东/北京/上海

前端工程师,交互设计师
兼修文案和组织策划

主攻前端开发、交互和平面设计,兼有后端开发基础,涉猎数字媒体、影音剪辑和出版,有组织策划和文案经验,善于沟通协作,有团队和项目管理能力。

@dimpurr
dimpurr / pyspider-json2csv.py
Last active October 24, 2017 00:01
Usage: in.json > out.csv
#!/usr/bin/python
# -*- coding: utf-8 -*-
import copy
import json
import fileinput
# tool
def print_list_utf8(list):
print "[",
@dimpurr
dimpurr / Bilibili-macOS-PIPScript.js
Last active October 29, 2016 05:59
Bilibili-macOS-PIPScript
// ==UserScript==
// @name Bilibili-macOS-PIPScript
// @namespace https://gist.github.com/dimpurr/17872d8cae49f6ca2b62a4e12872ceba
// @updateURL https://openuserjs.org/meta/dimpurr/Bilibili-macOS-PIPScript.meta.js
// @version 0.2
// @description Enable PIP(Picture-In-Picture) on macOS for bilibili
// @author Dimpurr
// @include /^http:\/\/www.bilibili.com\/video\/av/
// @include /^http:\/\/bangumi.bilibili.com\/anime\/v/
// @run-at document-end
@dimpurr
dimpurr / keybase.md
Created June 5, 2015 11:15
keybase.md

Keybase proof

I hereby claim:

  • I am dimpurr on github.
  • I am dimpurr (https://keybase.io/dimpurr) on keybase.
  • I have a public key whose fingerprint is B839 A77F 38F4 2BC6 5E19 C4C2 9049 0758 D2DE 9746

To claim this, I am signing this object:

@dimpurr
dimpurr / nullrss.opml
Created August 23, 2014 13:07
(null) 菊苣们的欢快日常 RSS 订阅列表
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>(null) 菊苣们的欢快日常</title>
</head>
<body>
<outline text="(null) 菊苣们的欢快日常" title="(null) 菊苣们的欢快日常">
<outline type="rss" text="欧林猫 - Oling Cat's Home" title="欧林猫 - Oling Cat's Home" xmlUrl="http://olingcat.blogspot.com/feeds/posts/default" htmlUrl="http://olingcat.blogspot.com/"/>
<outline type="rss" text="Nannan - RSS 2.0" title="Nannan - RSS 2.0" xmlUrl="http://nannan.biz/index.php/feed/" htmlUrl="http://nannan.biz/"/>
<?php
$asins = $argv; array_shift($asins);
function fetch_amazon_jp_images($asin)
{
$opts = array(
'http'=>array(
'method'=>"GET",
'header'=>"User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"
)
@dimpurr
dimpurr / nullrule.md
Last active September 11, 2017 12:14
(null) Rules

(null) Rules

本群是一个菊苣们的技术闲聊群,聚集着一群和谐友爱齐心协力打击着吾等渣渣的菊苣们(误)。欢迎将觉得有意思的朋友也拉进来,但是务必保持小圈子的和谐友爱氛围,务必保持小圈子的和谐友爱氛围,因为很重要所以说两遍 ……

某些需要先注意一下的小问题

  • 如果想拉人,请通知管理员。
  • 请不要轻易的 fork (null) 的成员列表。

总之就是要保持聊天记录河蟹