I hereby claim:
- I am dolfik1 on github.
- I am dolfik (https://keybase.io/dolfik) on keybase.
- I have a public key ASB4HOOpHxtdyLX6PYfz0jSTJdxEFniZ1HXdTna_BN36ZAo
To claim this, I am signing this object:
import scrapy | |
from functools import partial | |
# deps: | |
# scrapy | |
# pypiwin32 | |
# to run crawler use: | |
# scrapy runspider scraper.py -o file.json | |
# csv also allowed |
let private memberJoin state = | |
match state.IsCaptchaSolved with | |
| true -> state, None | |
| false -> | |
let defaultButton = { | |
Text = "" | |
Url = None | |
CallbackData = None | |
SwitchInlineQuery = None | |
SwitchInlineQueryCurrentChat = None |
module Program | |
open System | |
open System.Diagnostics | |
open Funogram.Api | |
open Funogram.Bot | |
open Funogram.Types | |
open Funogram.RequestsTypes | |
open FSharp.Data | |
open ExtCore.Control |
I hereby claim:
To claim this, I am signing this object:
<MainWindow> | |
<views:MainView DataContext="{Binding}"> | |
<local:UsersView DataContext="{Binding Users}"> | |
<ListBox ItemsSource="{Binding}" ScrollViewer.HorizontalScrollBarVisibility="Disabled"> | |
<ListBox.ItemTemplate> | |
<DataTemplate> | |
<Button Content="Test"/> | |
</DataTemplate> | |
</ListBox.ItemTemplate> | |
</ListBox> |
let getConnection connectionString = new MySqlConnection(connectionString) | |
let query<'Result> (query:string) (connection: MySqlConnection) = connection.Query<'Result>(query) | |
let querySingle<'Result> (query:string) (connection: MySqlConnection) = connection.QuerySingleOrDefault<'Result>(query) | |
let queryWithParam<'Result> (connection: MySqlConnection) (query:string) (param:obj) : 'Result = | |
connection.QuerySingleOrDefault<'Result>(query, param) | |
let addParam (cmd: MySqlCommand) key value = cmd.Parameters.AddWithValue(key, value) |> ignore | |
let insert (connection: MySqlConnection) (query: string) (param: IDictionary<string,obj>) : int = | |
use command = connection.CreateCommand() |
public static class Abbreviations | |
{ | |
public static IEnumerable<dynamic> Rename(IEnumerable<dynamic> data, Dictionary<string, string> abbreviations) | |
{ | |
var keys = abbreviations.Keys.ToArray(); | |
for (var i = 0; i < keys.Length; i++) | |
{ | |
var c = keys[i]; | |
var v = abbreviations[c]; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width" /> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>Break page on table row test</title> | |
</head> | |
<body> |
#include <iostream> | |
#include <cstdlib> // для system | |
using namespace std; | |
int main() | |
{ | |
cout << "Hello, world!" << endl; | |
system("pause"); | |
return 0; | |
} |