some tools for diagrams in software documentation
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
<?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(); |
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:
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
using Microsoft.EntityFrameworkCore.Metadata; | |
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; | |
namespace ProjectNamespace.Api.Utils | |
{ | |
public class DatabaseTools | |
{ | |
public class DatabaseKeys | |
{ | |
public string ValueGenerationStrategy; |
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
// ==UserScript== | |
// @name Chase offers | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-11-24 | |
// @description Automatically add chase offers | |
// @author You | |
// @match https://secure.chase.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=chase.com | |
// @grant none | |
// ==/UserScript== |
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
# List all stored credentials | |
$credentials = cmdkey /list | ForEach-Object { | |
if ($_ -like "*Target:*" -and ($_ -like "*xbl|*" -or $_ -like "*xblgrts|*")) { | |
# Extract the target name and delete the credential | |
$target = ($_ -replace " ", "" -replace "Target:", "") | |
Write-Host "deleting:$target" | |
cmdkey /delete:$target | |
} | |
} |