Skip to content

Instantly share code, notes, and snippets.

View niilante's full-sized avatar
🌊
I'm a builder more than a Mason

Richard Nii Lante Lawson niilante

🌊
I'm a builder more than a Mason
View GitHub Profile
<html>
<head>
<title>API Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script type="text/javascript">
var accessToken = "<your agent's client access token>";
var baseUrl = "https://api.api.ai/v1/";
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class ScrapeFunko extends Command
{
/**
* The name and signature of the console command.
@niilante
niilante / FirebasePhoneAuthIonicV3.md
Created October 21, 2018 03:08 — forked from kkrishnan90/FirebasePhoneAuthIonicV3.md
Firebase Phone Auth using Ionic V3 - Sending and reading OTP

General Steps to be followed as a flow process to complete Firebase Phone OTP Auth in Ionic V3

Step 1 : Get the phone number through input from the user. Step 2 : Pass this phone number to the firebase and receive a callback with verification ID. Step 3 : Pass on this verification ID through navParams to the next page where the user will enter the OTP sent to the entered mobile number. Step 4 : Verify the OTP that is sent with firebase for success() or failure() .

STEP 1 & 2 & 3

phone-verification.html

@niilante
niilante / Zsh
Created December 28, 2019 01:33 — forked from sarthaksavvy/Zsh
Terminal Alias
export DEFAULT_USER="$(whoami)"
# Alias for composer
alias cr=composer
alias cri="composer install"
alias crd="composer dump-autoload"
alias cru="composer update"
# Alias for artisan commands
alias pa="php artisan"
@niilante
niilante / database.rules.json
Created April 22, 2020 22:57 — forked from codediodeio/database.rules.json
Common Database Rules for Firebase
// No Security
{
"rules": {
".read": true,
".write": true
}
}
Researchers are easily able to hack WhatsApp and Telegram using the known telecom flaw
We continuously receive queries from readers about how to hack WhatsApp. The world’s most popular cross platform messaging App is seen to be ultimate hack by many because it has recently enabled 256-bit encryption.
For ordinary souls this encryption would take days and months to decode a sentence or a complete message. Ditto with another secure messaging service called Telegram. Though Telegram is not as popular as WhatsApp, it has its ardent group of followers who use it for its encryption as well as snooping free service.
Though both of these Apps are end-to-end encrypted both of them suffer from hardware side vulnerability which can be exploited to hack and hijack both WhatsApp and Telegram.
The vulnerability lies in Signalling System 7, or SS7, the technology used by telecom operators, on which the highly secure messaging system and telephone calls rely. SS7 is a set of telephony signalling protocols developed i
#!/bin/bash
COUNTER=1
SOURCE="source:/folder"
DESTINATION="destination:/folder"
while [ $COUNTER -lt 100 ]; do
@niilante
niilante / How to get your custom domain.txt
Created June 3, 2020 09:02 — forked from CHEF-KOCH/How to get your custom domain.txt
Tutanota: How to get your custom domain
- Sign up for Premium Tutanota: https://mail.tutanota.com/signup
- Create a free Gandi-Account: https://account.gandi.net/en/create_account
- Check the Gandi-Shop: https://shop.gandi.net/ and buy your custom domain.
- Open the admin-console: https://admin.gandi.net/domain
- Open "DNS Records"
- On the "DNS Records" window, click on "Text Mode" and make a backup of the current (untouched) configuration by clicking the “Make a backup copy” in the bottom of the screen. This basically backups your entire configuration.
- Switch back to the "DNS Records" Tab and delete everything below "@ 10800 IN SOA"
Copy & paste the following and save it.
======================================================
@niilante
niilante / books.md
Created June 8, 2020 04:31 — forked from abstractart/books.md
Free Programming Ebooks - O'Reilly Media. Codeship free ebooks here - https://bit.ly/2oQ0knQ
@niilante
niilante / books.md
Created June 8, 2020 04:32
Direct links to Free Codeship eBooks about Continuous Integration and Delivery, Docker, efficient Software Development, distributed team workflows, and much more.