Skip to content

Instantly share code, notes, and snippets.

View chrisidakwo's full-sized avatar
🤓
Having fun!

Chris Idakwo chrisidakwo

🤓
Having fun!
View GitHub Profile
@chrisidakwo
chrisidakwo / tinder-api-documentation.md
Created April 17, 2023 12:47 — forked from rtt/tinder-api-documentation.md
Tinder API Documentation

Tinder API documentation

Note: this was written in April/May 2014 and the API may has definitely changed since. I have nothing to do with Tinder, nor its API, and I do not offer any support for anything you may build on top of this. Proceed with caution

http://rsty.org/

I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> https://gist.github.com/rtt/5a2e0cfa638c938cca59 (horribly quick and dirty, you've been warned!)

@chrisidakwo
chrisidakwo / README.md
Created April 10, 2023 13:06 — forked from rstacruz/README.md
Setting up Babel and TypeScript

Install Babel 7 and TypeScript

yarn add --dev \
  @babel/core \
  @babel/cli \
  @babel/preset-env \
  @babel/preset-typescript \
  typescript

Don't forget to set PHP Code Style to PSR-2 in your PHPStorm


1) Add Code Sniffer to composer.json file

composer require squizlabs/php_codesniffer
@chrisidakwo
chrisidakwo / README.md
Created May 15, 2022 15:33 — forked from jimothyGator/README.md
Nginx configuration for Mac OS X with Homebrew, using sites-enabled directory.
mkdir -p /usr/local/etc/nginx/sites-{enabled,available}
cd /usr/local/etc/nginx/sites-enabled
ln -s ../sites-available/default.conf
ln -s ../sites-available/default-ssl.conf

File locations:

  • nginx.conf to /usr/local/etc/nginx/
  • default.conf and default-ssl.conf to /usr/local/etc/nginx/sites-available
  • homebrew.mxcl.nginx.plist to /Library/LaunchDaemons/
@chrisidakwo
chrisidakwo / nvmlink
Created November 10, 2021 15:44 — forked from MeLlamoPablo/nvmlink
Creates a symlink to /usr/bin/node after using nvm
@chrisidakwo
chrisidakwo / apache2_vhost_config_vuejs_dist
Created July 14, 2021 06:31 — forked from 7rin0/apache2_vhost_config_vuejs_dist
VueJS: Apache / Nginx vhost config examples
<VirtualHost *:80>
DocumentRoot "/home/dev/server/project/dist/"
ServerName vuejs.project.local
<Directory /home/dev/server/project/dist/>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require all granted
Order allow,deny
allow from all
@chrisidakwo
chrisidakwo / mailgun-config.md
Created September 14, 2018 06:46 — forked from mrabbani/mailgun-config.md
Laravel Mailgun Setup
@chrisidakwo
chrisidakwo / validators.py
Created August 31, 2018 11:54 — forked from moskrc/validators.py
Validator for files, checking the size, extension and mimetype. Modified to work with Django 2.0.6 and Python 3.6.4
from os.path import splitext
import mimetypes
from django.core.exceptions import ValidationError
from django.template.defaultfilters import filesizeformat
from django.utils.translation import ugettext_lazy as _
from django.utils.deconstruct import deconstructible
@deconstructible