Skip to content

Instantly share code, notes, and snippets.

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

skorpions2000 skorpions2000

🏠
Working from home
View GitHub Profile
@skorpions2000
skorpions2000 / gist:1f744996192da79583b98c6181333b66
Created April 6, 2021 10:42 — forked from smglab/gist:a5f4fcfb094f54c44ff0
Kivy Dynamically adding items to ScrollView at the end scroll
from kivy.uix.scrollview import ScrollView
class EndEventScroll(ScrollView):
def on_scroll_stop(self, *args, **kwargs):
result = super(EndEventScroll, self).on_scroll_stop(*args, **kwargs)
if self.scroll_y < 0 and hasattr(self, 'on_end_event'):
self.on_end_event()
@skorpions2000
skorpions2000 / perfex_hooks_list
Created October 19, 2021 19:24 — forked from JamesSimpson/perfex_hooks_list
Full Perfex Hook List - For Perfex CRM Developers
File ---> application\controllers\admin\Authentication.php:
23: hooks()->do_action('admin_auth_init');
80: hooks()->do_action('after_staff_login');
107: hooks()->do_action('after_staff_login');
117: hooks()->do_action('after_staff_login');
219: hooks()->do_action('after_user_logout');
File ---> application\controllers\admin\Auto_update.php:
14: hooks()->do_action('before_perform_update', $latest_version);
@skorpions2000
skorpions2000 / Perfex Language Cheat Sheet
Created October 19, 2021 19:25 — forked from JamesSimpson/Perfex Language Cheat Sheet
Guide to all Perfex CRM language functions
// Quick Reference Guide For Perfex CRM Language functions
_l('string') // Basic language conversion
_d('date') // Will output formatted date (Although seems to output datetime if datetime in DB)
_dt('datetime') // Will output formatted datetime output