Skip to content

Instantly share code, notes, and snippets.

View disklosr's full-sized avatar
✔️
Getting stuff done!

Anas Mazioudi disklosr

✔️
Getting stuff done!
View GitHub Profile
#!/usr/bin/env sh
curl -X POST -H "Accept: application/json" -H "Content-type: application/json" \
-d "{\"value1\": \"$*\"}" \
'https://maker.ifttt.com/trigger/{your event name}}/with/key/{insert your key}' \
>/dev/null 2>&1
@davidfowl
davidfowl / Example1.cs
Last active June 19, 2024 16:41
How .NET Standard relates to .NET Platforms
namespace Analogy
{
/// <summary>
/// This example shows that a library that needs access to target .NET Standard 1.3
/// can only access APIs available in that .NET Standard. Even though similar the APIs exist on .NET
/// Framework 4.5, it implements a version of .NET Standard that isn't compatible with the library.
/// </summary>INetCoreApp10
class Example1
{
public void Net45Application(INetFramework45 platform)
@KazWolfe
KazWolfe / Pokemon GO Data Dump.txt
Last active February 28, 2022 04:27
A data dump of a lot of cool Pokemon GO facts
###########
# Pokemon GO Data Dump (in no order)
# By Kaz Wolfe (@KazWolfe on gaming.stackexhange.com)
# Dump version 3.3, pulled from 0.29.0
#
# Feel free to use this dump in anything, but please link back to it!
# This ensures that people can see and use the source of the data
# (which updates regularly), and find out new things.
#
# Thanks Anonymous for some data: https://gist.github.com/anonymous/077d6dea82d58b8febde54ae9729b1bf
@jrgcubano
jrgcubano / ExpressionUtils.cs
Created November 16, 2016 11:59
Compiling Expression Trees (create constructors, setters, getters, etc) C#
// Copyright (c) Philipp Wagner. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// Via: http://bytefish.de/blog/expression_trees_csharp/
using System;
using System.Linq.Expressions;
using System.Reflection;
namespace ExpressionExample
{