Skip to content

Instantly share code, notes, and snippets.

:electron:
Bla bla

Bogdan storytime

:electron:
Bla bla
Block or report user

Report or block storytime

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@storytime
storytime / fk.js
Created Apr 21, 2014
RequireJS Example
View fk.js
define(function () {
return function (s) {
return s.toUpperCase();
};
});
View tomcat8.sh
#!/bin/bash
#
# Tomcat 8 start/stop/status init.d script
# Initially forked from: https://gist.github.com/valotas/1000094
# @author: Miglen Evlogiev <bash@miglen.com>
#
# Release updates:
# Updated method for gathering pid of the current proccess
# Added usage of CATALINA_BASE
# Added coloring and additional status
@storytime
storytime / tomcat-user.xml
Last active Aug 29, 2015
tomcat-user.xml
View tomcat-user.xml
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users xmlns="http://tomcat.apache.org/xml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
version="1.0">
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<role rolename="admin-gui"/>
View OSRM.sh
# Misc:
- Update system -
cat /etc/redhat-release --> see 6.5
yum update
reboot
cat /etc/redhat-release --> see 6.6
- Enable repo -
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
@storytime
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
You can’t perform that action at this time.