Remove duplicates from an array of objects in JavaScript

Nice and clean if you only want to remove objects with a single duplicate value, not so clean for fully duplicated objects.

export const uniqueArray = arr => {
return Object.values(
arr.reduce((acc, cur) => Object.assign(acc, { [cur.id]: cur }), {}),
);
};

https://stackoverflow.com/questions/2218999/remove-duplicates-from-an-array-of-objects-in-javascript

How to remove a big file wrongly committed

I added a large file to a git repository (102Mb), commited and push and got an error due to size limit limitations on github

remote: error: GH001: Large files detected. You may want to try Git Large File Storage – https://git-lfs.github.com. remote: error: Trace: 7d51855d4f834a90c5a5a526e93d2668 remote: error: See http://git.io/iEPt8g for more information. remote: error: File coverage/sensitivity/simulated.bed is 102.00 MB; this exceeds GitHub’s file size limit of 100.00 MB

Here, you see the path of the file (coverage/sensitivity/simualted.bed). 

So, the solution is actually quite simple (when you know it): you can use the filter-branch command as follows:

git filter-branch –tree-filter ‘rm -rf path/to/your/file’ HEAD git push

Sistem de navigație tti 7501i cu DVD și TV analogic dedicat pentru Volkswagen, Skoda, Seat, Audi

  • sistem de operare Windows CE 6.0
  • ecran LCD
  • dimensiune ecran : 7 “
  • touchscreen
  • rezolutie ecran : 800 x 480 pixeli
  • functie dimmer
  • DVD player
  • formate acceptate: MPEG-4 (DivX), DVD, DVD-R, DVD+R, VCD, CD, CD-R, CD-RW, MP3,MP4, JPEG, WMA
  • sistem antisoc
  • navigatie GPS
  • chipset GPS : Sirf Star IV
  • frecventa procesor : 500 MHz + 250 MHz DCS
  • radio AM/FM cu RDS
  • frecventa AM : 522 KHz – 1620 KHz
  • frecventa FM : 87.5 MHz – 108.0 MHz
  • tuner TV
  • tip TV : analogic
  • format : NTSC, PAL, Secam
  • bluetooth (handsfree) incorporat
  • apelare direct de pe ecran
  • afisare numar telefon formate, primite si pierdute
  • port USB
  • formate acceptate pe USB : AVI, MP3, JPEG, WMA
  • port SD card
  • formate acceptate SD : AVI, MP3, JPEG, WMA
  • putere iesire audio : 4 x 45 W
  • Dual Zone : Da
  • compatibil cu comenzile pe volan
  • functie “Picture in Picture”
  • memorie 6 CD-uri ( pot fi memorate 6 CD-uri si redate fara sa fie in unitate )
  • iesire audio RCA : 4
  • iesire video RCA : 2
  • intrare auxiliara audio : 2
  • intrare camera marsarier
  • intrare video RCA : 1
  • intrare jack auxiliara
  • compatibil iPod
  • iluminare taste : albastru, rosu, violet

Marci si modele compatibile

  • VW Passat B6 & B7 (Tip 3C) Anii 2005 – 2011
  • VW Passat CC Anii 2008 – prezent
  • VW Jetta (A5/Tip 1k) Anii 2005 – 2011
  • VW Golf Mk5 (A5/Tip1K) Anii 2003 – pt. 2011
  • VW Golf MK6 (A6/Tip 5K) Anii 2011 – prezent
  • VW Scirocco III Anii 2008 – prezent
  • VW Touran Anii 2003 – 2010
  • Skoda Octavia 2 MK2 Anii 2004 – 2008
  • Skoda Octavia 2 Facelift MK2 Anii 2009 – prezent

Domenii internet de vânzare

Salutare prieteni! Am o listă de domenii de internet de vânzare. Domeniile au o vechime intre 2 și 10 ani, le-am achiziționat pentru niște proiecte care nu au fost continuate. Aceste domenii sunt:

  • oferte-turistice.infoVechime 7 ani (11.12.2009), Domain Authority Score 13.22, Page Authority Score 24.25, MozRank 3.06
  • smart-hosting.info – Vechime 7 ani (11.12.2009), Domain Authority Score 46.98, Page Authority Score 33.44, MozRank 3.01
  • tv-live.infoPreț 20 €Vechime 8 ani (08.01.2009), Domain Authority Score 8.51, Page Authority Score 22.71, MozRank 3.08
  • thesun.ro
  • tucson.ro
  • d8b.ro
  • webconfig.ro –
  • cloudsoft.ro –
  • cloudsoftware.ro –
  • css4.ro –
  • cursulvalutar.info – 
  • goblenuri.net – 
  • directorwebromanesc.info – 
  • donez.net – 
  • fancourier.com – 
  • rca-asig.com – 
  • dezmembrarimasini.info – 
  • vpsieftin.info – 

Folosiți pagina de contact pentru detalii.