Skip to content

Instantly share code, notes, and snippets.

Avatar

Bedder MegaBedder

  • Honduras
View GitHub Profile
View TorrentPotato.php
<?php
$JSONOutput = array();
$TotalResults = 0;
$loginUrl = 'https://bezze.me/login.php';
// init curl
$ch = curl_init();
View search.php
<?php
/*********************************************************************\
| (c)2011-2015 Synoboost http://www.synoboost.com |
|---------------------------------------------------------------------|
| 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 2 |
| of the License, or (at your option) any later version. |
| |
| This program is distributed in the hope that it will be useful, |
@meteorsnows
meteorsnows / noVNC
Last active Aug 26, 2020
Ubuntu noVNC
View noVNC
https://github.com/kanaka/noVNC/issues/535
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-14-04
http://www.penguintutor.com/raspberrypi/tightvnc
https://news.ycombinator.com/item?id=10289673
https://blog.docker.com/2013/07/docker-desktop-your-desktop-over-ssh-running-inside-of-a-docker-container/
https://github.com/ConSol/docker-headless-vnc-container
http://cects.com/ssh-local-and-remote-port-forwarding-with-vnc/
https://security.web.cern.ch/security/recommendations/en/ssh_tunneling_vnc.shtml
http://crl.ucsd.edu/handbook/vnc/
anonymous
anonymous / cron.php
Created Jan 4, 2016
Add dlc files to the DSM download station trough the command line
View cron.php
<?php
/**
* This script reads dlc files from a folder and adds the links to the DSM
* download station. Most code is copied from https://github.com/downtuned42/ds-dec.
*
* Usage:
* - Put the cron.php file in to the folder /volume1/php/cron.php on your DSM Nas
* - Adapt the parameters on the beginning of the file
* - Copy a dlc file to /volume1/shares/Downloads/ on your NAS
* - Run it on your SSH console like php /volume1/php/cron.php
@jpillora
jpillora / search-example.json
Last active Feb 3, 2022
Torrent cloud search provider specification
View search-example.json
{
"mininova": {
"name": "Mininova",
"type": "screen-scraper",
"list": {
"url": "http://www.mininova.org/search/{query}/seeds/{page}",
"items": ".maintable > tr",
"item": {
"name":"td:nth-child(3) > a:nth-child(2)",
"url":"td:nth-child(3) > a:nth-child(2)@href",
@staltz
staltz / introrx.md
Last active May 15, 2022
The introduction to Reactive Programming you've been missing
View introrx.md
View 01-no-silver-bullet-es.md

No hay balas de plata: Lo esencial y lo accidental en la Ingeniería del Software

by Frederick P. Brooks, Jr.

De todos los monstruos que pueblan nuestras pesadillas, ninguno es tan terrorífico como el hombre lobo, porque pasa repentinamente de lo familiar al horror. Por eso, todos buscamos balas de plata que puedan acabar con ellos magicamente.

El familiar proyecto de software, al menos tal como lo ve un gestor no técnico, tiene algo de ese caracter: suele ser inocente y sencillo, pero es capaz de convertirse en un monstruo de plazos incumplidos, objetivos fallados y productos defectuosos. Por eso escuchamos lamentos clamando por una bala de plata -- algo que haga que los costes del software caigan tan rapidamente como lo han hecho los del hardware.

Pero no se ve en ningún lugar una bala de plata. No hay ningún desarrollo, ni en tecnología ni en técnicas de gestión, que por si sólo prometa ni siquiera una mejora en un orden de magnigud en productividad, en fiabilidad, en simplicidad. En este artículo,

@adelevie
adelevie / web.lua
Created Dec 11, 2012
Using webscript.io's API to build a Sinatra-like web framework
View web.lua
[[
This is a proof of concept that you can run locally to upload scripts to webscript.io. It provides a simple Sinatra-like API (in Lua) for defining URL routes and their corresponding actions.
To run on your own, you'll need your own webscript account (and api key) and Lua installation.
Just copy the script locally, fill in your own values in the `app` table below, cd into the directory and run `lua yourfilename.lua`.
Then log into webscript.io to make sure everything is there!
This is clearly highly experimental, probably broken in many ways, and only supports GET requests. Use at your own risk. Also, I'm totally new to Lua, so feel free to point out any egregious mistakes.
@Xeoncross
Xeoncross / Requests.php
Created Apr 11, 2012
cURL asynchronous requests using curl_multi and callbacks
View Requests.php
<?php
/**
* Make asynchronous requests to different resources as fast as possible and process the results as they are ready.
*/
class Requests
{
public $handle;
public function __construct()
{