Skip to content

Instantly share code, notes, and snippets.

[
{
"code": "1365",
"name": "Action & Adventure"
},
{
"code": "4082",
"name": "Action & Adventure based on a book from the 1960s"
},
{

Scrap Netflix Secret Categories

  1. Copy the following URL in your web browser: https://www.whats-on-netflix.com/library/categories/
  2. Copy and paste the following code in the developer console on the previous URL.
  3. The result is in your clipboard.
function simulateClick(elem) {
	const evt = new MouseEvent('click', {
 bubbles: true,
@funkyremi
funkyremi / csv.js
Created November 30, 2018 16:23
Javascript csvToJson jsonToCsv
const jsonToCsv = (array, separator) => {
let result = '';
for (const key in array[0]) {
result.length === 0 ? result += key : result += `${separator}${key}`;
}
result += '\r\n';
array.forEach(line => {
let lineStr = '';
for (const value in line) {
lineStr.length === 0 ? lineStr += line[value] : lineStr += `${separator}${line[value]}`;
# Drag and drop the following code in your browser bookmarks to show current page passwords
javascript:var inputs=document.getElementsByTagName('input');for(var i=0;i<inputs.length;i++){if(inputs[i].type.toLowerCase()==='password'){inputs[i].type='text';}}
@funkyremi
funkyremi / ST3-with-iCloud-Drive.sh
Created June 19, 2017 21:10 — forked from joeshub/ST3-with-iCloud-Drive.sh
Sync your Sublime Text 3 Settings using iCloud Drive on multiple Macs
# Notes
# Using iCloud Drive, you can sync your Sublime Text 3
# plugins and prefs so you can always have the same setup
# Prerequisites
# Make sure both machines have the latest version of OSX 10.10.x with
# Yosemite or higher and iCloud Drive turned on
# Quit ST3
@funkyremi
funkyremi / music
Last active January 20, 2017 08:40
This script lets you play music (internet radio) from you terminal.
#!/bin/bash
# This script lets you play music from you terminal.
# 1) Install mplayer
# 2) chmod +x music
# 3) Put 'music' script in a folder on your PATH.
# 4) Enjoy ;)
if [ -z $1 ]; then
echo "Usage:"