Skip to content

Instantly share code, notes, and snippets.

View bcye's full-sized avatar
🚢
Shipping

Bruce bcye

🚢
Shipping
View GitHub Profile
@josephmaxim
josephmaxim / marketing_makers.md
Created April 15, 2019 22:12
A list of communities to share your blog post and products as an indie maker.
View marketing_makers.md

A list of communities to share your blog post and products as an indie maker.

Most of this groups have between 10k-14million members. Important: In order to avoid being banned or being labeled as spam, Engage with members first by leaving a like/upvote and comment on their posts. Wait at least a week before posting.

@caiolopes
caiolopes / save_thumb.py
Last active October 4, 2022 14:50
Function to resize an image of an ImageField from a Django model. It saves space on S3!
View save_thumb.py
import io
from django.core.files.storage import default_storage as storage
def save(self, *args, **kwargs):
super().save(*args, **kwargs)
img_read = storage.open(self.image.name, 'r')
img = Image.open(img_read)
@gmolveau
gmolveau / fathom_to_heroku.md
Last active July 11, 2020 18:06
How to push Fathom analytics - https://github.com/usefathom/fathom to Heroku
View fathom_to_heroku.md

Deploy Fathom on Heroku

Requirements

  • heroku cli (logged in)
  • git
  • curl
  • wget
  • tar are required
  • ~ openssl is required to generate the secret_key, but you're free to use what you want
@nickbclifford
nickbclifford / auto-deploying.md
Last active May 15, 2023 09:02
How to automatically deploy code to a server using Travis CI
View auto-deploying.md

Auto-Deploying via Travis CI

Because Travis CI can automatically execute scripts after successfully (or unsuccessfully!) executing tests, it is an obvious choice for a deployment tool. In order to deploy to a Git repository on a remote server, the process generally is as follows:

  • Set up SSH keys
  • Add the server's copy of the repository as a Git remote
  • Push to the remote
  • SSH into the server and execute any installation/compilation/miscellaneous commands

Before even touching .travis.yml...

Users

@suraphanL
suraphanL / ioslocaleidentifiers.csv
Created October 5, 2016 15:29 — forked from JaseHadd/ioslocaleidentifiers.csv
iOS Locale Identifiers
View ioslocaleidentifiers.csv
localeIdentifier Description
eu Basque
hr_BA Croatian (Bosnia & Herzegovina)
en_CM English (Cameroon)
rw_RW Kinyarwanda (Rwanda)
en_SZ English (Swaziland)
tk_Latn Turkmen (Latin)
he_IL Hebrew (Israel)
ar Arabic
uz_Arab Uzbek (Arabic)
View Apple Sample Code License
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc.
("Apple") in consideration of your agreement to the following terms, and your
use, installation, modification or redistribution of this Apple software
constitutes acceptance of these terms. If you do not agree with these terms,
please do not use, install, modify or redistribute this Apple software.
In consideration of your agreement to abide by the following terms, and subject
to these terms, Apple grants you a personal, non-exclusive license, under
Apple's copyrights in this original Apple software (the "Apple Software"), to
use, reproduce, modify and redistribute the Apple Software, with or without