Skip to content

Instantly share code, notes, and snippets.

View ryanlid's full-sized avatar
🎯
Focusing

ryanlid ryanlid

🎯
Focusing
View GitHub Profile
@ryanlid
ryanlid / 微信读书全宽版.user.js
Last active May 23, 2022 03:16
微信读书全宽版
// ==UserScript==
// @name 微信读书全宽版
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://weread.qq.com/web/reader/*
// @grant GM_addStyle
// ==/UserScript==
@ryanlid
ryanlid / cloudSettings
Last active March 18, 2022 13:25
Visual Studio Code Sync Settings Gist
{"lastUpload":"2022-03-18T13:25:24.317Z","extensionVersion":"v3.4.3"}
@ryanlid
ryanlid / youtube-dl.md
Last active October 31, 2020 08:15
youtube-dl 下载设置代理

socks5代理

youtube-dl --proxy socks5://127.0.0.1:1080 https://www.youtube.com/watch?v=6_gLU_OStK0

http代理

youtube-dl --proxy http://127.0.0.1:8118 https://www.youtube.com/watch?v=6_gLU_OStK0
@ryanlid
ryanlid / main.dart
Created February 16, 2020 15:38
ClipPath 路径剪裁
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@ryanlid
ryanlid / main.dart
Created February 16, 2020 15:35
ClipRect 矩形裁剪
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@ryanlid
ryanlid / main.dart
Created February 16, 2020 15:28
ClipRRect 圆角矩形裁剪
import 'package:flutter/material.dart';
void main() {
runApp((MyApp()));
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@ryanlid
ryanlid / main.dart
Created February 16, 2020 15:23
CliOval 圆形剪裁
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@ryanlid
ryanlid / main.dart
Created February 16, 2020 15:20
RotatedBox 旋转盒子
import 'package:flutter/material.dart';
void main() {
runApp(
MyApp(),
);
}
class MyApp extends StatelessWidget {
@override
@ryanlid
ryanlid / main.dart
Created February 16, 2020 15:18
RadialGradient 环形渐变效果
import 'package:flutter/material.dart';
void main() {
runApp(
MaterialApp(
title: "RadizlGradient 环形渐变效果",
home: LayoutDemo(),
),
);
}
@ryanlid
ryanlid / main.dart
Created February 16, 2020 15:12
LinearGradient 线性渐变效果
import 'package:flutter/material.dart';
void main() {
runApp(
MaterialApp(
title: "LinearGradient线性渐变效果",
home: LayoutDemo(),
),
);
}