- Type: structured, semi-structured, or unstructured.
- Data stores : File stores ,Databases
- file Formats :
- Delimited text files
- JavaScript Object Notation (JSON)
- Extensible Markup Language (XML)
- Optimized File Format
Discover gists
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
import argparse | |
import random | |
import sys | |
from transformers import AutoModelForCausalLM, AutoTokenizer, DynamicCache | |
import torch | |
parser = argparse.ArgumentParser() | |
parser.add_argument("question", type=str) | |
parser.add_argument( |
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
#!/usr/bin/env python | |
""" | |
The Needleman-Wunsch Algorithm | |
============================== | |
This is a dynamic programming algorithm for finding the optimal alignment of | |
two strings. | |
Example | |
------- |
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
/** | |
* traceback for cpp | |
* | |
* Created on: 2018-01-27 | |
* Author: owent | |
* | |
* Released under the MIT license | |
* | |
* @note Required flag -rdynamic or addr2line to get the function name when using gcc/clang in unix like system | |
* @note Using addr2line -Cfpe <exe_path> [func_addr...] for more detail when using gcc/clang |
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
\ | |
aacomtr_Gzip | |
aacomtr_Gzip_g | |
AA-Gzip | |
AB-API-Account-Access-Token | |
AB-API-Auth-Name | |
AB-API-Auth-Password | |
AB-API-Auth-Token-Facebook | |
AB-API-Community-ID | |
AB-API-Company-ID |
This is a very quick guide detailing how to set up a Bluesky PDS (Personal Data Server) using Docker Compose and Caddy.
For any questions, leave a comment on this GitHub Gist below, contact me on Bluesky at @sapphic.moe, or leave an email at [email protected]
This guide assumes your website is behind Cloudflare.
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
// Claude Code is a Beta product per Anthropic's Commercial Terms of Service. | |
// By using Claude Code, you agree that all code acceptance or rejection decisions you make, | |
// and the associated conversations in context, constitute Feedback under Anthropic's Commercial Terms, | |
// and may be used to improve Anthropic's products, including training models. | |
// You are responsible for reviewing any code suggestions before use. | |
// (c) Anthropic PBC. All rights reserved. Use is subject to Anthropic's Commercial Terms of Service (https://www.anthropic.com/legal/commercial-terms). | |
// Version: 0.2.9 |
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
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<!-- This file exposes the following parameters --> | |
<!-- TailwindVersion: The version of the Tailwind Standalone CLI to download. --> | |
<!-- TailwindDownloadPath: The path to where to download the Tailwind Standalone CLI. This property is optional, and defaults to %LOCALAPPDATA% on Windows, and $XDG_CACHE_HOME on Linux and MacOS. --> | |
<!-- TailwindInputStyleSheetPath: The path to the input stylesheet. --> | |
<!-- TailwindOutputStyleSheetPath: The path to the output stylesheet. --> | |
<!-- TailwindOptimizeOutputStyleSheet: Whether to optimize the output stylesheet. This property is optional, and defaults to false. --> | |
<!-- TailwindMinifyOutputStyleSheet: Whether to minify the output stylesheet. This property is optional, and defaults to false when Configuration is Debug, and true when Configuration is Release. --> | |
<!-- TailwindDownloadUrl: The URL to the Tailwind Standalone CLI. This property is optional, and defau |
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
Run this | |
"sudo -u postgres psql" | |
in your terminal to get into postgres | |
postgres=# | |
Run "CREATE USER new_username;" | |
Note: Replace new_username with the user you want to create, |
NewerOlder