Skip to content

Instantly share code, notes, and snippets.

@Marook332
Marook332 / enterprise_token.rb
Created January 30, 2023 16:02 — 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-2020 the OpenProject GmbH
#
# This program is free software; you can redistribute it and/or
@Marook332
Marook332 / 3d-js-animated-clock.markdown
Created October 2, 2019 12:34
3D JS Animated Clock

3D JS Animated Clock

Built for Javascript Animated Clock Challenge at JOMWEB.my. Learnt to use CSS3 3D effects and JQuery for the simple animation.

Tested to be working on Chrome 28.0 and Firefox 22.0. However it's not working on IE 10 due to some JQuery access denied error, which I didn't bother to fix. :)

Forked from Shamsul Amry's Pen 3D JS Animated Clock.

A Pen by Marook332 on CodePen.

@Marook332
Marook332 / index.html
Created May 4, 2019 12:45
Pure CSS watch animation
<div class="wrapper">
<div class="watch-strap">
<div class="strap-circle"></div>
<div class="strap"></div>
<div class="watch-strap-holder left-up"></div>
<div class="watch-strap-holder left-bottom"></div>
<div class="watch-strap-holder right-up"></div>
<div class="watch-strap-holder right-bottom"></div>
<div class="watch-lace">
<div></div>
@Marook332
Marook332 / whatsapp_phone_enumerator_floated_div.js
Created May 12, 2017 18:37
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses (floated div)
/*
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses
Floated div edition
01-05-2017
(c) 2017 - Loran Kloeze - loran@ralon.nl
This script creates a UI on top of the WhatsApp Web interface. It enumerates certain kinds
of information from a range of phonenumbers. It doesn't matter if these numbers are part
of your contact list. At the end a table is displayed containing phonenumbers, profile pics,
about texts and online statuses. The online statuses are being updated every
@Marook332
Marook332 / winrm_setup.bat
Created December 14, 2016 23:47 — forked from juanje/winrm_setup.bat
Batch script for activating the remote administration on Windows vía WinrRM
@ECHO ON
REM This batch script is almost identical to http://code.can.cd/winrm_setup.bat
REM To use this from powershell on windows in a one liner:
REM (New-Object System.Net.WebClient).DownloadFile('https://gist.github.com/juanje/8496054/raw/winrm_setup.bat','winrm_setup.bat') ; .\winrm_setup.bat
cmd.exe /c winrm quickconfig -q
cmd.exe /c winrm quickconfig -transport:http
cmd.exe /c winrm set winrm/config @{MaxTimeoutms="1800000"}
cmd.exe /c winrm set winrm/config/winrs @{MaxMemoryPerShellMB="300"}
cmd.exe /c winrm set winrm/config/service @{AllowUnencrypted="true"}
@Marook332
Marook332 / _service.md
Created November 10, 2016 09:00 — forked from naholyr/_service.md
Sample /etc/init.d script

Sample service script for debianoids

Look at LSB init scripts for more information.

Usage

Copy to /etc/init.d:

# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)