Restructure files and add blink(1) files

This commit is contained in:
2013-12-10 11:20:48 -05:00
parent 6082fedf2b
commit 5210161d04
5 changed files with 118 additions and 1 deletions

View File

@@ -1,4 +1,10 @@
Furry Octo Sansa
================
Some linux configuration files.
Some configuration files:
* blink(1) files suitable for the Blink1Control app in Windows
* Jenkins server
* Default varnish config
* Default vim config
* Default postfix config (does this work?)

View File

@@ -0,0 +1,7 @@
@echo off
rem setx DT_DISABLEINITIALLOGGING true
powershell -File C:\Users\maweir\Documents\blink1-scripts\new-mail.ps1
for /F "tokens=*" %%a in (d:\blink-new-mail-temp.txt) do set "color=%%a"
rem set /p color=<d:\blink-new-mail-temp.txt
echo "%color%"

6
blink1/new-mail.ps1 Normal file
View File

@@ -0,0 +1,6 @@
$outlook = New-Object -com Outlook.Application
$inbox = $outlook.Session.GetDefaultFolder(6)
$stream = [System.IO.StreamWriter] "d:\blink-new-mail-temp.txt"
if ($inbox.UnReadItemCount -eq 0) { $stream.WriteLine("#000000") }
$stream.WriteLine("pattern: ""NewMail""")
$stream.close()

98
blink1/user.config Normal file
View File

@@ -0,0 +1,98 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<userSettings>
<Blink1Control.Properties.Settings>
<setting name="inputs" serializeAs="String">
<value>{
"New Comic": {
"iname": "New Comic",
"pname": "New Comic",
"type": "ifttt",
"arg1": "GR: New Comic",
"lastVal": "Gmail",
"possibleVals": [
"FPGNewMail"
],
"lastTime": "1386674867"
},
"New Dev Article": {
"iname": "New Dev Article",
"pname": "New Dev Article",
"type": "ifttt",
"arg1": "GR:New Dev Item",
"lastVal": "Gmail",
"possibleVals": [
"FPGNewMail"
],
"lastTime": "1386674867"
},
"NewMail": {
"iname": "NewMail",
"pname": "NewMail",
"type": "script",
"arg1": "C:\\Users\\maweir\\Documents\\blink1-scripts\\blinkOutlookNewMail.bat",
"lastVal": "no color or pattern in output",
"possibleVals": [],
"lastTime": "1386691221"
},
"FPG New Mail": {
"iname": "FPG New Mail",
"pname": "FPG New Mail",
"type": "ifttt",
"arg1": "FPGNewMail",
"lastVal": "Gmail",
"possibleVals": [
"FPGNewMail"
],
"lastTime": "1386674867"
}
}</value>
</setting>
<setting name="patterns" serializeAs="String">
<value>{
"New Comic": {
"name": "New Comic",
"repeats": 1,
"playcount": 0,
"playpos": 0,
"playing": false,
"pattern": "1,#D3FFBE,30.00"
},
"New Dev Article": {
"name": "New Dev Article",
"repeats": 1,
"playcount": 0,
"playpos": 0,
"playing": false,
"pattern": "1,#3CFF1D,30.00"
},
"NewMail": {
"name": "NewMail",
"repeats": 3,
"playcount": 0,
"playpos": 0,
"playing": false,
"pattern": "3,#FF7B8B,1.00,#000000,0.50,#EB60FF,1.00,#000000,0.50"
},
"FPG New Mail": {
"name": "FPG New Mail",
"repeats": 10,
"playcount": 0,
"playpos": 0,
"playing": false,
"pattern": "10,#20DBFF,2.00,#EEEEEE,0.50,#1FE0FF,2.00,#EEEEEE,0.50"
}
}</value>
</setting>
<setting name="logToScreen" serializeAs="String">
<value>True</value>
</setting>
<setting name="hostId" serializeAs="String">
<value>1A0012FA</value>
</setting>
<setting name="startMinimized" serializeAs="String">
<value>False</value>
</setting>
</Blink1Control.Properties.Settings>
</userSettings>
</configuration>