Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
branching out

lastlink lastlink

:octocat:
branching out
View GitHub Profile
@lastlink
lastlink / DatabaseTools.cs
Last active Oct 19, 2019
Entity Framework dotnet core database conversions. Triggers for on update, default datetime conversions for mssql, postgress, sqlite, and mysql
View DatabaseTools.cs
using Microsoft.EntityFrameworkCore.Metadata;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace ProjectNamespace.Api.Utils
{
public class DatabaseTools
{
public class DatabaseKeys
{
public string ValueGenerationStrategy;
View keybase.md

Keybase proof

I hereby claim:

  • I am lastlink on github.
  • I am lastlink (https://keybase.io/lastlink) on keybase.
  • I have a public key ASAHV-ZU33XCB7UjuaF0F2Aq_GsriNbnRrl8Gtqx4O5APAo

To claim this, I am signing this object:

View gist:e2d4495bdd0b96b9bb6314a47ec4bba2

some tools for diagrams in software documentation

Diagrams For Documentation

Obvious Choices

ASCII

@lastlink
lastlink / linkedin_data.php
Created Apr 26, 2018 — forked from Chitrank-Dixit/linkedin_data.php
Get Data from Linkedin after authorization
View linkedin_data.php
<?php
// Change these
define('API_KEY', 'Your App API KEY' );
define('API_SECRET', 'Your App API SECRET' );
define('REDIRECT_URI', 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['SCRIPT_NAME']);
define('SCOPE', 'r_fullprofile r_emailaddress rw_nus' );
// You'll probably use a database
session_name('linkedin');
session_start();
You can’t perform that action at this time.