This file contains hidden or 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
/** Init custom properties **/ | |
:root { | |
--hover-transform: scale(0.93); | |
--hover-transition: transform ease-out 0.2s, background 0.4s; | |
--hover-background: rgba(255, 255, 255, 0.05); | |
} | |
/** Page header **/ | |
.header-icon, | |
.header-pulse-ok, |
This file contains hidden or 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
do | |
function run(msg, matches) | |
local lat = matches[1] | |
local lon = matches[2] | |
local receiver = get_receiver(msg) | |
send_location(receiver, lat, lon, ok_cb, false) |
This file contains hidden or 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
https://www.ingress.com/intel?ll=59.440752,24.751831&z=17&pll=59.440752,24.751831 | |
patterns = {"https?://www.ingress.com/intell?ll=(%d+.%d+)[^,](%d+.%d+)*$"} | |
matches[1] = 59.440752 | |
matches[2] = 24.751831 |
This file contains hidden or 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
do local _ = { | |
blacklist = { | |
"anal", | |
"anus", | |
"arse", | |
"ass", | |
"ballsack", | |
"balls", | |
"bastard", | |
"bitch", |
This file contains hidden or 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
private async void Button_Click(object sender, RoutedEventArgs e) | |
{ | |
Func<string, bool> func = message => | |
{ | |
var asd = Application.Current.Dispatcher.Invoke(new Func<Task<MessageDialogResult>>(async () => | |
{ | |
var mySettings = new MetroDialogSettings() | |
{ | |
AffirmativeButtonText = "YES", | |
NegativeButtonText = "NO", |
This file contains hidden or 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
__author__ = 'Priit Heinsaar' | |
import xml.etree.ElementTree as ET | |
class Sequence: | |
"""Object for holding sequence data""" | |
def __init__(self, startTemp, endTemp, startHue, endHue): | |
self.StartTemp = startTemp | |
self.EndTemp = endTemp | |
self.StartHue = startHue |
This file contains hidden or 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
<?xml version="1.0" ?> | |
<colorsettings> | |
<alarm> | |
<starttemp>110</starttemp> | |
<hue>0</hue> | |
</alarm> | |
<steamsplash> | |
<starthue>0</starthue> | |
<endhue>120</endhue> | |
</steamsplash> |
This file contains hidden or 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
var type = info.PropertyType; | |
if (type == typeof(string)) | |
{ | |
field.Read((string)xmlData.Tellimuse_info.GetType().GetProperty(field.Dto.Name).GetValue(xmlData.Tellimuse_info, new object[0])); | |
} | |
else | |
{ | |
field.Read((int)xmlData.Tellimuse_info.GetType().GetProperty(field.Dto.Name).GetValue(xmlData.Tellimuse_info, new object[0])); | |
} |
This file contains hidden or 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
public static bool ValidateCardInReader(string ReaderFriendlyName, bool MakeReset) | |
{ | |
bool retVal = false; | |
try | |
{ | |
using (var context = new PCSCConnectionContext()) | |
{ | |
var r = ReaderFriendlyName ?? GetSinglePresentCardReader(); |
This file contains hidden or 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
http://www.earthtools.org/sun/<latitude>/<longitude>/<day>/<month>/<timezone>/<dst> |
NewerOlder