I hereby claim:
- I am anaynayak on github.
- I am anay (https://keybase.io/anay) on keybase.
- I have a public key whose fingerprint is 555A A55F 2E91 306A 5EDD DEEA 9467 8869 A9A2 0850
To claim this, I am signing this object:
| data MessageType = Info | |
| | Warning | |
| | Error Int | |
| deriving (Show, Eq) | |
| type TimeStamp = Int | |
| data LogMessage = LogMessage MessageType TimeStamp String | |
| | Unknown String | |
| deriving (Show, Eq) |
| import sys | |
| from PyQt5.QtWidgets import QSystemTrayIcon, QApplication | |
| from PyQt5.QtGui import QIcon | |
| class BuildNotifyTest: | |
| def __init__(self, app): | |
| self.app = app | |
| self.tray = QSystemTrayIcon(QIcon.fromTheme("edit-undo"), self.app) |
| (function ($) { | |
| var highlightEnvs = prompt('Highlight nodes containing(comma separated)', 'Prod,prd').split(','); | |
| var hideEnvs = prompt('Hide nodes containing(comma separated)', 'dev,Dev,e2e,E2E').split(','); | |
| highlightEnvs.forEach(function (env) { | |
| $("g title:contains(" + env + ".)").parent().children('circle').css('fill', 'lightskyblue'); | |
| }); | |
| hideEnvs.forEach(function (env) { | |
| $("g title:contains(" + env + ".)").parent().css('opacity', 0.5); |
| var fs = require('fs'), | |
| readline = require('readline'); | |
| var filePath = process.argv[2] | |
| if (!filePath) { | |
| console.error("node dynamo.js /path/to/file") | |
| process.exit(1) | |
| } | |
| var rd = readline.createInterface({ | |
| input: fs.createReadStream(filePath), | |
| console: false |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| import sys | |
| import json | |
| from collections import OrderedDict | |
| opts = { | |
| 'format' : 'txt', | |
| 'keys' : sys.argv[1:] | |
| } |
| #!/bin/sh | |
| # /etc/init.d/tightvncserver | |
| VNCUSER='pi' | |
| case "$1" in | |
| start) | |
| su $VNCUSER -c '/usr/bin/tightvncserver :1' | |
| echo "Starting TightVNC Server for $VNCUSER " | |
| ;; | |
| stop) | |
| pkill Xtightvnc |
| function git { | |
| if [ -d .git ]; then | |
| /usr/bin/git $* | |
| else | |
| for dir in $(find . -maxdepth 2 -name ".git"); do | |
| cd ${dir%/*} | |
| /usr/bin/git $* | |
| cd - | |
| done | |
| fi |
| var page = require('webpage').create(), | |
| system = require('system'), | |
| address; | |
| if (system.args.length === 1) { | |
| console.log('Usage: phantomjs url_requests.js http://some.url.com'); | |
| phantom.exit(1); | |
| } else { | |
| address = system.args[1]; | |
| var logUrl = function (req) { |