Skip to content

Instantly share code, notes, and snippets.

Avatar

Mohamed ElShahawi ExtremeGTX

  • Germany
View GitHub Profile
@ExtremeGTX
ExtremeGTX / Bootstrap4ThreeRowsPage.html
Created Jan 28, 2019
Bootstrap 4 Three Rows Page contains Tabulator, Responsive and Fit browser Window
View Bootstrap4ThreeRowsPage.html
<!doctype html>
<html lang="en">
<head>
<style>
html,body{
height: 100%;
}
.container-fluid{
background: red;
@ExtremeGTX
ExtremeGTX / proxy_tips.md
Last active Jan 25, 2019
Some tips about Proxy in Development Environment
View proxy_tips.md

Setting System Wide Proxy for python pip and nodejs npm:

set HTTP_PROXY=http://username:pAssw0rd@100.100.10.10:8080
set HTTPS_PROXY=https://username:pAssw0rd@100.100.10.10:8080

Proxy credentials can be provided in the url as the following:

format: http://username:password@proxy_address:port
example: http://username:pAssw0rd@100.100.10.10:8080

@ExtremeGTX
ExtremeGTX / ProcessExtensions.cs
Created Jul 26, 2018 — forked from heri16/ProcessExtensions.cs
Powershell / C# class to start a GUI Windows Process on the desktop/session of any logged-in RDP/TS user.
View ProcessExtensions.cs
using System;
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
using System.IO;
namespace heri16
{
/// <summary>
/// Static class to help Start a GUI/Console Windows Process as any user that is logged-in to an Interactive Terminal-Session (e.g. RDP).
View Angular5 and Firestore Resources
Angular Firebase (channel):
https://www.youtube.com/channel/UCsBjURrPoezykLs9EqgamOA/search?query=firestore
Quick Start:
https://angularfirebase.com/lessons/firestore-with-angularfire-basics/
OAuth (Google, fb, etc.) Sign-in:
https://angularfirebase.com/lessons/google-user-auth-with-firestore-custom-data/
Python SDK (maybe used on RPi)
View RPi_3 IVI
Getting PELUX+QtAuto on the Raspberry Pi 3
http://pelux.io/yocto/2017/10/27/QtAuto-on-Raspberry-Pi.html
https://github.com/Pelagicore/pelux.io/blob/master/_posts/2017-10-27-QtAuto-on-Raspberry-Pi.md
Open source Linux automotive stack runs on Raspberry Pi and new Intel ARP
https://hk.saowen.com/a/dcec63f458192d85ecf1bda47659b110064e541a5cd6886851c89fd5d0622952
#Android AUTO
@ExtremeGTX
ExtremeGTX / Windows7 USB installer.cmd
Created Dec 27, 2017
Windows batch script for making a bootable USB Disk
View Windows7 USB installer.cmd
@echo off
TITLE "Windows 7 USB installer by MOHAMED EL-SHAHAWI"
set _DVD=H:
:Menu
CLS
echo.
echo. Windows 7 USB installer
echo.
@ExtremeGTX
ExtremeGTX / cmd_colorz.ps1
Created Nov 19, 2017
PS: colorize command output
View cmd_colorz.ps1
.\CompilerSim.exe | foreach-object -process {
switch ($_){
{ $_.tolower().contains("warning")} {Write-Host $_ -foregroundColor Yellow}
{ $_.tolower().contains("error")} {Write-Host $_ -foregroundColor Red}
default {Write-Host $_ -foregroundColor White}
}
}
#Ref: https://stackoverflow.com/a/9530314/2747089
@ExtremeGTX
ExtremeGTX / MyGIT_Ref
Last active Oct 28, 2017
My Git Reference
View MyGIT_Ref
Add Submodule to repo:
git add submodule http://---- source/
Add All Changes
git add .
Add Some files only
git add <filename> <filename2>
Open VIM for commit message before commit:
@ExtremeGTX
ExtremeGTX / ai_DuplicateItems.jsx
Created Jun 18, 2017
A Script for Adobe Illustrator to Duplicate Items Hor/Ver with Margin
View ai_DuplicateItems.jsx
// A Script for Adobe Illustrator to Duplicate Items Hor/Ver with Margin
// Originally by https://github.com/hilukasz
// Modified by Mohamed ElShahawi (ExtremeGTX)
app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
var doc = app.activeDocument;
var selected = doc.selection;
var selectedHeight = selected[0].height;