Skip to content

Instantly share code, notes, and snippets.

@yava555
yava555 / DouBanFMDownloader.py
Created August 22, 2012 10:12
豆瓣红心歌曲下载
# coding: utf-8
from BeautifulSoup import BeautifulSoup
import cookielib
import eyeD3
import json
import os
import re
import urllib
import urllib2
@kennyz
kennyz / kongwu_pi_tips.md
Last active December 25, 2021 12:41
kongwu pi tips

折腾Pi,解决疑难杂症最好还是去官网论坛

image http://www.raspberrypi.org/phpBB3/

支持Apple TimeMachine,实现Mac备份

在磁盘中创建备份目录 mkdir /media/usbdisk/mactimebak 推荐使用ext4分区(打开notime)

安装nettalk

@Kaiyuan
Kaiyuan / baiduyunDLink.php
Last active December 21, 2015 13:59
/?url=百度云下载页面
@suxiaogang
suxiaogang / V2EX.css
Last active June 22, 2022 02:55
V2EX.CSS
* {
font-family: PingFang SC, Helvetica, 'Luxi Sans', 'DejaVu Sans', Tahoma, 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
}
.wwads-cn {
display: none;
}
body {
background-image: none;
@phoenixlzx
phoenixlzx / sniproxy.conf
Last active November 23, 2018 11:26
SNIProxy configuration
# sniproxy example configuration file
# lines that start with # are comments
# lines with only white space are ignored
user daemon
# PID file
pidfile /var/run/sniproxy.pid
resolver {

原文

警告:请务必读完本文!全篇读完!

无论新老用户,都有可能掉进陷阱。 下面我们列出了常见的问题,并解释如何解决他们。 在 Freenode IRC 的 #nginx 频道,我们经常看到这些问题。

[TOC]

@subfuzion
subfuzion / curl.md
Last active April 19, 2025 09:46
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@mmasashi
mmasashi / README.md
Last active March 16, 2025 21:08
Install Oracle instant client (sqlplus) v12.1 on MacOSX

Install Oracle instant client (sqlplus) on MacOSX

  1. Get Oracle instant client for MacOSX
  1. Unarchive downloaded zip files into a same directory
  • ex: $HOME/Downloads/instantclient_12_1
  1. Create install.sh and copy the following code and past it on that file.
@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active April 20, 2025 11:45
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized
@ruanbekker
ruanbekker / dnsmasq.conf
Last active April 3, 2025 17:58
Tinkering with Loki, Promtail, Grafana, Prometheus, Nginx and Dnsmasq
log-queries
log-facility=/var/log/dnsmasq.log
no-resolv
server=8.8.4.4
server=8.8.8.8
address=/router/10.1.1.1
address=/server/10.1.1.2