How to remove all ruby gems that are not "default" gems in ruby 2
https://gist.github.com/jsitarski/5511964

JBB: An Artblog!

ellievsbear
I'd rather be in outer space 🛸
h

Discoholic 🪩

Andulka
Acquired Stardust
taylor price

tannertan36
todays bird
hello vonnie

pixel skylines

PR's Tumblrdome
Keni
No title available
No title available
DEAR READER
ojovivo
Jules of Nature
PUT YOUR BEARD IN MY MOUTH
seen from New Zealand
seen from Gibraltar

seen from United States

seen from United Kingdom

seen from Japan

seen from Türkiye

seen from France
seen from United States

seen from Australia
seen from Malaysia
seen from United States

seen from Malaysia

seen from United Kingdom

seen from Türkiye

seen from United States

seen from Vietnam
seen from United States

seen from Poland

seen from United Kingdom

seen from Türkiye
@codemudgeon-blog
How to remove all ruby gems that are not "default" gems in ruby 2
https://gist.github.com/jsitarski/5511964
Using Git reset to undo your most recent commit
Whoops, I just made a commit but I forgot to checkout the branch for the feature first. Â Now that I committed stuff I shouldn't have, what to do?
Since I did not push anything, this is not a problem.
To roll back to the last commit I used:
git reset --soft HEAD~1
This undid the most recent commit and put me back to the previous revision. Â See the example below:
[jsitarski@macbook 11:29 ~/src]$ git status # On branch group_annotations # Changes not staged for commit: # (use "git add ..." to update what will be committed) # (use "git checkout -- ..." to discard changes in working directory) # # modified: pom.xml # no changes added to commit (use "git add" and/or "git commit -a") [jsitarski@macbook 11:36 ~/src]$ git add . [jsitarski@macbook 11:36 ~/src]$ git commit -m "No don't do that" [group_annotations 2f77203] No don't do that 1 files changed, 2 insertions(+), 2 deletions(-) [jsitarski@macbook 11:37 ~/src]$ git status # On branch jpa_annotations_for_groups nothing to commit (working directory clean) [jsitarski@macbook 11:37 ~/src]$ git reset --soft HEAD~1 [jsitarski@macbook 11:38 ~/src]$ git status # On branch group_annotations # Changes to be committed: # (use "git reset HEAD ..." to unstage) # # modified: pom.xml #
Google code prettify to highlight syntax in code samples
Below is an example of a google code prettify.js highlighted ruby code snippet:
require 'rake/testtask' task :default => [:test] ENV["WEBDRIVER_URL"] = "http://192.168.56.101:8080/wd/hub" Rake::TestTask.new do |t| t.libs << "test" t.test_files = FileList['test/test*.rb'] t.verbose = true t.ruby_opts = ["-rubygems"] end
You can check the project out for yourself at http://code.google.com/p/google-code-prettify/.
First Post
This is my first post. Â Boom!