Skip to content

Instantly share code, notes, and snippets.

View Ademking's full-sized avatar
🍪
Eating Cookies

Adem Kouki Ademking

🍪
Eating Cookies
View GitHub Profile
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>SmartPhone Store</title>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Open+Sans:400,300,600" rel="stylesheet" type="text/css">
@Ademking
Ademking / README.md
Last active November 19, 2021 14:08
Laravel - How to fix date problem with SQL Server
// path: serverSide\vendor\laravel\framework\src\Illuminate\Database\Query\Grammars\SqlServerGrammar.php

public function getDateFormat()
    {
        return 'Y-d-m H:i:s.v'; // use y-d-m or y-m-d
    }
@Ademking
Ademking / go_installer.sh
Last active May 4, 2021 02:57
Installer for VPS ( Go + Git + Curl + Other tools )
#!/bin/bash
export GOFILE="go1.16.3.linux-amd64.tar.gz"
cd ~
wget "https://golang.org/dl/$GOFILE"
sudo tar -C /usr/local -xzf "$GOFILE"
rm "$GOFILE"
echo '#go configuration' >> ~/.bashrc
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
echo 'export GOPATH=$HOME/go' >> ~/.bashrc
@Ademking
Ademking / README.md
Created March 24, 2021 01:00
How to fix VirtualBox Error: Kernel driver not installed (rc=-1908) Ubuntu

To fix VirtualBox Error: Kernel driver not installed (rc=-1908), run:

sudo apt install --reinstall linux-headers-$(uname -r) virtualbox-dkms dkms
@Ademking
Ademking / README.md
Created March 8, 2021 11:07
Generate Jmeter HTML report from JMX file
jmeter -n -t /home/pc/path_to_jmx/file.jmx -l /home/pc/where_to_save_csv_log/file.csv -e -o /home/pc/where_to_save_html_report/
@Ademking
Ademking / README.md
Last active March 17, 2025 13:15
How to install acunetix (linux)
@Ademking
Ademking / palestine_places.json
Created January 31, 2021 20:01
List of palestine cities
{
"بيت لاهيا ": "109",
"جباليا": "111",
"رفح": "117",
"خانيونس ": "281",
"دير البلح ": "283",
"بيت حانون ": "294",
"غزة": "296",
"المغازي": "343",
"الناصرة": "354",
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
@Ademking
Ademking / index.html
Created December 31, 2020 02:18
Calculatrice JS
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calculatrice JS</title>
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300" rel="stylesheet" type="text/css">
<style>
body {
@Ademking
Ademking / test.css
Last active December 30, 2020 07:53
test
/* Custom tlk.io Chatroom CSS */
@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro');
#header {
display: none;
}
#channel {
text-transform: uppercase;