Skip to content

Instantly share code, notes, and snippets.

View xfalcox's full-sized avatar
🏠
Working from home

Rafael dos Santos Silva xfalcox

🏠
Working from home
View GitHub Profile
This file has been truncated, but you can view the full file.
--
-- PostgreSQL database dump
--
-- Dumped from database version 14.3
-- Dumped by pg_dump version 14.3
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
@xfalcox
xfalcox / discourse_pg_dump
Created November 29, 2021 19:23
Discourse current Schema
--
-- PostgreSQL database dump
--
-- Dumped from database version 13.4
-- Dumped by pg_dump version 13.4
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
@xfalcox
xfalcox / cla.md
Last active February 12, 2020 18:05
Discourse Contributor License Agreement

Discourse Contributor License Agreement

The document below clarifies the terms under which You (the copyright owner or legal entity authorized by the copyright owner), may make "The Contributions" (software, bug fixes, configuration changes, documentation, or any other materials) to "The Work" (Discourse/Discourse). This license protects You, "The Company" (Civilized Discourse Construction Kit, Inc.) and licensees; it does not change your rights to use your own contributions for any other purpose.

You and "The Company" (Civilized Discourse Construction Kit, Inc.) agree:

• You grant to "The Company" (Civilized Discourse Construction Kit, Inc.) a non-exclusive, irrevocable, worldwide, royalty-free, sublicenseable, relicenseable, transferable license under all of Your relevant intellectual property rights, to use, copy, prepare derivative works of, distribute and publicly perform and display "The Contributions" on any licensing terms, including without limitation: (a) open source licenses like the GNU Gener

@xfalcox
xfalcox / output.log
Created July 4, 2018 01:57
Steam Dota 2 Log
➜ ~ ~/.local/share/Steam/steam.sh
Running Steam on ubuntu 18.04 64-bit
@xfalcox
xfalcox / server.sh
Created June 15, 2018 00:24
Factorio
wget -qO- https://get.docker.com/ | sh
mkdir -p /opt/factorio
chown 845:845 /opt/factorio
docker run -d -p 34197:34197/udp -p 27015:27015/tcp -v /opt/factorio:/factorio --name factorio --restart=always dtandersen/factorio
@xfalcox
xfalcox / ldap.patch
Created May 7, 2018 22:08
Wekan Ldap Testing
diff --git a/lib/server.js b/lib/server.js
index 2a925dc..546566d 100644
--- a/lib/server.js
+++ b/lib/server.js
@@ -160,6 +160,7 @@ AT.prototype._init = function() {
}
}
+ // console.log("Accounts", Accounts.findUserByEmail('teste47@teste.com'));
// Marks AccountsTemplates as initialized
@xfalcox
xfalcox / rocketchatdark.js
Last active December 19, 2017 23:03
Rocket Chat Dark Theme
// From https://github.com/0x0049/Rocket.Chat.Dark/blob/master/dist/dark.css
function css() {var css = `
.primary-background-color {
background-color: transparent;
}
.side-nav .footer {
display: none;
}
.side-nav .rooms-list,
.account-box .options,
@xfalcox
xfalcox / admin.inc
Created March 23, 2017 17:58
Drupal Discourse
<?php
/**
* @file
* Contains the settings and configuration forms for managing Discourse comments.
*/
// =========================
// Content settings
// =========================
@xfalcox
xfalcox / before.sh
Last active January 12, 2017 01:13
wordpress
wget -qO- https://get.docker.com/ | sh
curl -L "https://github.com/docker/compose/releases/download/1.9.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
mkdir /var/wordpress
cd /var/wordpress
nano docker-compose.yml
# Copiar o conteúdo outro arquivo
docker-compose up
@xfalcox
xfalcox / .i3blocks.conf
Last active March 13, 2023 15:57
i3blocks config
# i3blocks config file
#
# Please see man i3blocks for a complete reference!
# The man page is also hosted at http://vivien.github.io/i3blocks
#
# List of valid properties:
#
# align
# color
# command