Skip to content

Instantly share code, notes, and snippets.

View Sohaib-Sherif's full-sized avatar
🧐
Analyzing new possiblities

Sohaib Sherif Sohaib-Sherif

🧐
Analyzing new possiblities
View GitHub Profile
@Sohaib-Sherif
Sohaib-Sherif / Dockerfile
Created December 8, 2020 14:56 — forked from shumbashi/Dockerfile
Dockerfile multi-stage example for JS/PHP App
###############################################################################
# Step 1 : NPM Builder image
#
FROM node:lts-alpine AS npm-builder
# Define working directory and copy source
WORKDIR /home/node/app
COPY ./my_app/package.json ./my_app/modernizr-config.json ./
# Install dependencies and build whatever you have to build
RUN apk add --no-cache git
{"basics":{"name":"Sohaib Sherif","picture":"https://avatars2.githubusercontent.com/u/30739288?v=4","label":"Software Developer","headline":null,"summary":"hello me name is sohaib and I am a web developer","website":null,"blog":null,"yearsOfExperience":1,"id":"f70919e4-579a-41a1-bb34-53993933879b","username":"Sohaib-Sherif","karma":10,"email":"triples17t@gmail.com","region":"Tripoli. Libya","location":{},"phone":"0927562039","followers":11,"following":11,"profiles":[{"network":"gitconnected","username":"Sohaib-Sherif","url":"https://gitconnected.com/Sohaib-Sherif"},{"network":"GitHub","username":"Sohaib-Sherif","url":"https://github.com/Sohaib-Sherif"},{"network":"LinkedIn","url":"https://www.linkedin.com/in/sohaib-sherif","username":"sohaib-sherif"}]},"skills":[{"name":"JavaScript","level":"Advanced","rating":4,"yearsOfExperience":2,"keywords":[]},{"name":"Java","level":"Advanced","rating":4,"yearsOfExperience":3,"keywords":[]},{"name":"Laravel","level":"Advanced","rating":4,"yearsOfExperience":2,"keywords":
@Sohaib-Sherif
Sohaib-Sherif / ajax-with-disabled-filtering.markdown
Created September 13, 2019 06:36
AJAX with disabled filtering

AJAX with disabled filtering

When making AJAX requests with vue-select, you may want to disable client side filtering. The filterable prop allows client filtering to be turned on or off.

A Pen by Jeff on CodePen.

License.

@Sohaib-Sherif
Sohaib-Sherif / H2JDBC
Created February 26, 2018 18:54 — forked from volnoboy/H2JDBC
H2 JDBC Example
package com.volnoboy;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class H2JDBC {