smbpasswd -r YOUR.DOMAIN.COM -U YOUR_USERNAME
This will mean you don’t need to find a windows box every time your password expires if you only use say Outlook webmail in a windows environment.
smbpasswd -r YOUR.DOMAIN.COM -U YOUR_USERNAME
This will mean you don’t need to find a windows box every time your password expires if you only use say Outlook webmail in a windows environment.
nslookup -type=srv _ldap._tcp.dc._msdcs.YOUR.DOMAIN.COM
I was creating a Jar via the Java API’s and I couldn’t get it to run my main class:
$ java -jar foo.jar
Error: Invalid or corrupt jarfile foo.jar
Running it via the class path worked fine:
$ java -cp foo.jar Bar
Hello world!
So now I knew it was something to do with the manifest file but it wasn’t being caused by
So after scratching my head for a while I tried comparing a working jar with the failing jar:
left (Ctrl+Super+Left):
wmctrl -r :ACTIVE: -e 0,0,0,1280,1032
right (Ctrl+Super+Right):
wmctrl -r :ACTIVE: -e 0,1280,0,1280,1032
My .gitconfig contains
[user]
email = dan@bodar.com
name = Daniel Worthington-Bodart
[color]
ui = true
[alias]
ci = commit
co = checkout
st = status -sb
nuke = !git checkout -f && git clean -f -d
[push]
default = current
Nat Pryce pointed out these gems:
Precedence:
“The precedence of an infix operator is determined by the operator’s first character.”
Associativity
“The associativity of an operator is determined by the operator’s last character”
This actually made me cry.
As I got quoted recently in “Scala — 1★ Would Not Program Again” I though I finally should write up a little Wat moment we had recently:
So does anyone know “wat” the following Scala code returns? (Value and Type)
List(1,2,3).toSet()
A Set<Int> containing 1,2,3?
Nope how about I give you a clue, there are 2 bugs in this one line:
Yup you guessed it, it returns:
dconf reset -f /org/gnome/gnome-panel/
killall gnome-panel
An alternative approach to just doing CSV export (which is fast and more cross platform/app) is to use web queries (.iqy files that point to fairly HTML) or data queries (.dqy extension but point to the DB)
Pro
Cons
echo 'enabled=0' | sudo tee /etc/default/apport