Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Spring cleaning.

- No Atom.
- No TextMate
- Moving CSS-only rules from dotjs to Stylebot.
  • Loading branch information...
commit 49e81d747057041b9ee6dad8109a5a03c5c00bf0 1 parent 3723b58
@trey authored
View
2  README.md
@@ -2,7 +2,7 @@ Inspired by [the Advanced Command Line PeepCode screencast](https://peepcode.com
To set things up:
-1. Move/rename this project's folder to `~/bin/dotfiles`.
+1. Move this project's folder to `~/bin/dotfiles`.
2. Run `rake install` from inside that folder.
[More information about configuring Git.](https://gist.github.com/2722934)
View
21 Rakefile
@@ -8,15 +8,6 @@
'git/gitconfig',
'git/gitexcludes',
'tm/jslintrc',
- 'tm/tm_properties',
-]
-
-@atom_files = [
- 'config.cson',
- 'init.coffee',
- 'keymap.cson',
- 'snippets.cson',
- 'styles.less'
]
# example files to copy before linking
@@ -61,17 +52,6 @@ def link_st2_settings
end
end
-def link_atom_settings
- @atom_files.each do |file|
- if check_file("~/.atom/#{file}")
- puts "~/.atom/#{file} ... already exists\n"
- else
- %x{ln -s ~/bin/dotfiles/atom/#{file} ~/.atom/#{file}}
- puts "~/.atom/#{file} ... LINKED!\n"
- end
- end
-end
-
def link_dotjs
if check_file("~/.js")
puts "~/.js ... already exists. Please delete it if you want to link this version."
@@ -102,7 +82,6 @@ task :install do
link_file(file)
end
link_st2_settings
- link_atom_settings
link_dotjs
setup_zsh
View
33 atom/config.cson
@@ -1,33 +0,0 @@
-'exception-reporting':
- 'userId': 'b55e98f5-a093-fffa-c6ad-3b2cef16de26'
-'release-notes':
- 'viewedVersion': '0.81.0'
-'welcome':
- 'showOnStartup': false
-'metrics':
- 'userId': 'c196893d64c10bba3ea7120091367fd2280907e3'
-'editor':
- 'fontFamily': 'Source Code Pro'
- 'showInvisibles': true
- 'fontSize': 12
- 'tabLength': 4
-'core':
- 'themes': [
- 'unity-ui'
- 'fizzy'
- ]
- 'ignoredNames': [
- '.git'
- '.svn'
- '.DS_Store'
- ]
-'spell-check':
- 'grammars': [
- 'source.gfm'
- 'text.git-commit'
- 'text.plain'
- ]
-'tree-view':
- 'hideIgnoredNames': true
- 'hideVcsIgnoredFiles': true
-'Rdio': {}
View
14 atom/init.coffee
@@ -1,14 +0,0 @@
-# Your init script
-#
-# Atom will evaluate this file each time a new window is opened. It is run
-# after packages are loaded/activated and after the previous editor state
-# has been restored.
-#
-# An example hack to make opened Markdown files always be soft wrapped:
-#
-# path = require 'path'
-#
-# atom.workspaceView.eachEditorView (editorView) ->
-# editor = editorView.getEditor()
-# if path.extname(editor.getPath()) is '.md'
-# editor.setSoftWrap(true)
View
18 atom/keymap.cson
@@ -1,18 +0,0 @@
-# Your keymap
-#
-# Atom keymaps work similarly to stylesheets. Just as stylesheets use selectors
-# to apply styles to elements, Atom keymaps use selectors to associate
-# keystrokes with events in specific contexts.
-#
-# You can create a new keybinding in this file by typing "key" and then hitting
-# tab.
-#
-# Here's an example taken from Atom's built-in keymap:
-#
-# '.editor':
-# 'enter': 'editor:newline'
-#
-# 'body':
-# 'ctrl-P': 'core:move-up'
-# 'ctrl-p': 'core:move-down'
-#
View
15 atom/snippets.cson
@@ -1,15 +0,0 @@
-# Your snippets
-#
-# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
-# expand the prefix into a larger code block with templated values.
-#
-# You can create a new snippet in this file by typing "snip" and then hitting
-# tab.
-#
-# An example CoffeeScript snippet to expand log to console.log:
-#
-# '.source.coffee':
-# 'Console log':
-# 'prefix': 'log'
-# 'body': 'console.log $1'
-#
View
30 atom/styles.less
@@ -1,30 +0,0 @@
-/*
- * Your Stylesheet
- *
- * This stylesheet is loaded when Atom starts up and is reloaded automatically
- * when it is changed.
- *
- * If you are unfamiliar with LESS, you can read more about it here:
- * http://www.lesscss.org
- */
-
-.tree-view {
-
-}
-
-.editor {
-
-}
-
-.editor .cursor {
-
-}
-
-.cursor-line {
-}
-
-.gutter {
-}
-
-.editor .line-number.cursor-line-no-selection {
-}
View
23 js/apod.nasa.gov.js
@@ -1,23 +0,0 @@
-$('body').css({
- 'font': '18px Helvetica, sans-serif',
- 'color': 'rgba(0, 0, 0, 0.8)'
-});
-// Main text description and first subheading at the top of the page
-$('center + p, h1 + p').css({
- 'text-align': 'left',
- 'max-width': '900px',
- 'margin': '20px auto',
- 'line-height': '1.3em'
-});
-// Date above image
-$('h1 + p + p').css({
- 'color': 'rgba(0, 0, 0, 0.2)',
- 'line-height': '2.0em'
-});
-// Image credits below image
-$('center + center').css({
- 'margin': '30px 0'
-});
-$('hr').css({
- 'border': '1px solid rgba(0, 0, 0, 0.1)'
-});
View
14 js/en.wikipedia.org.js
@@ -1,14 +0,0 @@
-$( 'a' ).css({
- 'border-bottom': '1px solid rgba(0, 0, 0, 0.1)'
-});
-
-$( 'a' ).hover( function(){
- $( this ).css({
- 'border-bottom': '1px solid rgba(0, 0, 0, 0.3)',
- 'text-decoration': 'none'
- });
-}, function(){
- $( this ).css({
- 'border-bottom': '1px solid rgba(0, 0, 0, 0.1)'
- });
-});
View
1  js/facebook.com.js
@@ -1 +0,0 @@
-$('.ego_column').hide();
View
2  js/flickr.com.js
@@ -1,2 +0,0 @@
-$('#eyebrow, #hermes-opt-in').hide();
-$('body').removeClass('with-eyebrow');
View
0  js/github.com.js
No changes.
View
97 tm/jslintrc
@@ -1,97 +0,0 @@
-/*
-Options files live in your home directory or project repository, and can be
-written in JSON or YAML. They can be used not just by JSLintMate, but also by
-teammates' lint tools in other editors, continuous integration systems,
-automated testing systems, and more. This is great for helping your team use
-the same coding standards everywhere.
-
-To use this file, save a copy as `~/.jslintrc`. JSLintMate reads JSLint
-options from this path by default, and detects whether it contains JSON or
-YAML. If you want to change this path:
-
- 1. Save a copy of this file where you'd like it. For example:
-
- * If you want to keep a personal set of options, save it outside
- of your project's directory, e.g., `~/Documents/jslint.json`.
- * If you want to share an options file with project collaborators,
- save it in your project's directory, e.g., `config/jslint.json`.
-
- 2. In TextMate's "Bundles" menu, select "Bundle Editor" >
- "Show Bundle Editor" > "JavaScript JSLintMate" > "Options Files".
-
- 3. Change the value for `TM_JSLINTMATE_JSLINT_OPTIONS_FILE` to the path
- for your options file.
-
- If your options file is within your project, the value should start
- with the variable `$TM_PROJECT_DIRECTORY`, e.g.,
- `$TM_PROJECT_DIRECTORY/config/jslint.json`.
-
- 4. Close the "Bundle Editor" window.
-
-Tweak the options in your new options file, and you're done!
-
-NOTE: Not all JSON parsers tolerate comments. If you use this options file with
-tools other than JSLintMate, you might need to remove these comments.
-
-More info:
-- JSLint options: http://www.jslint.com/lint.html#options
-- JSLintMate: http://rondevera.github.com/jslintmate/
-*/
-
-
-{
- /*** Globals ***/
- // To ignore any custom global variables, enable the `predef` option and list
- // your variables within it.
-
- "predef": [
- "$", // jQuery, y'all
- "console",
- "alert"
- ],
-
- /*** Enforcing options ***/
- // Set these to `true` to enforce, or `false` to relax.
- "adsafe": false,
- "safe": false,
-
- /*** Relaxing options ***/
- // Set these to `true` to relax, or `false` to enforce.
- "bitwise": false,
- "cap": false,
- "confusion": true,
- "continue": true,
- "css": true,
- "debug": false,
- "eqeq": false,
- "es5": true,
- "evil": false,
- "forin": false,
- "fragment": true,
- "newcap": false,
- "nomen": true,
- "on": false,
- "plusplus": true,
- "regexp": true,
- "sloppy": true, // ignore "use strict" business
- "sub": false,
- "undef": false,
- "unparam": false,
- "vars": true,
- "white": true,
-
- /*** Environments ***/
- // Set each environment that you're using to `true`.
- "browser": true,
- "devel": false,
- "node": false,
- "rhino": false,
- "widget": false,
- "windows": false,
-
- /*** Miscellaneous ***/
- "indent": 2,
- "maxerr": 50,
- // "maxlen": 80,
- "passfail": false
-}
View
14 tm/tm_properties
@@ -1,14 +0,0 @@
-fontName = "Inconsolata"
-fontSize = 14
-showInvisibles = true
-softWrap = false
-softTabs = true
-tabSize = 2
-
-windowTitle = "$TM_DISPLAYNAME${TM_DIRECTORY/\A(?:\/Users\/trey\/Sites\/[\w-]+\/?(.*)|(.+))\z/${2:? – ${2/\/Users\/trey/~/}:${1/\A(?=.)/ – /}}/}"
-
-[ text.html ]
-softWrap = false
-
-[ text.html.django ]
-tabSize = 4
Please sign in to comment.
Something went wrong with that request. Please try again.