Short name | Full name |
---|---|
csr | certificatesigningrequests |
cs | componentstatuses |
cm | configmaps |
ds | daemonsets |
deploy | deployments |
ep | endpoints |
Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Mixpanel Tracking Proxy Demo</title> | |
<script type="text/javascript"> | |
/** | |
* Configuration Variables - CHANGE THESE! | |
*/ | |
const MIXPANEL_PROJECT_TOKEN = YOUR_MIXPANEL_PROJECT_TOKEN; // e.g. "67e8bfdec29d84ab2d36ae18c57b8535" | |
const MIXPANEL_PROXY_DOMAIN = YOUR_PROXY_DOMAIN; // e.g. "https://proxy-eoca2pin3q-uc.a.run.app" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# on os x use brew to get ffmpeg with libfdk_aac | |
brew install ffmpeg --with-fdk-aac | |
# convert and use m4a as file extension | |
find . -name '*.flac' -exec sh -c 'ffmpeg -i "$1" -c:a libfdk_aac -b:a 320k "${1%.flac}.m4a"' _ {} \; |
IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供语言环境和框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。
- https://education.github.com/pack GitHub学生包,需用教育邮箱验证。各种福利,可从DigitalOcean上手
- https://github.com/ripienaar/free-for-dev 本文尽量不与此项目重复
- https://free.zhelper.net/
- https://github.com/AchoArnold/discount-for-student-dev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { counter-reset: h1counter h2counter h3counter h4counter h5counter h6counter; } | |
h1 { counter-reset: h2counter; } | |
h2 { counter-reset: h3counter; } | |
h3 { counter-reset: h4counter; } | |
h4 { counter-reset: h5counter; } | |
h5 { counter-reset: h6counter; } | |
h6 {} | |
h2:before { |
综合类 | 地址 |
---|---|
前端知识体系 | http://www.cnblogs.com/sb19871023/p/3894452.html |
前端知识结构 | https://github.com/JacksonTian/fks |
Web前端开发大系概览 | https://github.com/unruledboy/WebFrontEndStack |
Web前端开发大系概览-中文版 | http://www.cnblogs.com/unruledboy/p/WebFrontEndStack.html |
Web Front-end Stack v2.2 | Web Front-end Stack v2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to quantize 70B model so it will fit on 2x4090 GPUs: | |
I tried EXL2, AutoAWQ, and SqueezeLLM and they all failed for different reasons (issues opened). | |
HQQ worked: | |
I rented a 4x GPU 1TB RAM ($19/hr) instance on runpod with 1024GB container and 1024GB workspace disk space. | |
I think you only need 2x GPU with 80GB VRAM and 512GB+ system RAM so probably overpaid. | |
Note you need to fill in the form to get access to the 70B Meta weights. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @see /usr/include/asm-generic/errno-base.h | |
#ifndef _ASM_GENERIC_ERRNO_BASE_H | |
#define _ASM_GENERIC_ERRNO_BASE_H | |
#define EPERM 1 /* Operation not permitted */ | |
#define ENOENT 2 /* No such file or directory */ | |
#define ESRCH 3 /* No such process */ | |
#define EINTR 4 /* Interrupted system call */ | |
#define EIO 5 /* I/O error */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mihomo (Clash Meta) 懒人配置 | |
# 版本 V1.4.1-231211 | |
# https://gist.github.com/liuran001/5ca84f7def53c70b554d3f765ff86a33 | |
# 作者: 笨蛋ovo (bdovo.cc) | |
# Telegram: https://t.me/baka_not_baka | |
# 关注我的 Telegram 频道谢谢喵 https://t.me/s/BDovo_Channel | |
# 修改自官方示例规则 https://wiki.metacubex.one/example/#meta | |
# 转载请保留此注释 | |
# 尽量添加了较为详尽的注释,不理解的地方建议对照 虚空终端 (Clash Meta) Docs 进行理解 | |
# 虚空终端 (Clash Meta) Docs 地址: https://wiki.metacubex.one |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public static class ColliderExtensions { | |
public static bool IsVisibleFrom(this Collider collider, Camera camera) | |
{ | |
Plane[] planes = GeometryUtility.CalculateFrustumPlanes(camera); | |
return GeometryUtility.TestPlanesAABB(planes, collider.bounds); | |
} | |
NewerOlder