Skip to content

Instantly share code, notes, and snippets.

View sanchocreativo's full-sized avatar

sanchocreativo

View GitHub Profile
@rubenrubiob
rubenrubiob / django-serverpilot.md
Last active January 29, 2020 14:35
Guide to serve Django apps in a Serverpilot server

Configure Django project in a Serverpilot server

Install dependencies (as root)

  1. Install packages from repositories:

    # apt install python-pip python-MySQLdb python-dev libmysqlclient-dev supervisor
  2. Install virtualenv using pip:

@rturk
rturk / gist:858c1afaee170a3a141adc7da652883e
Last active December 26, 2020 18:50
React Native Router Flux - Tab Bar with Icon
//This is a Redacted version to be used as a benchmark/example for React Native Router Flux
import React, {
Component,
StatusBar,
Text,
View,
StyleSheet,
PixelRatio,
} from 'react-native';
@veiko
veiko / sass-space.scss
Last active February 8, 2021 14:52 — forked from Eomerx/sass-space.scss
SASS Space - Responsive CSS Positioning Classes built with SASS
// change to false if its not imported into bootstrap
$use-bootstrap: true;
// margin and padding values array
$space-values : (
5,
10,
15,
20,
30,
@mojaray2k
mojaray2k / instafeedjsaccess.md
Last active February 10, 2025 17:40
Getting Instagram Access Token for http://intafeedjs.com

#Use this URL to get your client authorized for Instafeed.JS plugin for Instagram.

  1. First login into your Instargam account
  2. Then go to https://www.instagram.com/developer/
  3. At the top click on the Button that says "Manage Clients".
  4. If you have not Register a new client.
  5. Fill out everything and where it says redirect url put this url: http://instafeedjs.com
  6. Then on the security tab make sure you uncheck "Disable implicit OAuth"
  7. Finally use this link to authoruize Instafeed. Where it says "[Client ID]" replace that including the brackets with your clientID from instagram:
  8. https://instagram.com/oauth/authorize/?client_id=[Client ID]&redirect_uri=http://instafeedjs.com&response_type=token
@Eomerx
Eomerx / sass-space.scss
Last active July 26, 2022 14:53
SASS Space - Responsive CSS Positining Classes built with SASS
// change to false if its not imported into bootstrap
$use-bootstrap: false;
// margin and padding values array
$space-values : (
5,
10,
15,
20,
30,