recentpopularlog in

racl101 : data   177

« earlier  
Theme sections · Shopify Help Center
Theme sections contain section specific theme settings. Note, that even though you can statically / manually add sections to different templates using the {%- section -%} tags, that any data added to those settings is STILL SHARED by all the templates that include the section. So, in other words, if you want to have data specific to certain templates which include the sections you need to use something like section blocks whereby you can specify the name of the template for which a portion of data pertains to. Then in your code you can detect the template name and use the data specific to that template.
shopify  documentation  guide  reference  section  theme  development  schema  sections  data  howto  example  toread  tolearn  totry  tounderstand 
august 2018 by racl101
Theme sections · Shopify Help Center
Theme sections contain section specific theme settings. Note, that even though you can statically / manually add sections to different templates using the {%- section -%} tags, that any data added to those settings is STILL SHARED by all the templates that include the section. So, in other words, if you want to have data specific to certain templates which include the sections you need to use something like section blocks whereby you can specify the name of the template for which a portion of data pertains to. Then in your code you can detect the template name and use the data specific to that template.
shopify  documentation  guide  reference  section  theme  development  schema  sections  data  howto  example  toread  tolearn  totry  tounderstand 
august 2018 by racl101
vue-tables-2 - npm
This is a great and easy to use VueJS 2 library / component to create an HTML table in the style of the jQuery DataTables plugin and supports the following:

- Searching / Filtering (for all rows in table with one text field filter or individually for any column via text field filter)
- Dropdown Filtering (for an individual column)
- Ordering
- Loading data through Ajax from an API (and it has a convenient Laravel server example to implement searching /filtering and pagination)
github  project  vuejs  vue2  vue  data  table  datatable  component  library  ajax  searching  ordering  filtering  laravel  server  side  php  laravel5  implementation  documentation  npm  repository 
july 2018 by racl101
How to load default form values into Vue object
Shows how to populate a component's data from data provided to it by a parent component by props.
laracasts  forum  howto  load  form  field  data  component  from  parent  props  example  guide  reference 
may 2018 by racl101
vue.js - VueJs 2.0 - how to listen for `props` changes - Stack Overflow
In short: using watchers is a nice way to let your component know that data provided to it by way of props has changed which can be used to change your component's own data, which btw, is the only way to achieve reactivity. In other words, reactivity won't occur simply by changing the data to provided to the component through props. You need to use a watcher to listen for changes after component instantiation.
stackoverflow  vue  vuejs  vue2  howto  make  component  listen  props  changes  watch  watcher  data  example  guide  reference 
may 2018 by racl101
Computed Properties and Watchers — Vue.js
If you have a reusable Vue component that gets its own data from the values of the props that it's passed by the parent component and you plan to update values of the props from the parent after instantiation then you should use create a watcher for the prop in the reusable component that updates the data of that same component.
vuejs  vue2  vue  watchers  documentation  guide  reference  props  data  toread  tolearn  totunderstand 
may 2018 by racl101
matfish2/vue-tables-2: Vue.js 2 grid components
This is a great and easy to use VueJS 2 library / component to create an HTML table in the style of the jQuery DataTables plugin and supports the following:

- Searching / Filtering (for all rows in table with one text field filter or individually for any column via text field filter)
- Dropdown Filtering (for an individual column)
- Ordering
- Loading data through Ajax from an API (and it has a convenient Laravel server example to implement searching /filtering and pagination)
github  project  vuejs  vue2  vue  data  table  datatable  component  library  ajax  searching  ordering  filtering  laravel  server  side  php  laravel5  implementation  documentation 
may 2018 by racl101
OneWayTech/vue2-datatable: The best Datatable for Vue.js 2.x which never sucks. Give us a star 🌟 if you like it!
This looked promising but a bit over complicated so I went with the Vue Tables 2 component library instead which has a simpler API and appears to be more documented: https://github.com/matfish2/vue-tables-2
github  vue  vuejs  vue2  addon  plugin  data  table  datatable  totry  project  tolearn  tounderstand 
april 2018 by racl101
Chris Albon
Need to read these tutorials. They have really good and practical Pandas and Numpy examples which look nice and are easy to read and understand.
blog  tutorial  chrisalbon  data  science  python  python2.7  pandas  numpy  tutorials  toread  tolearn  totry  tounderstand 
april 2018 by racl101
MySQL 5.7.12 import cannot create a JSON value from a string with CHARACTER SET 'binary' - Stack Overflow
For single , double quoting issue reasons you might elect to encode your database dump containing a column containing a column that holds JSON data (MySQL sees this as blob data). Then you might need to import this dump again. In those cases you can decode the hexadecimal strings using the MySQL CONVERT function into the original string with utf8mb4 encoding.This is how you do it.
stackoverflow  mysql  mysql5.7  mysqldump  dump  blob  data  utf8mb4  column  convert  decode  hexadecimal  howto  example  guide  reference 
april 2018 by racl101
Welcome to Faker’s documentation! — Faker 0.8.12 documentation
This is the equivalent of PHP's Faker library and works for Python 2.7
python  python2.7  faker  library  module  fake  data  documentation  guide  reference 
april 2018 by racl101
numpy.column_stack — NumPy v1.14 Manual
If you're looking to combine different multidimensional numpy arrays (with several rows and columns) into one large array of mixed types, don't use numpy.column_stack method because it will convert all of them to one type (convert ints into strings for example). Rather, use pandas concat method instead, which means you turn each multidimensional array into its own dataframe. This method is only useful if the array's you're combining have the same data type.
numpy  column_stack  method  combine  arrays  python  python2.7  same  data  type  documentation  howto  example  guide  reference 
april 2018 by racl101
python - NumPy array/matrix of mixed types - Stack Overflow
Helps with creating numpy arrays with mixed types. However, if you're looking to combine different multidimensional numpy arrays (with several rows and columns) into one large array of mixed types, don't use numpy.column_stack method because it will convert all of them to one type (convert ints into strings for example). Rather, use pandas concat method instead, which means you turn each multidimensional array into its own dataframe.
stackoverflow  howto  create  numpy  array  mixed  data  types  python  python2.7  example  guide  reference 
april 2018 by racl101
pandas.concat — pandas 0.22.0 documentation
Also, the best way I've found, so far, to merge multiple sets of columns of data with the same name number of rows but different number of columns of different data types while preserving those data types is two convert each set of rows into its own pandas dataframe and then to concatenate those dataframes by axis=1 (columns, use axis=0 for rows) in the order desired, into its own dataframe.
pandas  documentation  guide  reference  howto  concatenate  concat  method  dataframes  columns  preserving  data  type  python  python2.7 
april 2018 by racl101
pandas.DataFrame — pandas 0.22.0 documentation
The famed Pandas dataframe data structure. This is probably one of the most fundamental topics to read before working with Pandas.
pandas  python  python2.7  gettingstarted  dataframes  data  structure  toread  tolearn  tounderstand  fundamental 
april 2018 by racl101
Python Arrays (With Examples)
TLDR; Python Lists are like PHP arrays and Python Dictionaries are like PHP associative arrays.
blog  tutorial  python  arrays  guide  reference  lists  data  structure  python2.7  datastructure 
march 2018 by racl101
php - Laravel Middleware return variable to controller - Stack Overflow
Really good technique showing how to pass a data obtained from a middleware to subsequent middlewares and/or the controller serving the request itself.

Worked for me on Lumen 5.1
stackoverflow  howto  php  example  guide  reference  middleware  pass  data  variable  controller  laravel  laravel5  lumen  lumen5.1 
september 2017 by racl101
« earlier      
per page:    204080120160

Copy this bookmark:





to read