UTC: 2017-12-05 18:43 cbadke/jenkins-chocolatey-package
This file is automatically generated by the update_all.ps1 script using the AU module.
#!/bin/sh | |
online=false | |
ping 8.8.8.8 | while read line; do | |
echo "$line" | |
if [[ $line == *"bytes from"* ]]; then | |
if [[ $online = false ]]; then | |
online=true | |
afplay ./dial-up.mp3 |
#!/bin/sh | |
ping $1 | while read line; do | |
echo "$line" | |
if [[ $line == *"bytes from"* ]]; then | |
echo -ne '\007'; | |
fi | |
done |
#!/bin/zsh | |
function replace-default-with-profile { | |
#reads through an aws credentials file, | |
#takes the contents of the profile give in $1 | |
#and copies those credentials into the default profile | |
declare profileName=$1 | |
declare fileName=${2:-~/.aws/credentials} | |
declare profileBody="" |
UTC: 2017-12-05 18:43 cbadke/jenkins-chocolatey-package
This file is automatically generated by the update_all.ps1 script using the AU module.
[user] | |
name = Curtis Badke | |
email = curtis@badkid.ca | |
[diff] | |
renames = true | |
[mergetool] | |
keepBackup = false | |
[log] | |
date = relative |
#install Chocolatey | |
iex (new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1') | |
#install PsGet | |
iex (new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") | |
Install-Module PSReadLine | |
cinst githubforwindows -y | |
cinst gitextensions -y | |
cinst vim -y |
" This is the main file that loads up the other configuration files. | |
if has('win32') || has ('win64') | |
let $VIMHOME = $HOME."/vimfiles" | |
else | |
let $VIMHOME = $HOME."/.vim" | |
endif | |
source $VIMHOME/vundle | |
source $VIMHOME/vimrc_main |
____( \ .-' `-. / )____ | |
(____ \_____ / (O O) \ _____/ ____) | |
(____ `-----( ) )-----' ____) | |
(____ _____________\ .____. /_____________ ____) | |
(______/ `-.____.-' \______) |
I hereby claim:
To claim this, I am signing this object:
This probably isn't quite what you're looking for but...
First off I'm not a 'Java Programmer'. But that doesn't matter much. To get into a language, once you have exposure to languages in the 'family' it doesn't take long to gain the ability to bang away at the problem. You won't know the idioms of the language and you probably wont' know the best way to do certain things but you can find your way around.
Java is part of the C family of languages. C/C++/C#/Java and others all come from the same core and have diverged from each other over time.
For Java syntax people seem to like Java - The Good Parts or others. This StackOverflow question seems to have some appropriate discussion.
Beyond that the trick is to learn the underlying principles of programming. That is what will really get you going in the long run (although it takes longer in th