This file contains 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
package net.nabilh.gwtsandbox.client.widgets.form.name; | |
import com.google.gwt.core.client.GWT; | |
import com.google.gwt.editor.client.EditorDelegate; | |
import com.google.gwt.editor.client.ValueAwareEditor; | |
import com.google.gwt.uibinder.client.UiBinder; | |
import com.google.gwt.uibinder.client.UiField; | |
import com.google.gwt.user.client.ui.Composite; | |
import com.google.gwt.user.client.ui.TextBox; | |
import com.google.gwt.user.client.ui.ValueListBox; |
This file contains 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
package net.nabilh.gwtsandbox.client.widgets.form; | |
import com.google.gwt.core.client.GWT; | |
import com.google.gwt.editor.client.IsEditor; | |
import com.google.gwt.editor.ui.client.adapters.ValueBoxEditor; | |
import com.google.gwt.event.logical.shared.ValueChangeHandler; | |
import com.google.gwt.event.shared.HandlerRegistration; | |
import com.google.gwt.uibinder.client.UiBinder; | |
import com.google.gwt.uibinder.client.UiConstructor; | |
import com.google.gwt.uibinder.client.UiField; |
This file contains 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
package net.nabilh.gwtsandbox.client.widgets.form.phone; | |
import com.google.gwt.core.client.GWT; | |
import com.google.gwt.editor.client.*; | |
import com.google.gwt.event.logical.shared.ValueChangeEvent; | |
import com.google.gwt.event.logical.shared.ValueChangeHandler; | |
import com.google.gwt.event.shared.HandlerRegistration; | |
import com.google.gwt.uibinder.client.UiBinder; | |
import com.google.gwt.uibinder.client.UiConstructor; | |
import com.google.gwt.uibinder.client.UiField; |
This file contains 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
package net.nabilh.gwtsandbox.client.widgets.form.phone; | |
import com.google.gwt.core.client.GWT; | |
import com.google.gwt.editor.client.CompositeEditor; | |
import com.google.gwt.editor.client.EditorDelegate; | |
import com.google.gwt.editor.client.LeafValueEditor; | |
import com.google.gwt.event.dom.client.ClickEvent; | |
import com.google.gwt.uibinder.client.UiBinder; | |
import com.google.gwt.uibinder.client.UiConstructor; | |
import com.google.gwt.uibinder.client.UiField; |
This file contains 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
package net.nabilh.ftp; | |
import org.apache.commons.net.PrintCommandListener; | |
import org.apache.commons.net.ftp.FTP; | |
import org.apache.commons.net.ftp.FTPClient; | |
import org.apache.commons.net.ftp.FTPFile; | |
import org.apache.commons.net.ftp.FTPReply; | |
import org.junit.Before; | |
import org.junit.Test; |
This file contains 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
IntelliJ 12 does not support SVN 1.8. | |
To install SVN 1.76 on Linux (tested with Fedora) | |
# Remove SVN 1.8 | |
sudo svn yum remove svn | |
# Download SVN 1.7 sources tar (check version link exists - may have changed) | |
cd /tmp && wget http://apache.mirror.anlx.net/subversion/subversion-1.7.18.tar.gz | |
tar -zxvf subversion-1.7.1.8.tar.gz |
This file contains 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
-- Find all fk columns that reference the specified PK column | |
DECLARE @BASE_TABLE_NAME VARCHAR(255) = 'RD_CLAIM_CLOSURE_REASON' | |
DECLARE @BASE_COLUMN_NAME VARCHAR(255) = 'ID' | |
SELECT r.TABLE_NAME fk_table_name, | |
r.COLUMN_NAME fk_column_name | |
FROM INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE U | |
INNER JOIN INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS FK | |
ON U.CONSTRAINT_CATALOG = FK.UNIQUE_CONSTRAINT_CATALOG | |
AND U.CONSTRAINT_SCHEMA = FK.UNIQUE_CONSTRAINT_SCHEMA |
This file contains 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
# Run these commands in a terminal to install Oracle Virtual Box on Fedora 20 | |
# n.b. this install requires a restart mid-way through | |
# Install Virtual Box Repository | |
su root | |
cd /etc/yum.repos.d/ | |
wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo | |
# Update packages and install dependencies & Virtual Box 4.3 | |
yum update |