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
<?php
return [
'Abia' => [
'Aba',
'Arochukwu',
'Umuahia',
],
'Adamawa' => [
'Jimeta',
@chrisidakwo
chrisidakwo / nigerian-cities.json
Last active July 8, 2022 06:10
Nigerian states and cities. Unfortunately, we don't have a good database record of these kind of things. So while building apps, I tend to update each state as needed. But I usually work with this as the baseline. You can also find this useful: https://simplemaps.com/data/ng-cities
{
"Abia": [
"Aba",
"Arochukwu",
"Umuahia"
],
"Adamawa": [
"Jimeta",
"Mubi",
"Numan",