Skip to content

Instantly share code, notes, and snippets.

@neocodegs
neocodegs / npm.taobao.sh
Created October 23, 2023 17:06 — forked from lvxianchao/npm.taobao.sh
设置 npm 和 yarn 的镜像源为淘宝镜像源
# ==========================================================
# NPM
# ==========================================================
npm set registry https://registry.npmmirror.com # 注册模块镜像
npm set disturl https://npmmirror.com/mirrors/node # node-gyp 编译依赖的 node 源码镜像
## 以下选择添加
npm set sass_binary_site https://registry.npmmirror.com/mirrors/node-sass # node-sass 二进制包镜像
npm set electron_mirror https://registry.npmmirror.com/mirrors/electron/ # electron 二进制包镜像
# do not rely on specific architecture
BuildArch: noarch
# suppress automatic detection of requirements
AutoReqProv: no
# do not rely on specific architecture
BuildArch: noarch
# suppress automatic detection of requirements
AutoReqProv: no
@neocodegs
neocodegs / gist:df81bcf2047d917f9ad7
Created December 16, 2014 06:45
Fiddler script hide css,js,font
public static RulesOption("Hide CSS")
BindPref("fiddlerscript.rules.HideCSS")
var m_HideCSS: boolean = true;
public static RulesOption("Hide JavaScript")
BindPref("fiddlerscript.rules.HideJavaScript")
var m_HideJavascript: boolean = true;
public static RulesOption("Hide Font")
@neocodegs
neocodegs / designer.html
Last active August 29, 2015 14:06
designer
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-quizzes.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<polymer-element name="my-element">
<template>
<style>
@neocodegs
neocodegs / designer.html
Created September 25, 2014 07:53
designer
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<polymer-element name="my-element">
<template>
<style>
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>