Skip to content

Instantly share code, notes, and snippets.

@lutskboy
lutskboy / itunes.json
Created August 24, 2020 11:11 — forked from scrapehero/itunes.json
iTunes Scraper - This scraper will extract details of popular apps present on iTunes App store. To learn how to implement this step by step read our tutorial - https://www.scrapehero.com/extract-popular-apps-from-apple-app-store-itunes-store-using-google-chrome/ or you can watch the tutorial at - https://youtu.be/2XqIrYM008M
{
"_id":"itunes_store",
"startUrl":[
"https://itunes.apple.com/us/genre/ios/id36?mt=8"
],
"selectors":[
{
"id":"app",
"type":"SelectorLink",
"parentSelectors":[
@lutskboy
lutskboy / openssl_encrypt_decrypt.php
Created October 18, 2017 10:07 — forked from joashp/openssl_encrypt_decrypt.php
Simple PHP encrypt and decrypt using OpenSSL
<?php
/**
* simple method to encrypt or decrypt a plain text string
* initialization vector(IV) has to be the same when encrypting and decrypting
*
* @param string $action: can be 'encrypt' or 'decrypt'
* @param string $string: string to encrypt or decrypt
*
* @return string
*/