Skip to content

Instantly share code, notes, and snippets.

View miyagui's full-sized avatar
🌴
On vacation

Jonathan Montesinos miyagui

🌴
On vacation
View GitHub Profile
@miyagui
miyagui / rpi3_iot_server.md
Last active November 16, 2018 14:41 — forked from xoseperez/rpi3_iot_server.md
Raspberry Pi 3 with Mosquitto, Node-RED, InfluxDB, Grafana and Nginx (as a reverse proxy)
@miyagui
miyagui / spotify-lyrics
Created September 27, 2016 17:06
Spotify lyrics on linux (bash)
#!/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.` \
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 August 8, 2018 16:08
inadyn.conf for freedns.afraid.org
​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 August 29, 2015 14:15
A good way to start the day.
//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">
@miyagui
miyagui / gist:8c86dde8345a9f8324ca
Created February 4, 2015 06:19
sublime text 3 prefs
{
"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,
compton --opengl --vsync opengl-swc --paint-on-overlay
#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:
# 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 August 29, 2015 14:14
~/.config/compton.conf
# 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;