This file contains 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
def recursvfind (search, target, start=0, pos=[]): | |
current_pos = str(target).find(search, start) | |
if current_pos < 0: | |
return pos | |
else: | |
return recursvfind(search, target, current_pos + 1, pos + [current_pos]) |
This file contains 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
// This file is to executed in a Nodejs environment. | |
// `node constructor_check.js` | |
'use strict'; | |
// You'll need to install the 'esprima', 'estraverse' and 'lodash' modules via npm. | |
var esprima = require('esprima'); | |
var estraverse = require('estraverse'); | |
var fs = require('fs'); | |
var path = require('path'); | |
var _ = require('lodash'); |
This file contains 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 System; | |
using Microsoft.EntityFrameworkCore.Migrations; | |
#nullable disable | |
namespace streak.Migrations | |
{ | |
/// <inheritdoc /> | |
public partial class CreatingIdentityTables : Migration | |
{ |