Skip to content

Instantly share code, notes, and snippets.

View ayoubjamouhi's full-sized avatar

Ayoub JAMOUHI ayoubjamouhi

View GitHub Profile
@ayoubjamouhi
ayoubjamouhi / top-brew-packages.txt
Created August 19, 2023 10:46 — forked from pmkay/top-brew-packages.txt
Top homebrew packages
node: Platform built on V8 to build network applications
git: Distributed revision control system
wget: Internet file retriever
yarn: JavaScript package manager
python3: Interpreted, interactive, object-oriented programming language
coreutils: GNU File, Shell, and Text utilities
pkg-config: Manage compile and link flags for libraries
chromedriver: Tool for automated testing of webapps across many browsers
awscli: Official Amazon AWS command-line interface
automake: Tool for generating GNU Standards-compliant Makefiles
@ayoubjamouhi
ayoubjamouhi / Fix.md
Created August 1, 2023 13:32 — forked from reytech-dev/Fix.md
ZONE_CONFLICT: 'docker0' already bound to a zone
  1. Check if docker zone exists in firewall-cmd
$ firewall-cmd --get-active-zones
  1. If "docker" zone is available, change interface to docker0 (not persisted)
$ sudo firewall-cmd --zone=docker --change-interface=docker0
  1. If "docker" zone is available, change interface to docker0 (persisted, thanks rbjorklin)
https://www.getpostman.com/
First part from https://blog.bluematador.com/posts/postman-how-to-install-on-ubuntu-1604/
wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz
sudo tar -xzf postman.tar.gz -C /opt
rm postman.tar.gz
sudo ln -s /opt/Postman/Postman /usr/bin/postman
But when launching postman from command prompt got an error:
@ayoubjamouhi
ayoubjamouhi / jvzoo-IPN-verification.js
Created August 4, 2021 14:45 — forked from OffS3c/jvzoo-IPN-verification.js
JVZoo IPN verification function (ported from PHP one)
/*
Hello dear developers,
I ported this function for JVZoo IPN verification from PHP one at
(https://jvzoo.zendesk.com/hc/en-us/articles/206456857-JVZIPN-How-to-create-your-own-integrated-script) and
wanted to share that with all fellow devs.
REF: https://jvzoo.zendesk.com/hc/en-us/articles/206456857-JVZIPN-How-to-create-your-own-integrated-script
@ayoubjamouhi
ayoubjamouhi / .hyper.js
Created February 26, 2020 13:16 — forked from droidMakk/.hyper.js
Hyper plugins customization config
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
@ayoubjamouhi
ayoubjamouhi / README.md
Created July 25, 2019 08:12 — forked from agustif/README.md
NextJS sitemap generator with dynamic URL

NextJS sitemap generator

Install

The current setup has been tested on Next Js 7.0.0.

You need to install Axios.

$ npm install axios
@ayoubjamouhi
ayoubjamouhi / meta-tags.md
Created July 17, 2019 16:45 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
@ayoubjamouhi
ayoubjamouhi / meta-tags.md
Created July 17, 2019 16:37 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset="UTF-8">
<meta name="keywords" content="your, tags">
<meta name="description" content="150 words">
<meta name="subject" content="your website"s subject">
<meta name="copyright" content="company name">

Moving from jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})