Skip to content

Instantly share code, notes, and snippets.

View stevenaanen's full-sized avatar

Steven Aanen stevenaanen

View GitHub Profile
@DavideMontersino
DavideMontersino / crediCardDownload.js
Created May 22, 2018 09:51
ING bankieren afschrift creditcard downloaden
// AT Ing, they say they cannot let you download an extract of your
// credit card expenses because it is impossible given how the system was built.
// But I needed to be able to do it, so I just spent an hour doing it.
function ConvertToCSV(objArray) {
var array = typeof objArray != 'object' ? JSON.parse(objArray) : objArray;
var str = '';
for (var i = 0; i < array.length; i++) {
var line = '';
@DawidMyslak
DawidMyslak / vue.md
Last active April 22, 2024 12:49
Vue.js and Vuex - best practices for managing your state

Vue.js and Vuex - best practices for managing your state

Modifying state object

Example

If you have to extend an existing object with additional property, always prefer Vue.set() over Object.assign() (or spread operator).

Example below explains implications for different implementations.