Skip to content

Instantly share code, notes, and snippets.

{
"version": "1.23.16",
"notificationList": [],
"monitorList": [
{
"id": 2,
"name": "Cloudflare - 104.21.16.1",
"description": null,
"pathName": "Cloudflare - 104.21.16.1",
"parent": null,
#Requires -RunAsAdministrator
Stop-Service -Name @("bits","wuauserv","appidsvc","cryptsvc")
del "$env:ALLUSERSPROFILE\Application Data\Microsoft\Network\Downloader\qmgr*.*"
if(Test-Path variable:global:errs) {Remove-Variable -Name @("errs") -ErrorAction SilentlyContinue } #$err = $null
$errs = [System.Collections.ArrayList](@{})
function Start-Backup {
param([string[]]$paths = @("$env:SystemRoot\system32\catroot2","$env:SystemRoot\SoftwareDistribution"))
foreach($path in $paths){
$bak = "$($path).bak"
if((Test-Path -PathType Any $bak) -and (Test-Path -PathType Any $path)){
#EXTINF:-1,Nickelodeon
http://B29273.cdn.telefonica.com/29273/NICK_SUB.m3u8
#EXTINF:-1,Disney Junior
http://B29285.cdn.telefonica.com/29285/DSNJR_SUB.m3u8
#EXTINF:-1,40TV
http://B31312.cdn.telefonica.com/31312/40TV_SUB.m3u8
#EXTINF:-1,Disney XD
http://B31309.cdn.telefonica.com/31309/DSNYXD_SUB.m3u8
#EXTINF:-1,Canal Cocina
http://B31305.cdn.telefonica.com/31305/COCINA_SUB.m3u8
@igorosabel
igorosabel / shorten_url.php
Created February 23, 2011 12:15
Funcion para acortar urls usando el servicio de Google goo.gl
<?php
function shortenUrl($longUrl){
if(!function_exists('curl_init')) {
die ("Curl PHP package not installed\n");
}
$BASEURL = "https://www.googleapis.com/urlshortener/";
$VERSION = "v1";
$SERVICE = "url";
$CONTENT_TYPE = "Content-Type: application/json";