View clinfo.txt
clinfo | |
Number of platforms: 1 | |
Platform Profile: FULL_PROFILE | |
Platform Version: OpenCL 2.0 AMD-APP (2442.7) | |
Platform Name: AMD Accelerated Parallel Processing | |
Platform Vendor: Advanced Micro Devices, Inc. | |
Platform Extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices | |
Platform Name: AMD Accelerated Parallel Processing |
View pgessays.py
# -*- coding: utf-8 -*- | |
""" | |
Builds epub book out of Paul Graham's essays: http://paulgraham.com/articles.html | |
Author: Ola Sitarska <ola@sitarska.com> | |
Copyright: Licensed under the GPL-3 (http://www.gnu.org/licenses/gpl-3.0.html) | |
This script requires python-epub-library: http://code.google.com/p/python-epub-builder/ | |
""" |
View ToggleScreenLock.sh
#!/usr/bin/env bash | |
# -*- coding: utf-8 -*- | |
Z=$(gsettings get org.gnome.desktop.session idle-delay) | |
echo $Z | |
# 600 for 10 minutes, change to suit your needs | |
if [ "$Z" = "uint32 600" ]; then | |
gsettings set org.gnome.desktop.session idle-delay 0 | |
echo set zero | |
else |
View TTUSAPI1.cs
if (ASG.TTUS.m_Users.ContainsKey(dr[0].ToString())) | |
{ | |
TTUSAPI.DataObjects.User u = ASG.TTUS.m_Users[dr[0].ToString()]; | |
TTUSAPI.DataObjects.UserProfile up = new TTUSAPI.DataObjects.UserProfile(u); | |
Trace.WriteLine(u.UserName); | |
foreach (string key in up.UserGatewayLogins.Keys) | |
{ | |
Trace.WriteLine(key); | |
TTUSAPI.DataObjects.UserGatewayLoginProfile UserGWP = new TTUSAPI.DataObjects.UserGatewayLoginProfile(up.UserGatewayLogins[key]); |
View gist:f116abb1cfd65b30b9fb
# Uninstall all software from Trading Technologies | |
wmic product where "Vendor like 'Trading Tech%%'" call uninstall /nointeractive | |
# Uninstall all X_TRADER components | |
wmic product where "name like 'TT%%'" call uninstall /nointeractive |
View Excel-SetRTDUpdaterate
Public Function SetRTDUpdateRate(mSeconds As Long) As String | |
'Set RTDUpdate Rate registry value | |
Application.RTD.ThrottleInterval = mSeconds | |
SetRTDUpdateRate = mSeconds & " mS" | |
End Function |
View index.html
<div class="loader"></div> | |
<div class="loader fill"> | |
<div class="filler"></div> | |
</div> |
View style.css
/*in this section of code */ | |
@media only screen and (max-width: 600px) { | |
/* I added this code block */ | |
#header { | |
background-size: contain !important; | |
min-height: 100%; | |
overflow-y:hidden; | |
} |
NewerOlder