Skip to content

Instantly share code, notes, and snippets.

View roceys's full-sized avatar
🎯
Focusing

roceys roceys

🎯
Focusing
View GitHub Profile
@moelody
moelody / feedbro-locale-zh_CN.json
Last active April 26, 2024 07:56
feedbro中文翻译
{
"meta": {
"manifest_version": 3,
"locale_version": "1.3",
"locale_name": "简体中文",
"locale_type": "zh_CN",
"locale_last_updated": "2020-08-07 18:00:00 UTC",
"locale_author_name": "moelody",
"locale_author_email": "yfsmallmoon@gmail.com",
"locale_source_url": "https://gist.github.com/moelody/3159316ce726fc629fae15278bbce429"
@fhefh2015
fhefh2015 / v.php
Last active February 18, 2019 05:52
抖音无水印下载地址
<?php
/**
* Created by PhpStorm.
* User: aric
* Date: 18/7/10 上午9:34
*/
//获取重定向最终网址
function get_redirect_final_target($url)
{
@sam0737
sam0737 / clock.html
Last active April 25, 2024 12:24
OBS Studio: A HTML page for showing current date and time in the video
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>A simple clock</title>
</head>
<body translate="no" >
@SaulLawliet
SaulLawliet / eleme.py
Last active January 11, 2022 09:22
查询饿了么品牌馆中有哪些是 <真·五折>
# coding: utf-8
import json
import re
import requests
# 替换成你自己的经纬度数据
# 查询方式 打开饿了么官网 -> 开发者模式 -> 输入送餐地址 -> 观察请求 -> 找到经纬度数据
latitude = 31.23978
longitude = 121.49968
@jackeyGao
jackeyGao / crawl_songci_parse.py
Last active December 21, 2023 08:49
全宋词爬虫解析脚本
# -*- coding: utf-8 -*-
'''
File Name: parser.py
Author: JackeyGao
mail: gaojunqi@outlook.com
'''
import sys
import random
import time
import requests
@Explorare
Explorare / com.google.Chrome.mobileconfig
Last active November 28, 2022 05:54
Add local chrome extensions to whitelist in MacOS. https://hencolle.com/2016/10/16/baidu_exporter/
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadContent</key>
<dict>
<key>com.google.Chrome</key>
@bitristan
bitristan / AppUtil.java
Created December 1, 2015 07:02
Check whether app is in background.
import android.app.ActivityManager;
import android.content.ComponentName;
import android.content.Context;
import android.os.Build;
import java.util.List;
public class AppUtil {
private static final int KITKAT_WATCH = 20;
package main
//Usage: vsina http://video.weibo.com/show?fid=1034:0e906d53094c5d231bf09028af8ba9b1
import (
"bufio"
"fmt"
"github.com/astaxie/beego/httplib"
"io"
"io/ioutil"
"net/url"
@mikepenz
mikepenz / bootstrap-table-sample-api.php
Last active November 25, 2022 10:24
Sample API for the bootstrap-table
<?php
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET, POST');
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
require "JSONDB.php";
if(isset($_GET["limit"])) {
$limit = $_GET["limit"];
} else {
git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
npm config delete proxy