Skip to content

Instantly share code, notes, and snippets.

View ttuan's full-sized avatar

Tuấn Trần ttuan

View GitHub Profile
@ttuan
ttuan / frontendDevlopmentBookmarks.md
Created September 10, 2024 14:36 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.
@ttuan
ttuan / README.md
Last active September 5, 2024 07:27
Script for spamming comments on Facebook posts - Mobile Version - Tested and working as of 2024-09

This code is written for Facebook Mobile version. Follow these steps to run the script:

  1. Open the post URL in Chrome.
  2. Open Chrome Developer Tools (Right Click => Inspect, or press Command + Option + I on Mac, or press Control + Shift + I on Windows)
  3. Press Command + Shift + M to toggle Mobile mode. (or Control + Shift + M on Windows)
  4. Reload current page.
  5. Switch to the Console tab.
  6. Paste the code above into the console.
# MIT License
# Copyright (c) 2021 ttuan
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@ttuan
ttuan / gist:2a5b456ec526501fd90e6b1bf0a0f310
Last active August 22, 2018 15:06
Swagger UI json file
{
"swagger": "2.0",
"info": {
"version": "1.0.0",
"title": "API Sample App",
"description": "API Sample App",
"contact": {
"name": "@kymmt90"
},
"license": {

Notification Doc

Chat

When user receive a new message

When user1 sends a message to user2, user2 will receive a notification with format: iOS