Posts

javascript - JQuery Virtual Keyboard and Datatables.js search filter box not updating on user input -

i have datatables.js application works allongside jquery virtual keyboard. when using virtual keyboard enter information generated search box, filtered content not work. meaning if have column names , search name(e.g airi) virtual keyboard, information inside datatables not updated. if remove it works. the code using datatable following: $(document).ready(function(){ $('.selectpicker').selectpicker(); $('#example').datatable(); // example virtual keyboard on datatable search // shows keyboard content not filtered function virtualksearch() { $('input[type="search"]').keyboard({ layout: 'qwerty', draggable: true, position: { of : $(window), : 'center bottom', @ : 'center bottom', at2: 'center bottom' }, change: function(e, keyboard, el) { ...

In SQL SERVER, how to see multiple column values in new line -

i have data present in sql server following format sa path_information ------ ------ 1 h drive - h:\baa\c,h drive - h:\caa\d, des- f:\detail ------- ------------- 2 oracle: h:\baa\c, excel: h:\caa\d but, want in sa path_information ---------------- 1 h drive - h:\baa\c h drive - h:\caa\d des - f:\detail ------- ----------- 2 oracle: h:\baa\c excel: h:\caa\d with every path information in on new line of same row. so, can please tell how that? thanks you store line breaks , carriage returns in data, though won't see reflected in ssms. i use both results across many applications, you'd want stick char(13) + char(10) want line break. in case, if commas divider, can replace commas aforementioned 2-character string. you can store such, or query way display purposes. documentation using char: https://docs.microsoft.com...

asset pipeline - Rails bootstrap gem import vs require -

i wanted use in rails project bootstrap framework. used github repository/instruction it: https://github.com/twbs/bootstrap-rubygem . in instruction underlined need change application.css extension css.scss , use import statements (delete all: //= require). how can include in application other css files? require type //= require tree . in case have no idea do. you can still use require_tree . css files included way not compiled sass , not have access sass variables , mixins defined in other files. the recommended solution create 1 single file (say main.scss) , import files require access site-wide sass resources (e.g. bootstrap variables , mixins). import 1 file in application.scss. , can leave require tree . there pick rest of files.

osx - Got permission denied on steamcmd.sh on Mac -

i try upload mac app steam using steamcmd.sh, when try run script, got error: ./steamcmd.sh: line 32: /users/fabioguimaraes/temp/steamworks_sdk/tools/contentbuilder/builder_osx/osx32/steamcmd: permission denied i try run chmod +x steamcmd.sh change file, still got same error. how can correct that?

rstudio - Data frame printing in R Markdown : how to hide column type? -

Image
when print data frame in r markdown (html_document), following table (see image link below) following code : title: "motor trend car road tests" output: html_document: df_print: paged --- ```{r} mtcars ``` is there way hide column types corresponding yellow highligting in image? one option - use dt package. --- title: "motor trend car road tests" output: html_document: df_print: paged --- ```{r} dt::datatable(mtcars) ```

reactjs - Return infinite data from the dribbble API -

i'm making app using data returned dribbble api: http://developer.dribbble.com/v1/ , how return infinite dribbble shots? each shot amount (for example 10 shots) appear in 2 , 2 seconds? know isn't elegant or userful want start , more sophisticated in future. i'm making app using react.js import _ 'lodash'; import react, { component } 'react'; import reactdom 'react-dom'; import dribbble './dribbble'; export default class dribbbles extends react.component { constructor(props) { super(props); this.state = { work: [] }; } componentdidmount() { this.shotlist(); } shotlist() { return $.getjson('https://api.dribbble.com/v1/shots?per_page=3&access_token=<token>&callback=?') .then((resp) => { this.setstate({ work: resp.data.reverse() }); }); } render() { const works = this.state.work.map((val, i) => { return <dribbble dados={val} key={i} /> }); return <ul>{works}...

Open PDF File and Perform Text Search Using excel vba -

i need develop simple excel vba application data validation. have excel files employee information , need validate information against source document ( pdf file(s)). information in excel grouped employee name. is possible write vba script open specified pdf file, allow user perform search of employee name pdf jumps appropriate employee page? (each employee has individual page in pdf document.) once on employee page user review data, make necessary edits excel file , search next employee. i believe can use: sub navigatepdf() thisworkbook.followhyperlink "c:\user\target.pdf" end sub to open pdf file, don't know how issue search excel vba once have file open. can offer suggestions or point me useful resoucres. some additional research yielded application written christos samaras. tool uses excel vba open specified pdf , highlight provided search term. possibly downside requirement adobe pdf pro - code not work acrobat reader. here link , ...