This file contains hidden or 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
#[derive(Debug)] | |
struct BPM(u32); | |
impl BPM { | |
fn scale(&self, scale: f32) -> BPM { | |
BPM(0) | |
} | |
} | |
fn main() { |
This file contains hidden or 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
# Only push the branch that you're on by default | |
git config --global push.default upstream |
This file contains hidden or 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
'this %{x} is formatted' % {x: 'string'} |
This file contains hidden or 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
#include <iostream> | |
using namespace std; | |
class Point { | |
public: | |
int _x; | |
int _y; |
This file contains hidden or 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
ruby -Itest -e 'ROOT_DIR="/Users/Pete/Documents/web";["../../.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/parallel_tests-899555d6a25a/lib/parallel_tests/test/test_unit_filename.rb", "test/functional/advertisers_controller_test.rb", "test/functional/affiliate_campaigns_controller_test.rb", "test/functional/api/json/advertisers_api_controller_test.rb", "test/functional/api/json/network_integration_api_controller_test.rb", "test/functional/api/xml/affiliate_campaigns_api_controller_test.rb", "test/functional/ctc_controller_test.rb", "test/functional/default_cookie_domain_test.rb", "test/functional/help_controller_test.rb", "test/functional/layout/application_header_test.rb", "test/functional/platform_controller_test.rb", "test/functional/tracked_actions_controller_test.rb", "test/functional/voice_talents_controller_test.rb", "test/helpers/advertiser_campaigns_helper_test.rb", "test/integration/api_routes/affiliate_campaigns_api_routes_test.rb", "test/integration/api_routes/promo_numbers_api_routes_test |
This file contains hidden or 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
import com.typesafe.sbt.SbtStartScript | |
import AssemblyKeys._ | |
assemblySettings | |
seq(SbtStartScript.startScriptForClassesSettings: _*) | |
SbtStartScript.stage in Compile := Unit | |
libraryDependencies ++= Seq( |
This file contains hidden or 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
autocmd VimEnter * if &filetype !=# "haskell" | NERDTree | endif | |
" If you want to add other files it would be (if &filetype !=# "haskell" && &filetype !=# "python") | |
let NERDTreeIgnore = ["\.pyc$"] | |
" If you want to add .class and other files just concatenate like so ["\.pyc$"] + ["\.class$"] or ["\.pyc$", "\.class$"] |
NewerOlder