https://github.com/js4jiang5/BatteryOptimizer_for_MAC
curl -s https://raw.githubusercontent.com/js4jiang5/BatteryOptimizer_for_MAC/main/setup.sh | bash
https://github.com/js4jiang5/BatteryOptimizer_for_MAC
curl -s https://raw.githubusercontent.com/js4jiang5/BatteryOptimizer_for_MAC/main/setup.sh | bash
{ | |
// vscode全局 彩色设置 | |
// Controls whether bracket pair colorization is enabled or not. Use 'workbench.colorCustomizations' to override the bracket highlight colors. | |
"editor.bracketPairColorization.enabled": true, | |
// Controls whether the editor should render indent guides. | |
"editor.guides.indentation": true, | |
// Controls whether bracket pair guides are enabled or not. | |
// - true: Enables bracket pair guides. | |
// - active: Enables bracket pair guides only for the active bracket pair. | |
// - false: Disables bracket pair guides. |
/** | |
* http://applemusic.tumblr.com/ | |
*/ | |
/** Ultra Light */ | |
@font-face { | |
font-family: "San Francisco"; | |
font-weight: 100; | |
src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-ultralight-webfont.woff2"); | |
} |
/* | |
Assuming jQuery Ajax instead of vanilla XHR | |
*/ | |
//Get Github Authorization Token with proper scope, print to console | |
$.ajax({ | |
url: 'https://api.github.com/authorizations', | |
type: 'POST', | |
beforeSend: function(xhr) { | |
xhr.setRequestHeader("Authorization", "Basic " + btoa("USERNAME:PASSWORD")); |
var path = require('path'); | |
var webpack = require('webpack'); | |
var CommonsChunkPlugin = require('webpack/lib/optimize/CommonsChunkPlugin'); | |
var ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
module.exports = { | |
context: path.join(process.cwd(), 'src', 'client'), | |
entry: { | |
commons: './commons.js', | |
main: './entry.js' |
sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \; |
Custom recipe to get OS X 10.9 Mavericks running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install.
The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.