Skip to content

Instantly share code, notes, and snippets.

View v3rt1go's full-sized avatar

Alex Griciuc v3rt1go

  • Bucharest, Romania
View GitHub Profile
@v3rt1go
v3rt1go / 0_reuse_code.js
Created September 24, 2015 11:27
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@v3rt1go
v3rt1go / fedora-install-nodejs.sh
Created November 18, 2015 01:10 — forked from trajakovic/fedora-install-nodejs.sh
Install node.js on fedora (23+).(v5.0.0)
#!/usr/bin/env bash
func_check_for_root() {
if [ ! $( id -u ) -eq 0 ]; then
echo "ERROR: $0 Must be run as root, Script terminating" ;exit 7
fi
}
func_check_for_root
#SETUP PARAMS
<configSections>
<section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog" />
<sectionGroup name="common">
<section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
</sectionGroup>
</configSections>
<common>
<logging>
<factoryAdapter type="Common.Logging.NLog.NLogLoggerFactoryAdapter, Common.Logging.NLog31">
@v3rt1go
v3rt1go / App.config
Created June 30, 2016 08:47 — forked from TimMurphy/App.config
.NET solution
<configSections>
<section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog" />
</configSections>
<nlog throwExceptions="false" xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<time type="AccurateUTC" />
<targets>
<target xsi:type="Chainsaw" name="Chainsaw" address="udp://127.0.0.1:7071" />
<target xsi:type="Trace" name="Trace" layout="NLog | ${level:padding=5} | ${logger} | ${message}" />
</targets>