Skip to content

Instantly share code, notes, and snippets.

View diniremix's full-sized avatar

Jorge Brunal diniremix

View GitHub Profile
@diniremix
diniremix / do-not-track.sh
Created April 9, 2024 01:44
you shall not spy!
#!/bin/bash
#######################################################################################
#
# MIT License
#
# Copyright (c) 2014-2024 HomeInside Inc. and other contributors,
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal

Ubuntu 22.04 on Windows wsl2

https://youtu.be/BxlcSXKoiiU

in the Windows terminal, Basic commands for WSL

wsl --install wsl --set-default-version 2 wsl --help wsl -l -o wsl -l -all

@diniremix
diniremix / gen-req.md
Last active October 18, 2021 18:53
gen-req reads a 'pyproject.toml' (Poetry) file and exports the list of dependencies to a 'requirements.txt' file, in a more easily understood, simple and traditional way.

gen-req reads a 'pyproject.toml' (Poetry) file and exports the list of dependencies to a 'requirements.txt' file, in a more easily understood, simple and traditional way.

Copyright (c) 2021 Jorge Brunal Perez [email protected]

gen-req is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either

@diniremix
diniremix / kde-neon-post-install.sh
Last active October 16, 2024 03:14
KDE Neon post install
# KDE Neon 15.18.0 post install
# first step, upgrade
sudo pkcon refresh
sudo pkcon update
# opera web browser
wget -qO- https://deb.opera.com/archive.key | sudo apt-key add -
sudo add-apt-repository 'deb https://deb.opera.com/opera-stable/ stable non-free'
sudo apt-get update
@diniremix
diniremix / eos-post-install.sh
Last active March 9, 2022 15:26
elementaryOS post install
# elementary OS Hera post install
# first step, upgrade
sudo apt update && sudo apt upgrade
sudo apt install ubuntu-restricted-extras
sudo apt install software-properties-common --no-install-recommends
sudo apt install libavcodec-extra ffmpeg
sudo apt install firefox vlc
sudo apt install screenfetch flameshot
@diniremix
diniremix / index.html
Created August 20, 2017 15:06
docsify template
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>docsify</title>
<link rel="icon" href="_media/favicon.ico">
<meta name="keywords" content="doc,docs,documentation,docsify,gitbook,creator,generator,github,jekyll,github-pages">
<meta name="description" content="A magical documentation generator.">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
@diniremix
diniremix / eos-loki-post-install.sh
Last active February 28, 2018 01:34
elementary OS Loki post install
# elementary OS post install
sudo apt update && sudo apt upgrade
sudo apt install software-properties-common --no-install-recommends
sudo apt install ubuntu-restricted-extras libavcodec-extra ffmpeg
sudo apt install firefox vlc
sudo apt install audacious audacious-plugins
sudo apt install screenfetch
@diniremix
diniremix / gcloud-recipes.md
Last active April 4, 2017 18:31
gcloud recipes

config gae php

--php_executable_path=/usr/bin/php-cgi

clone repo from google cloud sdk hosted (aka github, bitbucket, etc)

  • gcloud auth list
  • gcloud config set project PROJECT
  • gcloud auth login
@diniremix
diniremix / js2coffee.sh
Created November 23, 2015 03:41
script to compile js to coffeescript, using SublimeText 2
#!/bin/bash
if [ $# -le 0 ];then
echo -e $0: Especifique un nombre de archivo javascript;
exit 1;
fi
JS=$1;
function convert() {
if [ -e $JS ]; then
FILENAME=$(basename "$JS")
@diniremix
diniremix / dockersetup.MD
Last active September 22, 2016 14:16
setup docker on elementary OS freya

instalar docker

instalar una imagen (ubuntu 14.04 en este caso)

  • sudo docker run ubuntu:14.04

revisar las imagenes instaladas

  • sudo docker images

entrar en la imagen recien creada