Skip to content

Instantly share code, notes, and snippets.

Bla bla

Bogdan storytime

Bla bla
View GitHub Profile
storytime / 0_reuse_code.js
Created Aug 3, 2017
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
# Misc:
- Update system -
cat /etc/redhat-release --> see 6.5
yum update
cat /etc/redhat-release --> see 6.6
- Enable repo -
rpm -ivh epel-release-6-8.noarch.rpm
storytime / tomcat-user.xml
Last active Aug 29, 2015
View tomcat-user.xml
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users xmlns=""
xsi:schemaLocation=" tomcat-users.xsd"
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<role rolename="admin-gui"/>
# Tomcat 8 start/stop/status init.d script
# Initially forked from:
# @author: Miglen Evlogiev <>
# Release updates:
# Updated method for gathering pid of the current proccess
# Added usage of CATALINA_BASE
# Added coloring and additional status
storytime / fk.js
Created Apr 21, 2014
RequireJS Example
View fk.js
define(function () {
return function (s) {
return s.toUpperCase();
You can’t perform that action at this time.