- install local ollama or use remote API, in my case local ollama
llm install llm-ollama
llm models default qwen2.5:3b
- Configure zsh. I have oh-my-zsh, should be compatible
vim ~/.zshrc
llm install llm-ollama
llm models default qwen2.5:3b
vim ~/.zshrc
## Morning Opertures | |
alias whatsup='service --status-all' | |
alias hello='sudo /etc/init.d/apache2 stop && cd workspace/project && ddev start && ddev launch' | |
alias hi='sudo systemctl stop apache2' | |
alias iad='systemctl is-active docker' | |
alias ports='nmap localhost' | |
alias dns="sudo systemd-resolve --status | grep 'DNS Servers'" | |
alias bye='shutdown -r now' | |
## Usual Instructions |
Recommendation Martin Shkreli Finance Lesson
Book: White Noise by Don DeLillo
Nietzsche, Kirkegard, Kafka are accessible reading material
David Foster Wallace
#!/bin/bash | |
S3_BUCKET_NAME=$1 | |
CF_ID=$2 | |
# Sync all files except for service-worker and index | |
echo "Uploading files to $S3_BUCKET_NAME..." | |
aws s3 sync build s3://$S3_BUCKET_NAME/ \ | |
--acl public-read \ | |
--exclude service-worker.js \ |
I've been deceiving you all. I had you believe that Svelte was a UI framework — unlike React and Vue etc, because it shifts work out of the client and into the compiler, but a framework nonetheless.
But that's not exactly accurate. In my defense, I didn't realise it myself until very recently. But with Svelte 3 around the corner, it's time to come clean about what Svelte really is.
Svelte is a language.
Specifically, Svelte is an attempt to answer a question that many people have asked, and a few have answered: what would it look like if we had a language for describing reactive user interfaces?
A few projects that have answered this question:
/Library/Backblaze.bzpkg/bzdata/bzexcluderules_editable.xml
.bzexclusions
tag:<!-- Exclude node_modules. -->
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/node_modules/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/.git/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
defaults write com.apple.iphonesimulator ShowSingleTouches 1 |
yarn add react-native-config
react-native link react-native-config
.env
files for each configuration. Ex: .env.dev
, .env.prod
, etc
Ex:API_ENDPOINT=https://api.myresource.com/dev
ENV=dev
import React from 'react'
import { Keyboard } from 'react-native'
import { TabBarBottom } from 'react-navigation'
class TabBarComponent extends React.PureComponent {
constructor(props) {
super(props)