Skip to content

Instantly share code, notes, and snippets.

View rockstar2046's full-sized avatar

R rockstar2046

  • 天朝
View GitHub Profile
@rockstar2046
rockstar2046 / bj-unicom-iptv.m3u
Created February 16, 2024 15:47 — forked from sdhzdmzzl/bj-unicom-iptv.m3u
北京联通iptv列表
#EXTM3U name="bj-unicom-iptv"
#EXTINF:-1,CCTV1
rtp://239.3.1.1:8000
#EXTINF:-1,CCTV2
rtp://239.3.1.2:8004
#EXTINF:-1,CCTV4
rtp://239.3.1.4:8216
#EXTINF:-1,CCTV7
rtp://239.3.1.7:8024
#EXTINF:-1,CCTV9
@rockstar2046
rockstar2046 / chatpdf-zh.ipynb
Created May 10, 2023 16:06 — forked from ninehills/chatpdf-zh.ipynb
ChatPDF-zh.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rockstar2046
rockstar2046 / Manjaro_init.sh
Created May 14, 2019 12:23 — forked from corerman/Manjaro_init.sh
Manjaro 安装后的操作
0. 安装
# 启动时选择第二项boot(non-free),Manjaro自带的驱动精灵会帮你安装好所需驱动,笔记本双显卡则会帮你安装bumblebee
driver boot(non-free)
如果是WIndows+Manjaro双系统安装,
步骤可以参考:https://my.oschina.net/langxSpirit/blog/1633384
@rockstar2046
rockstar2046 / nginx.conf
Created September 12, 2016 10:06 — forked from Stanback/nginx.conf
Example Nginx configuration for adding cross-origin resource sharing (CORS) support to reverse proxied APIs
#
# CORS header support
#
# One way to use this is by placing it into a file called "cors_support"
# under your Nginx configuration directory and placing the following
# statement inside your location block(s):
#
# include cors_support;
#
# A limitation to this method is that Nginx doesn't currently send headers
@rockstar2046
rockstar2046 / jstatd.sh
Created August 1, 2016 07:26 — forked from nicerobot/jstatd.sh
Run jstatd w/o error 'access denied (java.util.PropertyPermission java.rmi.server.ignoreSubClasses write)'
#!/bin/sh
policy=${HOME}/.jstatd.all.policy
[ -r ${policy} ] || cat >${policy} <<'POLICY'
grant codebase "file:${java.home}/../lib/tools.jar" {
permission java.security.AllPermission;
};
POLICY
jstatd -J-Djava.security.policy=${policy} &