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 code is mostly written by gpt-4. | |
* | |
* This code will scrape an obsidian vault, and will recreate its structure in a new outline collection. | |
* The code will preserve the inline images in obsidian and upload them to outline correctly. | |
*/ | |
const fs = require("fs"); | |
const path = require("path"); | |
const axios = require("axios"); |
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
USR1 Signal in Go |
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
Codeforces CSRF |
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
require 'nokogiri' | |
require 'open-uri' | |
require 'net/http' | |
require 'uri' | |
artist_link = ARGV[0] | |
folder_name = ARGV[1] | |
if artist_link.nil? or folder_name.nil? | |
puts "You must specify the artist link and folder name" |
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
@startuml | |
title Entangle Activities Interactions | |
object LoginActivity { | |
The activity in which the user can login | |
} | |
object RegisterWebsite { | |
The webpage where the user can regsiter | |
} |
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
<?php | |
namespace Megasoft\EntangleBundle\Controller; | |
use Megasoft\EntangleBundle\Entity\User; | |
use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
use Symfony\Component\HttpFoundation\JsonResponse; | |
use Symfony\Component\HttpFoundation\Response; | |
use Symfony\Component\HttpFoundation\Request; |