Skip to content

Instantly share code, notes, and snippets.

View rclements's full-sized avatar

Robby Clements rclements

  • JailCore
  • Staunton, VA
View GitHub Profile
Calagyh always knew he would be a part of the "#{faith_leader_name}"
He was so eager to learn, grow, and become like leaders of the past.
He had one problem though. He had an inate ability to drive the teachers
around him crazy with the amount of questions he would ask and talk way too
much when he should be silent. The teachers came up with the idea to send Calagyh
on a much needed Sabbatical. Maybe the time alone would help him reflect on his...personality.
Ever the eager one he was enthused with the idea if it meant being closer to becoming a "#{faith_leader_name}".
Calagyh set off on his own to a cabin in the woods the Leaders pointed him towards. He ate alone,
slept alone, and lived every moment alone for what felt like an eternity. One late night, Calagyh
sat next to his bed praying the same as he did numerous times a day. Longing just for the hint of
<?xml version="1.0" encoding="utf-8"?>
<inmates>
<inmate>
<permanent_id>98681</permanent_id>
<jacket_number>98681</jacket_number>
<book_number>2006006577</book_number>
<last_name>DOKES</last_name>
<first_name>WILLY</first_name>
<middle_name>GUY</middle_name>
<ssn>411-13-7709</ssn>
cd Z:/Interfaces/JailCore
echo "Beginning JailCore Image Upload"
for file in *.Xml; do
curl -X PUT http://app.jailcore.com/upload_sams_data -F "file=@/"Z:/Interfaces/JailCore/$file";filename=$file;type=image/png" -F "jail_id=35"
done
find . -name "*.Jpg" -mmin -2880|while read fname; do
curl -X PUT http://app.jailcore.com/upload_sams_image -F "image=@/"Z:/Interfaces/JailCore/$fname";filename=$fname;type=image/png" -F "jail_id=35"
done
(=0cc26c) [email protected] ~/js/frontend> bin/run
INFO: Using docker socket (/var/run/docker.sock) rather than docker-machine's VM.
INFO: If you get certificate errors pulling from the docker repo try this command to add the public cert to your Mac's keychain
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain src/main/config/gistrepo.pub.crt
frontend_dbtest_1 is up-to-date
frontend_solrtest_1 is up-to-date
frontend_db_1 is up-to-date
frontend_rserve_1 is up-to-date
static class ViewHolder {
TextView prescriptionDosage;
TextView prescriptionName;
TextView prescriptionDoses;
TextView prescriptionDescription;
Button acceptButton;
Button rejectButton;
ImageView flagImage;
}
private class PrescriptionAdapter extends ArrayAdapter<Prescription> {
PrescriptionAdapter(Prescription[] prescriptions) {
super(PrescriptionActivity.this, R.layout.prescription_list_row, R.id.prescription_name, prescriptions);
}
@Override
public View getView(int position, View convertView, ViewGroup parent) {
convertView = super.getView(position, convertView, parent);
<%= check_box_tag user.id, {}, user.shared_problems.find(:first, :conditions => ["user_week_event_id = ?", @event.id]).nil? ? false : true, :onclick => remote_function(:url => toggle_share_user_path(@event), :with => "'user_id=#{user.id}&checked=' + this.checked") %>
function removeTime(schedule_map_id, time_id, week, day) {
url = '/admin/schedule_maps/' + schedule_map_id + '/schedule_map_weeks/' + time_id
div = '#time_list_' + week + '_' + day
jQuery.ajax({
beforeSend: function(xhr) {xhr.setRequestHeader('X-CSRF-Token', $('meta[name="csrf-token"]').attr('content'))},
url: url,
type: 'delete',
dataType: 'json',
success: function(response) {
03-28 13:08:56.191 2196-2196/com.isotope11.rccontroller I/art﹕ Rejecting re-init on previously-failed class java.lang.Class<org.jruby.util.JRubyFile>
03-28 13:08:56.217 2196-2196/com.isotope11.rccontroller D/AndroidRuntime﹕ Shutting down VM
--------- beginning of crash
03-28 13:08:56.218 2196-2196/com.isotope11.rccontroller E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.isotope11.rccontroller, PID: 2196
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/headius/options/Option;
at org.jruby.util.cli.Options.string(Options.java:212)
at org.jruby.util.cli.Options.<clinit>(Options.java:57)
at org.jruby.RubyInstanceConfig.initGlobalJavaVersion(RubyInstanceConfig.java:1858)
at org.jruby.RubyInstanceConfig.<clinit>(RubyInstanceConfig.java:1619)
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'next_serial' in 'field list': INSERT INTO {webform} (nid, next_serial, confirmation, confirmation_format, redirect_url, status, block, allow_draft, auto_save, submit_notice, submit_text, submit_limit, submit_interval, total_submit_limit, total_submit_interval, progressbar_bar, progressbar_page_number, progressbar_percent, progressbar_pagebreak_labels, progressbar_include_confirmation, progressbar_label_first, progressbar_label_confirmation, preview, preview_next_button_label, preview_prev_button_label, preview_title, preview_message, preview_message_format, preview_excluded_components) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9, :db_insert_placeholder_10, :db_insert_placeholder_11, :db_insert_placeholder_12, :db_insert_p