Posts

css - Floats affecting other divs? -

i have webpage made here: http://jsfiddle.net/km9hj/ <!doctype html /> <head> <title>home</title> <link href="stylesheet.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="logo"> <img style="width:50; height:50; float:left;" src="content/portal%20layered.png"/> <img style="width:50; height:50; position:relative; left:-50px; z-index:2;" src="content/blank.png"/> <div><h2 id="headerh2">cody shearer</h2></div> </div> <div id="wrapper"> <div style="background-color:#565656"> <div id="links"><a href="home.htm" class="home" id="link">home</a></div> <div id="links"><a href="about%20me.htm" class="aboutme...

archlinux - Cannot get Arch Linux to boot in VirtualBox 5.0 using UEFI -

Image
i have been trying setup arch linux on virtualbox5. after installing, can run reboot command , system reboot fine. if shut system down, system reboot, have hit f12 choose boot manager choose efi hard drive , , boot esp partition. below hard drive printout: also below location of bootx64.efi i use following script install it: https://raw.githubusercontent.com/sittim/configs/master/arch_i i have posted question here: https://bbs.archlinux.org/viewtopic.php?id=211475 . here sequence of startup when f12 pressed: https://raw.githubusercontent.com/sittim/configs/master/arch-2016-04-19t03-26-11-731417000z.webm changing boot order in virtual box did not work me. had eject iso , worked fine.

C++ linked list/polymorphism not running list function -

i have make class shape subclasses specific shapes find volume. have able construct objects , store them in linked list. testing creating 1 object , wondering why not run function cout commands. appreciated. thanks #include <iostream> #include <array> using namespace std; class shape{ public: friend class my_list; shape(double a=0,double b=0 ,double c=0):width(a),height(b),length(c){ } protected: double width; double height; double length; shape *nextptr; }; class rectangle:public shape { public: rectangle(double a, double b,double c):shape(a,b,c){ area = width * length; }; private: double area; }; class circle:public shape { public: circle(double a):shape(a){ area = (radius*radius)*3.14; } protected: double area; double radius; }; class triangle:public shape { public: triangle(double a, double b,double c):shape(a,b,c){ area = .5*width*length; }; protected: double area; ...

javascript - How can I read ".on()" method arguments in jQuery? -

i have no idea how bite problem. below 2 examples working great want avoid dry problem. parentelement.on('focusout', '.foo-class', function () { // console.log('hello foo') }); and: parentelement.on('focusout', '.bar-class', function () { // console.log('hello bar') }); i make more universal. have deal 2 classes while parent stays same. assuming first step: parentelement.on('focusout', classvalue, function () { // how display class can call different stuff depending on class value? // console.log('hello ' + classvalue) }); may along these line, refined guardio's solution. fiddle: https://jsfiddle.net/pvorhknv/2/ what doing here element been called handler , accessing attributes. can use element "this" such use. $(document).on('focusout', 'input', callme); function callme(){ console.log('hello ' + $(this).attr('class').split(...

java - One plus One ADB drives not getting installed -

i not able install adb drivers/oem drivers 1 plus one. i have tried following 3 methods given link , restarted system http://www.technobuzz.net/install-oneplus-one-usb-drivers-windows/ please help i should have posted earlier this bug in opo android lollipop. many devices(not on ) not able connect windows using drivers. fixed in marshmallow. for more details refer: http://www.idigitaltimes.com/downgrade-oneplus-one-cm12-cm11-fix-lollipop-bugs-manual-process-guide-437875

python - write the output of a function to an Excel cell -

i'm trying write output of user defined function cell in excel this works. writes value cell: wb = openpyxl.load_workbook('example.xlsx') sheet = wb.get_sheet_by_name('sheet1') sheet.cell(row=(lastrow+1),column=2).value = random.randint(1,100) wb.save('example.xlsx') but not. cell remains empty: def reader1(): random.randint(1,100) wb = openpyxl.load_workbook('example.xlsx') sheet = wb.get_sheet_by_name('sheet1') sheet.cell(row=(lastrow+1),column=2).value = reader1() wb.save('example.xlsx') i not receive error message in either case. i've tried various ways, cannot work. appreciated, including feedback on formatting of post (my first). thanks you're not returning function, need return value of random.randint have column update it's value. default function returns none def reader1(): return random.randint(1,100)

Access Nuget Packages hosted in private Nuget server in Azure Functions -

how can access nuget packages hosted in private nuget server in azure functions?. there way can specify private nuget server info? thanks! krishh, this possible using nuget.config file would: <?xml version="1.0" encoding="utf-8"?> <configuration> <packagesources> <add key="myprivatefeed" value="http://myhost/myfeed" /> ... other feeds ... </packagesources> <activepackagesource> <add key="all" value="(aggregate source)" /> </activepackagesource> </configuration> using kudu, or deployment method outlined here , copy file either function folder or wwwroot (that apply functions) , config used.