Skip to content

Instantly share code, notes, and snippets.

@sequielo
sequielo / radiotray.md
Last active July 8, 2020 03:29
Radiotray: Argentina FM Radios

Changelog

  • 2020-04-24: Removed Blue and Added: Congo, Rock&Pop and FutuRock.

Update directly to Radiotray config:

nano .local/share/radiotray/bookmarks.xml
 
@sequielo
sequielo / steps.md
Created October 9, 2016 22:21
Fix Linux Mint installer failure

When attempting installing Linux Mint from a Live USB, it might fail after downloading updates. Here is how to solve it:

  • Start installation. Continue wizard until last page (the one that asks for User account).
  • Open console (CTRL+ALT+DEL)
  • Type sudo touch /target/etc/apt/sources.lists.new
  • Click Continue.

Note: If the above command fails, maybe the /target point is not mounted yet. Simply click Continue button to start copying some files and then execute command again.

@sequielo
sequielo / gist:dd438416b4b823fd6188d132c7675a22
Created September 4, 2016 04:15
My AdBlock custom filters
@@||movistar.com.ar/$document
*.perfil.com##DIV[class*="videoJWaside"]
*.perfil.com##IFRAME[src*="http://player.performgroup.com"]
video.perfil.com/js/*
player.performgroup.com/*
@sequielo
sequielo / Install HBCD in HDD.md
Last active May 9, 2022 06:37
Install HBCD in HDD

This was tested on HBCD v15.2

  • Format desired partition as FAT32 (type 0x0C), and make sure is primary (not logical).
  • Copy entire HBCD folder to root of created partition (i.e. K:\HBCD).
  • Copy from HBCD folder files GRLDR and MENU.LST to partition's root.
  • Install Grub4Dos on the partition.
  • Done!

I recommend using MiniXP from HBCD. You can do every described step, in particular installing Grub4Dos: (Menu Partition/Boot/MBR > Grub4Dos Installer. Choose Disk, Partition and click Install)

@sequielo
sequielo / launch.sh
Created April 6, 2013 02:42
Ask a password before launching a command
#!/bin/bash
hash=916f4c31aaa35d6b867dae9a7f54270d
while true
do
echo -ne "\n~~ Ingrese contraseña y presiona ENTER (nada para Salir): "
read -s pw
if [ -z $pw ]; then
echo
@sequielo
sequielo / get_flvs.sh
Last active October 10, 2015 20:38
Copy FLV & MP4 (& other multimedia) files from browser
#!/bin/bash
# =======================================================================================
# Discoveres all opened FLV files that don't exists on /tmp, and allow to copy to $HOME.
# The file must remain open before copying, because the plugin unlinks the filename.
# Based on: http://davesource.com/Solutions/20110313.Chrome-linux-hidden-flash-files.html
# =======================================================================================
SUDO="sudo "
TEMPFILE="/tmp/flvs_$(date +%s)"
METHOD=3
@sequielo
sequielo / gist:3521937
Created August 30, 2012 03:07
Test Markdown
@sequielo
sequielo / gist:3086192
Created July 10, 2012 20:58
createCookie with JS
//! from http://www.quirksmode.org/js/cookies.html
function createCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";