This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def cmd(c) | |
system c | |
end | |
namespace :tddium do | |
desc 'post_build_hook' | |
task :post_build_hook do | |
return unless ENV['TDDIUM_MODE'] == 'ci' | |
return unless ENV['TDDIUM_BUILD_STATUS'] == 'passed' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function changeTopic(topic) { | |
console.log((new Date()) + ' The topic was changed to: ' + topic); | |
var text = htmlEntities(topic); | |
currentTopic = text; | |
var json = JSON.stringify({ type:'topic', data: text }); | |
for (var i=0; i < clients.length; i++) { | |
clients[i].sendUTF(json); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask, views, request, render_template, send_file | |
import os, csv, codecs | |
from xml.sax.saxutils import escape | |
from xml.dom.minidom import Document | |
#----------------------------- | |
# App Configuration | |
class Config: | |
ALLOWED_EXTENSIONS = set(['txt', 'csv']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask, views, request, redirect, url_for, render_template, flash, send_from_directory | |
from werkzeug import secure_filename | |
import os, csv | |
from xml.sax.saxutils import escape | |
UPLOAD_FOLDER = '/home/atharp/uploads' | |
ALLOWED_EXTENSIONS = set(['txt', 'csv']) | |
SECRET_KEY = 'super_secret_encoding_string!' | |
app = Flask(__name__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask, views, request, redirect, url_for, render_template, flash, send_from_directory | |
from werkzeug import secure_filename | |
import os, csv | |
from xml.sax.saxutils import escape | |
UPLOAD_FOLDER = '/home/atharp/uploads' | |
ALLOWED_EXTENSIONS = set(['txt', 'csv']) | |
SECRET_KEY = 'super_secret_encoding_string!' | |
app = Flask(__name__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@aegis ~]# pacman -Syu | |
:: Synchronizing package databases... | |
core is up to date | |
extra is up to date | |
community is up to date | |
:: The following packages should be upgraded first : | |
pacman | |
:: Do you want to cancel the current operation | |
:: and upgrade these packages now? [Y/n] Y |