- Modificado (modified);
- Preparado (staged/index)
- Consolidado (comitted);
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
############ 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. |
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
CustomScrollView( | |
physics: | |
const BouncingScrollPhysics(parent: AlwaysScrollableScrollPhysics()), | |
slivers: <Widget>[ | |
SliverAppBar( | |
title: Text( | |
"Example", | |
style: heading1, | |
), | |
floating: true, |
Platform | URL | |
---|---|---|
Website | https://unitycoder.com/blog/ | .. |
Github | https://github.com/unitycoder | .. |
Unity Forums | https://forum.unity.com/members/mgear.22727/ | .. |
https://twitter.com/unitycoder_com | ||
Mastodon | https://mastodon.gamedev.place/@unitycoder | .. |
Youtube | https://www.youtube.com/@unitycoder | |
https://www.linkedin.com/in/unitycoder/ | ||
Discord | https://discord.com/invite/cXT97hU | .. |
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 React, { FC } from 'react'; | |
import { useSocket } from '@myapp/hooks'; | |
import {Order} from '@myapp/models'; | |
export const OrdersComponent: FC = () => { | |
const [orders,setOrders] = useState<Order[]>(); | |
function addNewOrder(neworder:Order) { |
aka what i did to get from nothing to done.
note: these are designed to be primarily a re-install guide for myself (writing things down helps me memorize the knowledge), as such don't take any of this on blind faith - some areas are well tested and the docs are very robust, some items, less so). YMMV
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
#!/bin/bash | |
certificat=/usr/certificate/example.com/cert.pem | |
gotify_url="https://push.example.com/message?token=xxxxx" | |
gotify_title="Synology Certificate Expiry" | |
function check_certificat () { | |
if openssl x509 -checkend $((${1}*86400)) -noout -in $certificat; then | |
return 1 | |
else |
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 requests | |
def doi2bib(doi): | |
""" | |
Return a bibTeX string of metadata for a given DOI. | |
""" | |
url = "http://dx.doi.org/" + doi | |
headers = {"accept": "application/x-bibtex"} |
NewerOlder