One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
""" | |
simple logging module | |
""" | |
import logging | |
class Logger(object): | |
""" | |
Logger class which is used to log the messages | |
""" | |
@classmethod |
""" | |
Moudle for DB connection | |
""" | |
import sqlalchemy | |
from sqlalchemy import create_engine, ForeignKey | |
from sqlalchemy.ext.declarative import declarative_base | |
engine = create_engine('sqlite:///../AppData/AMS.db', echo=True) | |
Base = declarative_base() |
#!/bin/bash | |
#AssetTag | |
AssetTag=`hostname` | |
printf "\n" >> service2.txt | |
echo "AssetTag: "$AssetTag >> service2.txt | |
# MacID | |
macID=$(ifconfig en1 | awk '/ether/{print $2}') |
using System.Security.Cryptography; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var privatekey = "RN4nog0661VvjzphNg48372t747365mNfSxirueSDYstqsqeQn?="; | |
var skey = "e99308c2e3373fb041775a0c813f397d"; | |
var c = new Program(); | |
var encrypted = c.crypto(skey, privatekey, "encrypt"); |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>title</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> | |
</head> | |
<body> | |
<script> | |
$(document).ready(function(){ |
/* | |
Relies on jQuery, underscore.js, Async.js (https://github.com/caolan/async), and zip.js (http://gildas-lormeau.github.com/zip.js). | |
Tested only in Chrome on OS X. | |
Call xlsxParser.parse(file) where file is an instance of File. For example (untested): | |
document.ondrop = function(e) { | |
var file = e.dataTransfer.files[0]; | |
excelParser.parse(file).then(function(data) { | |
console.log(data); |
Vishnu Vardhan Rao, [19.09.16 23:53] | |
remote: —---> Building dependencies | |
remote: Installing node modules (package.json) | |
remote: | |
remote: > [email protected] install /tmp/build_7bd0439f90b831f3072f80dfb90c546d/node_modules/node-icu-charset-detector | |
remote: > node-gyp rebuild | |
remote: | |
remote: make: Entering directory `/tmp/build_7bd0439f90b831f3072f80dfb90c546d/node_modules/node-icu-charset-detector/build' | |
remote: CXX(target) Release/obj.target/node-icu-charset-detector/node-icu-charset-detector.o | |
remote: ../node-icu-charset-detector.cpp:7:28: fatal error: unicode/ucsdet.h: No such file or directory |
// variables | |
var express = require('express'); | |
var path = require('path'); | |
var favicon = require('serve-favicon'); | |
var bodyParser = require('body-parser'); | |
var morgan = require('morgan'); | |
var uuid = require('uuid'); | |
var app = express(); | |
console.log(uuid.v4()); |