Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts and experience preferred (super rare at this point).
| # coding=utf-8 | |
| # Copyright 2023 The HuggingFace Inc. team. All rights reserved. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software |
| import json | |
| import os | |
| import ollama | |
| def query_ollama(prompt, model='openhermes:7b-mistral-v2.5-q6_K', context=''): | |
| response = ollama.generate( | |
| model=model, | |
| prompt=context + prompt) | |
| return response['response'].strip() |
| # Add yourself to the sudo group | |
| su - | |
| usermod -aG sudo danny | |
| exit | |
| # Install the virtual box guest additions | |
| cd /media/cdrom0 | |
| sudo sh ./VBoxLinuxAdditions.run | |
| # Install R and deps |
If you're self-hosting your services and having trouble getting your emails through Gmail and infuriated by Google's non-existent support, you're not the only one. I'd like to share my experiences trying to get it sorted out.
I'm the author of the post above. You can tell how arrogant Google employees are from all the previous posts he made in the past.
| altmetric_attention_score,title,journal_collection_title,journal_iss_ns,authors_at_my_institution,departments,output_type,oa_status,oa_type,subjects_fo_r,affiliations_grid,funder,publication_date,doi,isbn,national_clinical_trial_id,uri,pub_med_id,pub_med_central_id,handle_net_i_ds,ads_bibcode,ar_xiv_id,re_p_ec_id,ssrn,urn,news_mentions,blog_mentions,policy_mentions,patent_mentions,twitter_mentions,peer_review_mentions,weibo_mentions,facebook_mentions,wikipedia_mentions,google_mentions,linked_in_mentions,reddit_mentions,pinterest_mentions,f1000_mentions,q_a_mentions,video_mentions,syllabi_mentions,number_of_mendeley_readers,number_of_dimensions_citations,details_page_url,badge_url |
| #Source www.cze.cz | |
| #This script is tested with "Cisco AnyConnect Secure Mobility Client version 3.1.00495" | |
| # Usage: & '.\Cisco_Anyconnect.ps1' [-Server <server name or ip>] [-Group <group>] [-User <user>] [-Password <password>] | |
| #Please change following variables | |
| #IP address or host name of cisco vpn, Username, Group and Password as parameters | |
| param ( | |
| [string]$Server = $( Read-Host "Input server, please" ), |
| library(geojsonsf) | |
| library(sf) | |
| library(rayrender) | |
| #Data source: https://github.com/telegeography/www.submarinecablemap.com | |
| cables = geojson_sf("cable-geo.json") | |
| cablescene = list() | |
| counter = 1 | |
| for(i in 1:length(cables$geometry)) { |
Let's assume that you can run your web server on your own computer, and that you can open it in your own browser (through localhost or 127.0.0.1). This guide will go through the steps of putting that app online!
This guide will be based on a hello world sample project that uses Genie.jl, but the steps from this guide apply to any Julia web framework.
heroku has tons of features, but for a simple app, we only need the basics. In particular, we do not need the heroku command line, we can do everything through the online GUI.
heroku uses git for deployment: to package your app, you create a git repository, and to put a new version of your app online, you push to the git repository. If you already know git, then you now know how to manage a web server! It's like GitHub pages, but more powerful (and more complicated). Read heroku's introduction for a basi