Skip to content

Instantly share code, notes, and snippets.

View bascht's full-sized avatar
📢
Setting all the statuses.

Sebastian Schulze bascht

📢
Setting all the statuses.
View GitHub Profile
$vagrant box add precise64 http://files.vagrantup.com/precise64_vmware_fusion.box --provider vmware_workstation
Downloading or copying the box...
Extracting box...te: 7385k/s, Estimated time remaining: 0:00:02)
The box you attempted to add doesn't match the provider you specified.
Provider expected:vmware_workstation
Provider of box: vmware_fusion
@bascht
bascht / gist:5246416
Created March 26, 2013 15:42
Maximize a Pane in Tmux
unbind +
bind + new-window -d -n tmux-zoom \; swap-pane -s tmux-zoom.0 \; select-window -t tmux-zoom
unbind -
bind - last-window \; swap-pane -s tmux-zoom.0 \; kill-window -t tmux-zoom
# Version from Superuser.com, combined with chadoh's comment:
# http://superuser.com/questions/238702/maximizing-a-pane-in-tmux/357799#357799
openjpa-javadoc-1.2.2-1.jpp6.noarch.rpm
ops4j-pax-web-javadoc-1.1.4-1.jpp6.noarch.rpm
wiquery-1.5.7-1.jpp6.noarch.rpm
wicket-spring-1.5.8-1.jpp6.noarch.rpm
wicket-javadoc-1.5.8-1.jpp6.noarch.rpm
--> Finished Dependency Resolution
Error: Package: geronimo-jaf-1.0.2-api-1.6-8.jpp6.noarch (codekombinat)
Requires: geronimo-specs = 1.6-8.jpp6
Available: geronimo-specs-1.0-3.4.M2.el6.noarch (base)
geronimo-specs = 1.0-3.4.M2.el6
Installing: geronimo-specs-1.6-6.jpp6.noarch (codekombinat)
geronimo-specs = 1.6-6.jpp6
Error: Package: geronimo-annotation-1.0-api-1.6-8.jpp6.noarch (codekombinat)
Requires: geronimo-specs = 1.6-8.jpp6
Available: geronimo-specs-1.0-3.4.M2.el6.noarch (base)
@bascht
bascht / em.rb
Created June 20, 2012 09:50
Tippspiel. Und so.
#!/bin/env ruby
MATCHES = [
["Tschechien", "Portugal"],
["Deutschland", "Griechenland"],
["Spanien", "Frankreich"],
["England", "Italien"]
]
MATCHES.each do |teams|
…he does his own show ten hours a day
Plays poems and listens let's feelings run free
helps people talk their pain away
So if your world falls down can't see the light of day
Call this guy. Call the station today
This is radio @marcshark listen and cry
to all the others that suffer and die
this is radio @marcshark listen and cry
#!/usr/bin/env ruby
git_bundles = [
"git://github.com/shemerey/vim-peepopen.git",
"git://github.com/astashov/vim-ruby-debugger.git",
"git://github.com/bascht/vim-snipmate.git",
"git://github.com/tomtom/tlib_vim.git",
"git://github.com/MarcWeber/vim-addon-mw-utils.git",
"git://github.com/scrooloose/nerdtree.git",
"git://github.com/timcharper/textile.vim.git",
bascht@baschtmobil [12:28:09] [/tmp/test]
-> % echo "Alter Text" > test1.txt ?
bascht@baschtmobil [12:28:12] [/tmp/test]
-> % echo "Alter Text" > test2.txt ?
bascht@baschtmobil [12:28:16] [/tmp/test]
-> % zip test.txt.zip test*.txt ?
adding: test1.txt (stored 0%)
adding: test2.txt (stored 0%)
bascht@baschtmobil [12:28:18] [/tmp/test]
-> % rm test2.txt ?
@bascht
bascht / PalmBugs.md
Created July 27, 2011 08:36
Palm: List of Bugs

HP Veer Bugs

  • Slider bleibt an den Tasten klemmen
  • Aufweckbutton vom Slider verdeckt
  • Screen Orientation zu wabbelig
  • Lichtsensor scheinbar nur zwei Stufen

WebOS Bugs

  • Keine Uhrzeit auf dem Lock Screen
  • App Menü kaum erreichbar (Meta / Copy / Paste)
  • Navigation immer nur zurück
@bascht
bascht / github.com.js
Created July 19, 2011 22:06
Clean github
$('#header .logo')
.css('display', 'none');
$('#header')
.css('height', '65px');
$('#header .userbox')
.css('float', 'left');
$('#header div.topsearch')