Getting started:
Related tutorials:
const fs = require('fs'); | |
const wordnet = require('wordnet'); | |
const natural = require('natural'); | |
const tokenizePhrase = (phrase) => { | |
// Tokenize the phrase into individual words | |
const tokenizer = new natural.WordTokenizer(); | |
return tokenizer.tokenize(phrase.toLowerCase()); | |
}; |
import requests | |
import json | |
URL='https://coincodex.com/apps/coincodex/cache/all_coins_packed.json' | |
try: | |
res = requests.get(URL) | |
content = json.loads(res.content) | |
columns = content['columns'][::10000] | |
coin_data = content['data'] |
import requests | |
from bs4 import BeautifulSoup | |
from selenium.webdriver import Chrome | |
from selenium.webdriver.chrome.options import Options | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
opts = Options() |
<?php | |
return [ | |
/* | |
|-------------------------------------------------------------------------- | |
| Africas Talking Username | |
|-------------------------------------------------------------------------- | |
| | |
*/ |
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
class TestCommand extends Command | |
{ | |
/** | |
* The name and signature of the console command. |
<?php | |
namespace App\AfricasTalking; | |
/* | |
# COPYRIGHT (C) 2014 AFRICASTALKING LTD <www.africastalking.com> | |
AFRICAStALKING SMS GATEWAY CLASS IS A FREE SOFTWARE IE. CAN BE MODIFIED AND/OR REDISTRIBUTED | |
UNDER THE TERMS OF GNU GENERAL PUBLIC LICENCES AS PUBLISHED BY THE | |
FREE SOFTWARE FOUNDATION VERSION 3 OR ANY LATER VERSION |
<?php | |
namespace App\Helpers\Traits; | |
use Illuminate\Http\Request; | |
use Log; | |
/** | |
* ResponseTrait Trait |
<?php | |
namespace App\Helpers\Traits; | |
use Illuminate\Support\Str; | |
trait UuidTrait | |
{ | |
public function scopeByUuid($query, $uuid) | |
{ |
<?php | |
namespace App\Helpers\Traits; | |
use Carbon\Carbon; | |
/** | |
* DateFormater Trait | |
*/ | |
trait DateFormater |
Getting started:
Related tutorials: