Skip to content

Instantly share code, notes, and snippets.

View rosenpin's full-sized avatar

Tomer Rosenfeld rosenpin

View GitHub Profile
@lancethomps
lancethomps / close_notifications_applescript.js
Last active January 15, 2026 20:00
AppleScript to close all notifications on macOS Big Sur, Monterey, Ventura, Sonoma, and Sequoia
function run(input, parameters) {
const appNames = [];
const skipAppNames = [];
const verbose = true;
const scriptName = 'close_notifications_applescript';
const CLEAR_ALL_ACTION = 'Clear All';
const CLEAR_ALL_ACTION_TOP = 'Clear';
const CLOSE_ACTION = 'Close';
@rosenpin
rosenpin / youtube full window.user.js
Last active July 24, 2017 15:15
Make Youtube videos full window instead of full screen, requires greasemonkey
// ==UserScript==
// @version 1.1
// @name Make Youtube videos full window instead of full screen
// @match *://www.youtube.com/*
// @run-at document-end
// @grant none
// @noframes
// ==/UserScript==
function updatePage(){
var l = window.location.href;
@avillp
avillp / Unportify-v1.4.3.js
Last active January 4, 2026 21:31
Unportify helps you export your Google Play Music playlists.
/*
Unportify is a script that exports your Google Play music to text.
Copyright (C) 2016 Arnau Villoslada
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@u01jmg3
u01jmg3 / controller.php
Created April 6, 2015 08:59
Orvibo S20 WiFi Socket Controller
<?php
//Orvibo S20 - http://www.amazon.co.uk/gp/product/B00PQ0KNBA/
error_reporting(E_ALL | E_STRICT);
//================ CHANGE ME ================
$macAddress = strtolower('AC-CF-23-99-9Z-99'); //Keep hyphenated
$localIPAddress = '192.168.1.99';
//===========================================
@olivier-m
olivier-m / adb.sh
Created August 10, 2013 12:05
Remove all Google apps from an android phone. List of delete files from http://forum.xda-developers.com/showthread.php?t=1969755
# With your phone in debug mode, etc.
adb start-server
adb remount
adb shell < remove.sh