Skip to content

Instantly share code, notes, and snippets.

View ascorbic-acid's full-sized avatar

Imad Abdou ascorbic-acid

View GitHub Profile
@ascorbic-acid
ascorbic-acid / install-guide.md
Last active February 6, 2026 13:14
How to Install ERPNext v15 & Frappe Framework on Ubuntu 22.04 / 24.04

How to Install ERPNext v15 & Frappe Framework on Ubuntu 22.04 / 24.04

This tutorial provides a step-by-step walkthrough for installing the Frappe Framework and ERPNext v14/15. While it is best compatible with Ubuntu 22.04 LTS for Production or development usecase, these steps also support Ubuntu 24.04 for development which i dont recommend anyway but you can try also with help of uv/pipx.

Install Required Packages for Frappe Framework.

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install software-properties-common \
nginx wget zip unzip git curl file certbot python3-pip \
@hardselius
hardselius / toc.md
Last active February 18, 2026 07:21
My Gists

My gists

This is my gist. There are many like it, but this one is mine.

Big Brain SEO since March 2025 until ???

For some reason, this gist seem to show up as a top result when googling for "github gists". I don't know why, but it's amusing. Anyways. Keep commenting if you want to. I guess that will give me an idea of for how long this bs continues. Cheers people. Free Palestine! 🇵🇸 Free Iran! 🇮🇷

But what about MY gists?

@a1ip
a1ip / radios.m3u
Created February 12, 2020 13:35
Христианское Радио
#EXTM3U
#EXTINF:0,RadioMv.com | Russian Christian Music
http://ru-music.radiomv.co:1918
#EXTINF:0,RadioMv.com | Russian Christian Radio
http://ru-high.radiomv.co:2204
#EXTINF:0,RadioMv.com | English Christian Radio
http://en-high.radiomv.co:2102
#EXTINF:0,Детское Христианское Радио
http://live.detskoeradio.org/radio/8010/radio.mp3
#EXTINF:0,Радио Голос Мира | Чтение Библии
@scottopolis
scottopolis / woo-product-api-filter.php
Last active June 20, 2022 14:47
Modify WooCommerce REST API Product Response
<?php
// add this code to a custom plugin
add_filter( 'woocommerce_rest_prepare_product_object', 'wc_app_add_custom_data_to_product', 10, 3 );
// filter the product response here
function wc_app_add_custom_data_to_product( $response, $post, $request ) {
// in this case we want to display the short description, so we copy it over to the description, which shows up in the app
$response->data['description'] = $response->data['short_description'];
return $response;
@pingrishabh
pingrishabh / .gitignore
Created March 3, 2019 04:18
Standardised gitignore for your Flutter apps & Dart projects
### Flutter Generated
# Miscellaneous
*.class
*.lock
*.log
*.pyc
*.swp
.DS_Store
.atom/
@GhostofGoes
GhostofGoes / .gitignore
Created October 4, 2018 04:29
Basic .gitignore template for Python projects
# Editors
.vscode/
.idea/
# Vagrant
.vagrant/
# Mac/OSX
.DS_Store
@ahmadawais
ahmadawais / flywheel-local-xdebug-vscode.md
Last active September 30, 2025 13:13
Debug WordPress with Visual Studio Code | VSCode WordPress Debug Setup | WordPress xDebug Setup for Local by FlyWheel with VSCode | Part of the VSCode Learning Course → https://VSCode.pro

VSCode WordPress Debugging Setup: WordPress Xdebug Setup for Local by FlyWheel with VSCode


Consider supporting my work by purchasing the course this tutorial is a part of i.e. VSCode Power User

🚅 TL;DR

  • Make sure your Local by FlyWheel WordPress install is a custom install
@wastrachan
wastrachan / openvpn-in-lxd.txt
Last active March 21, 2023 13:07
OpenVPN in LXD Container
# On the host
=============
lxc config set openvpn raw.lxc 'lxc.cgroup.devices.allow = c 10:200 rwm'
lxc config device add openvpn tun unix-char path=/dev/net/tun
# In the container
==================
1. mknod /dev/net/tun c 10 200
@tanaikech
tanaikech / submit.md
Last active February 15, 2026 10:45
Downloading Shared Files on Google Drive Using Curl

Downloading Shared Files on Google Drive Using Curl

When the shared files on Google Drive is downloaded, it is necessary to change the download method by the file size. The boundary of file size when the method is changed is about 40MB.

File size < 40MB

CURL

filename="### filename ###"
fileid="### file ID ###"
curl -L -o ${filename} "https://drive.google.com/uc?export=download&amp;id=${fileid}"
@sabpprook
sabpprook / gist:3a05cdaa0a2bab91de35a9de5d3bd2cf
Created September 19, 2016 23:27
Android ID change via ADB shell
adb shell content query --uri content://settings/secure --where "name=\'android_id\'"
adb shell content delete --uri content://settings/secure --where "name=\'android_id\'"
adb shell content insert --uri content://settings/secure --bind name:s:android_id --bind value:s:7373de1e9e9670c2