Skip to content

Instantly share code, notes, and snippets.

View sirusdas's full-sized avatar
😎
Think Interesting!!!

Suresh sirusdas

😎
Think Interesting!!!
View GitHub Profile
@CC1119
CC1119 / enterprise_token.rb
Last active November 18, 2024 11:38 — forked from markasoftware/enterprise_token.rb
OpenProject Enterprise mode for free
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ it doesn't show that enterprise mode is enabled in the settings, but all ################
############ enterprise mode features, such as KanBan boards, are enabled. ################
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) 2012-2024 the OpenProject GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
@xflr6
xflr6 / walk_gdrive.py
Last active July 27, 2024 18:38
Recursively traverse the directory tree of a Google Drive folder as variation of os.walk()
"""os.walk() variation with Google Drive API."""
import os
from apiclient.discovery import build # pip install google-api-python-client
FOLDER = 'application/vnd.google-apps.folder'
def get_credentials(scopes, *,
@sirusdas
sirusdas / Show-Hide Blocks in Html Automated
Last active July 30, 2016 10:03
Show-Hide Blocks in Html using Jquery and exapand when you hit + and close when you hit -
<!DOCTYPE html>
<html>
<head>
<style>
sh{
display: none;
}
.wpe-box .sh0{
float: right;