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 { index, prefix, route } from "@react-router/dev/routes"; | |
import { camelize, pluralize, singularize } from "inflected"; | |
function createCrud(base = "./views") { | |
// e.g. crud("users") | |
return function crud(name: string) { | |
let plural = pluralize(name); | |
let camelCase = camelize(singularize(name), false); | |
return route( |
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
REM Delete eval folder with licence key and options.xml which contains a reference to it | |
for %%I in ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") do ( | |
for /d %%a in ("%USERPROFILE%\.%%I*") do ( | |
rd /s /q "%%a/config/eval" | |
del /q "%%a\config\options\other.xml" | |
) | |
) | |
REM Delete registry key and jetbrains folder (not sure if needet but however) | |
rmdir /s /q "%APPDATA%\JetBrains" |
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
For generating stories and tasks from a video, use the following instructions: | |
<INSTRUCTIONS> | |
Act as a world-class technical product manager. Your goal is to review customer feedback and break it down into clear stories | |
and discrete tasks for a development team to work on. Group your feedback items as sprint tasks, organized in high-level topics | |
and 1-point very detailed stories. Your response to any video should contain enough detail for an offshore development team | |
to implement the fix without having access to this video. Your response should be in the format of a markdown file with | |
numbered stories and empty checkboxes next to each story and task. | |
</INSTRUCTIONS> | |
For refining the stories in the cursor-tasks file, use the following instructions: |
This is an effort to document what is known about Google's (Blogger's/Blogspot's) image URL parameters. Some of these options were taken from existing first or third party documentation (see the links at the end of this document), but the majority is based off my own investigations.
- On Blogger's image URL's:
2.bp.blogspot.com/-OF7u67HQE1M/VHc8S8qJTDI/AAAAAAAACxI/UD-11c63diQ/
s1600
/005.png
- On just about any googleusercontent image URL:
https://lh3.googleusercontent.com/Jvmz11cLrvNIHG_LWjVO9B-UV2IN4Cfk1pycbhWZl6IriMgCAGCOFuBRtoHaiZ6xeVGqCugZcCql=
w176-h176-n-o
Replace the bolded parts with the parameters.
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
:root { | |
--min-item-width: 28ch; | |
--max-item-width: .5fr; | |
--grid-spacing: .25rem; | |
--item-padding: .25rem; | |
} | |
/* Let items expand on small screens */ | |
@media (max-width: 600px) { | |
:root { |
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
{ | |
"tetros": { | |
"link": "https://github.com/daniel-e/tetros", | |
"data": "McCO2DHAzRC0AbkHJs0QtgO5EgBR/sayDbkOALt4AOi2AID+FXQJQrkMADHb6KgAWeLhxgYAf2S0As0aoAJ/MdCzH/fjQKICfzHSuwcA9/PA4gOSuhIE6OUAdf7o0gAxyYoOAH9RYDHJurgLtIbNFWFQtAHNFonBWHRF6K8AgP1LdBGA/Uh0HoD9TXQQxgYAfwrrI0ropwB0HULrGkLongB0FErrEYjDQECoB3UCLAjojAB0AojY6HcAUDDkzRZYWeKi6GcA/sbodAB0iv7O6F8A6BYA6Vv/tALNELggCc0Qw7QCzRC0CM0Qw2C2Ff7OdDkx27kMALIO6Ob/wOwEdAJDQuL0gPsMdeRgsg65DABR/s7ozP/+xojjsQHouf9CWeLtYf7OdeLowP9hwzHb6wmIw8DrA0PA4wRDid/rA78AAGAx24jDi4eGfTHbuQQAUbEE9sSAdB1QCf90DmCJ+zDAuQEA6HD/YesJ6HT/wOwEdAFDWNHgQuLZgOoE/sZZ4s4I22HDREQA8EREAPBgIgDiQGQAjmBEAC4gYgDoAGYAZgBmAGYAxkAmAMZAJgBOQEwA5ICMAGxAjABsQIyAAAEAFwACAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVao=", | |
"description": "Tetris Clone. Full color, no score. This was one of the older boot sector games out there. ", | |
"asm": "; Tetris\n\torg 7c00h\n\n; ==============================================================================\n; DEBUGGING MACROS\n; === |
Descargar las hojas de atajos recomendadas:
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
FROM paddlepaddle/paddle:3.0.0b2 | |
#FROM paddlepaddle/paddle:latest | |
# latest tag still has old versions of python and pip | |
# Update pip and install Python packages | |
RUN pip3 install --upgrade pip && \ | |
python3 -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple && \ | |
pip install python-docx beautifulsoup4 pillow reportlab pypdf2 flask | |
# Clone PaddleOCR and install its dependencies |
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
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################ | |
############ also be sure to RESTART OpenProject after replacing the file. ################ | |
############ it doesn't show that enterprise mode is enabled in the settings, but all ################ | |
############ enterprise mode features, such as KanBan boards, are enabled. ################ | |
#-- copyright | |
# OpenProject is an open source project management software. | |
# Copyright (C) 2012-2023 the OpenProject GmbH | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License version 3. |
NewerOlder