Skip to content

Instantly share code, notes, and snippets.

View ayoubelmhamdi's full-sized avatar
🏠
Working from home

AYOUB EL MHAMDI ayoubelmhamdi

🏠
Working from home
View GitHub Profile
@ayoubelmhamdi
ayoubelmhamdi / Connect Google Colab+Drive with SSH.ipynb
Created October 23, 2022 17:29 — forked from bikcrum/Connect Google Colab+Drive with SSH.ipynb
This is the way how can you connect google colab as well as google drive (mounted) using SSH. This is useful when you want to download data directly to your google drive specially for machine learning purpose. It can be easy to mount google drive and use files into for your code.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ayoubelmhamdi
ayoubelmhamdi / IDM Reset.bat
Created July 6, 2022 08:51 — forked from Egyiastic/IDM Reset.bat
Reset Internet Download Manager
@Echo Off
Title IDM Trial Reset by http://arabia-geeks.blogspot.com/ & Color 57
@Echo Resetting your IDM License Brought to you by http://arabia-geeks.blogspot.com/
@Echo.
@Echo.
Pause
TASKKILL /F /IM IDMan.exe
@ECHO.
@echo Off HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC} [7] >permdel.txt

luasnip.txt For NVIM v0.5.0 Last change: 2022 April 05

============================================================================== Table of Contents luasnip-table-of-contents

  1. BASICS |luasnip-basics|
  2. NODE |luasnip-node|
  3. SNIPPETS |luasnip-snippets|
  • Api: |luasnip-api:|
  1. TEXTNODE |luasnip-textnode|
@ayoubelmhamdi
ayoubelmhamdi / mini.lua
Created September 10, 2021 22:24
my mini neovim config
vim.cmd([[
autocmd BufWritePost mini.lua source <afile> | PackerCompile
set mouse=a
set clipboard=unnamedplus
set nowrap
set rnu nu
set autoindent
set smartindent
@ayoubelmhamdi
ayoubelmhamdi / mini.lua
Last active August 6, 2021 03:38
mini.lu for neovim with luasnip
vim.cmd([[
autocmd BufWritePost mini.lua source <afile> | PackerCompile
set mouse=a
set clipboard=unnamedplus
set nowrap
set rnu nu
set autoindent
set smartindent
set tabstop=4
# Note: Still WIP
#
# Create a virtual machine, with 8GB + 4cpus. This such that compilation
# goes fast and you can pass for jobs (-j4) to make.
#
#
# Use any disk to boot. I used the archlinux boot disk because it works
# and it has the genfstab utility which makes it easy to create the mount table.
#
@ayoubelmhamdi
ayoubelmhamdi / artix.md
Created July 10, 2021 11:26 — forked from psygo/artix.md
Arch/Artix Installation (also includes dual-booting with Windows)

Ubuntu on Acer Aspire Switch

The problem

What's the problem with this tablet? Why can't I just insert the USB and mash F12 until it boots? The tablet is made to run Windows 8.1 and Windows 8.1 only. Because of the stupidity that is UEFI (specifically it's "Safe boot" feature) we can't just boot from any USB stick we want.

Also, because someone thought putting a 32-bit UEFI on a 64-bit system was a good idea.

NOTE: This guide focuses on installing Ubuntu alongside Windows. If you're trying to replace Windows, then I assume you know enough about Linux to know which parts to change.

this is neovim-0-5