Skip to content

Instantly share code, notes, and snippets.

View vspedr's full-sized avatar

Victor vspedr

  • Campinas, Brazil
View GitHub Profile
@vspedr
vspedr / Fix Spotify stuck in full screen (Ubuntu 18.04.01) installed from snap
Created July 21, 2021 13:27 — forked from greew/README.md
Fix Spotify stuck in full screen (Ubuntu) installed from snap
Problem:
I experienced Spotify being stuck in full screen mode.
The title bar with minimize, maximize and close wasn't present and no keyboard shortcut I know about would exit full screen.
Solution
rm ~/snap/spotify/current/.config/spotify/prefs
Works both in 18.04.01 and 20.04.x
Source:
@vspedr
vspedr / learning.md
Last active January 23, 2018 17:26 — forked from sibelius/learning.md
Learning Path React Native

Basics

  • Learn how to start a new react native project
  • Run it on ios simulator, on android emulator, on a real iPhone device and on a real Android device, with and without debugging enabled.
  • Learn how to upgrade a react native project
  • Learn how to add a package to the project
  • Learn how to add a package that has a native dependency (https://github.com/airbnb/react-native-maps, https://github.com/evollu/react-native-fcm) - DO NOT USE COCOAPODS
  • Learn how to use fetch to get data from your backend

Learn Navigation

@vspedr
vspedr / AWS_deploy.sh
Last active March 9, 2017 11:05 — forked from PuKoren/AWS_deploy.sh
Travis script used to deploy on AWS ElasticBeanstalk (inspired from Codeship's one)
#!/bin/bash
# v0.0.2
# AWS Deploy Script for Travis
# Remember to add the env var in the travis configuration
# in order to work, this scripts needs:
# AWS_ACCESS_KEY_ID: user ID
# AWS_SECRET_ACCESS_KEY: user secret
# APP_NAME: EBS application name
# ENV_NAME: EBS application env
# S3_BUCKET: name of the S3 bucket to store deployment archive
@vspedr
vspedr / slackNotify.js
Created January 25, 2017 19:16 — forked from delemach/slackNotify.js
Parse SNS notification from Elastic Beanstalk and publish to Slack channel
var http = require('https');
var querystring = require('querystring');
// set the post request options
var reqOptions = {
hostname: 'hooks.slack.com',
port: 443,
path: '/services/YOUR/SLACK/HOOK_HERE',
method: 'POST'
};