Skip to content

Instantly share code, notes, and snippets.

View Familyfirst4's full-sized avatar

Demitri Marsh Familyfirst4

  • Family First
  • 315 W Concord Street, Orlando, 32801, US
View GitHub Profile
@Familyfirst4
Familyfirst4 / RestApiActivity.java
Created September 4, 2022 18:37 — forked from bertrandmartel/RestApiActivity.java
Example of using Google Signin to access Youtube subscription API
package com.github.akinaru.hcidebugger.activity;
import android.accounts.Account;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
php-8.2.0RC1.tar.bz2
SHA256 hash: baa8cf5ecfc97940ddb9a09734d1eb69242e7056351517ab246a78f0ed0b0bdf
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQJFBAABCgAvFiEEEZjAEXWTSXpexcGZKGrx+Yl0adwFAmMONR8RHHBpZXJyaWNr
QHBocC5uZXQACgkQKGrx+Yl0ady41BAAhp8gJnNbd6ais3M3GElEqMZurA1SWpXY
OXa0VOnZFesS+v1VeIvVdJrE91DYeNtX+Kz+Pb7bCFI14huvQ4aWYfyigGxPewx4
uJoCI4qVVUZ+LmM7jH7Ieh5+ftm9SpOTNSsOJf+1CaaG/y8Ig56VCYMPPDOCHqoU
ie0sA57VXC34ePR79XTkz7h682ZSZSalM9rpzXrdDIsxGb+9PMRhiI95imM09QGF
@Familyfirst4
Familyfirst4 / GitHub-Forking.md
Created July 9, 2022 15:43 — forked from Chaser324/GitHub-Forking.md
GitHub Standard Fork & Pull Request Workflow

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j

@Familyfirst4
Familyfirst4 / git-deployment.md
Created July 9, 2022 15:41 — forked from noelboss/git-deployment.md
Simple automated GIT Deployment using Hooks

Simple automated GIT Deployment using GIT Hooks

Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.

How it works

You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.

@Familyfirst4
Familyfirst4 / node_nginx_ssl.md
Created July 9, 2022 15:41 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user

@Familyfirst4
Familyfirst4 / nginx-tuning.md
Created July 9, 2022 15:41 — forked from denji/nginx-tuning.md
NGINX tuning for best performance

Moved to git repository: https://github.com/denji/nginx-tuning

NGINX Tuning For Best Performance

For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.

Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.

You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.

@Familyfirst4
Familyfirst4 / README.md
Created July 9, 2022 15:40 — forked from hofmannsven/README.md
Git Cheatsheet
#!/usr/bin/env python3
""" ASF OAuth example in Python 3"""
import cgi
import os
import requests
import urllib
import uuid
def init_oauth():