Skip to content

Instantly share code, notes, and snippets.

View bitmori's full-sized avatar
🧭

新房 森人 bitmori

🧭
  • 未満工房
  • Da'at
View GitHub Profile
@bitmori
bitmori / README.md
Last active March 16, 2025 20:11 — forked from ioExpander/batterySaver.1m.sh
SwiftBar plugin to save your ARM based macbook's battery by limiting charging to 80% using the battery CLI.
@bitmori
bitmori / settings.jsonc
Last active December 25, 2024 05:16 — forked from killshot13/settings.jsonc
vscode配置
{
// 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.
@bitmori
bitmori / sanfrancisco-font.css
Created November 1, 2015 02:33
San Francisco Web Font
/**
* 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");
}
@bitmori
bitmori / github-gist-api.js
Created October 29, 2015 11:51 — forked from techslides/github-gist-api.js
GitHub API to make Gists with Ajax
/*
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"));
@bitmori
bitmori / webpack.config.js
Created October 29, 2015 02:55
Awesome webpack config!
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'
@bitmori
bitmori / gist:0fd199e36ddfb4e21ef9
Created October 22, 2015 03:19 — forked from fabiofl/gist:5873100
Clear Mac OS X's icon cache.
sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \;
@bitmori
bitmori / osx-10.9-setup.md
Created October 18, 2015 01:54 — forked from kevinelliott/osx-10.9-setup.md
Clean Install – Mac OS X 10.9 Mavericks

Mac OS X 10.9 Mavericks

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.

Install Software

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.

Install from App Store