Skip to content

Instantly share code, notes, and snippets.

import argparse
import queue
import sys
from matplotlib.animation import FuncAnimation
import matplotlib.pyplot as plt
import numpy as np
import sounddevice as sd
# -*- encoding: utf-8 -*-
=begin
#Albion Online Data API
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v2
Generated by: https://github.com/swagger-api/swagger-codegen.git
20:45:20 **** Incremental Build of configuration Nios II for project ossc ****
make all
Info: Building ../sys_controller_bsp/
C:/intelFPGA_lite/18.1/nios2eds/bin/gnu/H-x86_64-mingw32/bin/make --no-print-directory -C ../sys_controller_bsp/
[BSP build complete]
Info: Linking sys_controller.elf
riscv32-unknown-elf-g++ -Wl,--gc-sections --specs=nano.specs -nostartfiles -T'link.riscv.ld' -L../sys_controller_bsp/ -Wl,-Map=sys_controller.map -DENABLE_AUDIO -DOSDLANG_JP -Os -Wall -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -Wno-packed-bitfield-compat -fdata-sections -ffunction-sections -fshort-enums -fgnu89-inline -march=rv32emc -mabi=ilp32e -o sys_controller.elf obj/default/it6613/EDID.o obj/default/it6613/HDMI_TX.o obj/default/it6613/hdmitx_nios2.o obj/default/it6613/it6613.o obj/default/it6613/it6613_drv.o obj/default/it6613/it6613_sys.o obj/default/memory/flash.o obj/default/memory/sdcard.o obj/default/ossc/av_controller.o obj/default/ossc/avconfig.o obj/default/ossc/controls.o ob
@renegadeandy
renegadeandy / query.rb
Created March 31, 2017 21:20 — forked from adavia/query.rb
Answers query
question.answers.includes(:submission, :answer_phone).order("answer_phone.created_at desc")
.joins(:answer_choice).where("answer_choice.choice_id": params[:choice_id])
@renegadeandy
renegadeandy / query.rb
Created March 31, 2017 21:20 — forked from adavia/query.rb
Answers query
question.answers.includes(:submission, :answer_phone).order("answer_phone.created_at desc")
.joins(:answer_choice).where("answer_choice.choice_id": params[:choice_id])
WARNING in ./~/ssh2shell/lib/ssh2shell.js
Critical dependencies:
602:28-35 require function is used in a way in which dependencies cannot be statically extracted
@ ./~/ssh2shell/lib/ssh2shell.js 602:28-35
ERROR in ./src/app/services/ssh-service/ssh.service.ts
(43,9): error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.
ERROR in ./src/app/services/ssh-service/ssh.service.ts
(58,6): error TS1128: Declaration or statement expected.
@renegadeandy
renegadeandy / Stack trace
Created March 18, 2016 19:57
Why do I not receive an exception notification email when I get an HTTP 500?
I, [2016-03-18T19:54:21.533284 #5843] INFO -- : Started POST "/seller_profile" for 82.39.113.20 at 2016-03-18 19:54:21 +0000
I, [2016-03-18T19:54:21.540514 #5843] INFO -- : Processing by SellerProfileController#create as HTML
I, [2016-03-18T19:54:21.541192 #5843] INFO -- : Parameters: {"utf8"=>"✓", "authenticity_token"=>"AjqYT3b14hUwehoHdPFS0BFa5ZYJanVdHpisyntZ4IpHdz8G+A+iTY6tu2sTgC+Zgg+OnaT/VbGwTtBzjCmEQg==", "seller_profile"=>{"business_logo"=>#<ActionDispatch::Http::UploadedFile:0x8369eb54 @tempfile=#<Tempfile:/tmp/RackMultipart20160318-5843-11jiufp.jpg>, @original_filename="me.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"seller_profile[business_logo]\"; filename=\"me.jpg\"\r\nContent-Type: image/jpeg\r\n">, "business_name"=>"This is my company name", "business_email"=>"andy@clazzoo.com", "business_phone_number"=>"013133939453", "business_description"=>"Thiss is my company", "business_facebook_url"=>"", "business_twitter_url"=>"", "business_instagram_url"=>"", "bu
@renegadeandy
renegadeandy / renegadeandys_view_html.erb
Created October 13, 2015 11:33
Using a block in form select tag to add classes to the options
<%=f.select :primary_category, class:"newevent form-control input-select check-select", :required=>true do %>
<option class="newevent input-option" selected disabled>Please select one...</option>
<% SubCategory.all.each do |subcat| %>
<%= content_tag(:option, subcat.name, value: subcat.id, class: "newevent input-option") %>
<% end %>
<% end %>
How can I name the routes which have no name here?
listings index page shows but with no alert.