Skip to content

Instantly share code, notes, and snippets.

Avatar
🌴
On vacation

Jonathan Montesinos miyagui

🌴
On vacation
View GitHub Profile
@miyagui
miyagui / rpi3_iot_server.md
Last active Nov 16, 2018 — forked from xoseperez/rpi3_iot_server.md
Raspberry Pi 3 with Mosquitto, Node-RED, InfluxDB, Grafana and Nginx (as a reverse proxy)
View rpi3_iot_server.md
@miyagui
miyagui / spotify-lyrics
Created Sep 27, 2016
Spotify lyrics on linux (bash)
View spotify-lyrics
#!/bin/bash
SP_DEST="org.mpris.MediaPlayer2.spotify"
SP_PATH="/org/mpris/MediaPlayer2"
SP_MEMB="org.mpris.MediaPlayer2.Player"
LyricsAPI="https://makeitpersonal.co/lyrics/?artist=&title="
SPOTIFY_METADATA="$(dbus-send \
--print-reply `# We need the reply.` \
View boxstarter win7client
Set-ExplorerOptions -showFileExtensions
Enable-RemoteDesktop
cinst adobereader
cinst googlechrome
cinst dotnet4.6
cinst 7zip.install
cinst virtualclonedrive
cinst sumatrapdf.install
@miyagui
miyagui / inadyn-freedns
Last active Aug 8, 2018
inadyn.conf for freedns.afraid.org
View inadyn-freedns
​This is the /etc/inadyn.conf i'm using on Ubuntu 14.04:​
​# /etc/inadyn.conf
# Output messages to this file
logfile /var/log/inadyn/inadyn.log
# Or use the system syslog mechanism for log messages
# syslog
@miyagui
miyagui / Starter
Last active Aug 29, 2015
A good way to start the day.
View Starter
//Built in php serve
php -S localhost:8000
//My Header
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.css">
View gist:8c86dde8345a9f8324ca
{
"bold_folder_labels": false,
"caret_extra_width": 2,
"color_scheme": "Packages/Theme - Spacegray/base16-eighties.dark.tmTheme",
"detect_slow_plugins": false,
"enable_tab_scrolling": false,
"fade_fold_buttons": false,
"file_selected_text": true,
"flatland_sidebar_tree_xsmall": false,
"flatland_square_tabs": true,
View gist:6ad0a643833fdb744d1e
compton --opengl --vsync opengl-swc --paint-on-overlay
View gist:179721d7ce72d022b7b5
#lsblk to see the USB sdx
# dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx && sync
Open a CLI and do:
sudo nvidia-xconfig
Then:
View gist:9fb71f0fab1d51ed4d71
# Make sure we're up to date
apt-get -y update
apt-get -y dist-upgrade
# Some basic tools to get started
apt-get -y install vim-gtk build-essential
# Install and setup Git
apt-get -y install git
git config --global user.name "Martin Wozniewicz"
@miyagui
miyagui / gist:45e526bc652ebb2dc159
Last active Aug 29, 2015
~/.config/compton.conf
View gist:45e526bc652ebb2dc159
# Shadow
shadow = false;
no-dnd-shadow = true;
no-dock-shadow = true;
clear-shadow = true;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
# shadow-opacity = 0.7;
# shadow-red = 1.0;