- install the android ndk: https://developer.android.com/studio/projects/install-ndk
- install java 11:
brew tap homebrew/cask-versions
brew install --cask temurin11
brew tap homebrew/cask-versions
brew install --cask temurin11
create or replace function random_string(nb_bytes integer) | |
returns text | |
as $$ | |
select | |
trim('=' | |
from | |
( | |
select | |
replace ( ( | |
select |
#!/bin/sh | |
echo "Use the following format: yyyy-mm-dd (ex: 2022-01-15)" | |
echo "First day: " | |
read FIRST_DAY | |
echo "Last day: " | |
read LAST_DAY | |
We will install gcc in an upper directory, so that we can reuse it in all our projects
mkdir stm32 && cd stm32
If you want to create a redistributable installer for a Qt app with Cmake then youve come to the right place... I ve been struggling to make Qt work with cmake on windows, and finally figure out something that works:
Go ahead and download Qt: https://www.qt.io/download-qt-installer
#!/bin/sh | |
# | |
# PROVIDE: gunicornd | |
# |
BLOCKSIZE=m; export BLOCKSIZE | |
PAGER=less; export PAGER | |
export CLICOLOR=1 | |
export LSCOLORS=GxFxCxDxBxegedabagaced | |
export HISTCONTROL=ignoreboth:erasedups | |
alias l='ls -lah' | |
alias c='cat' | |
alias e='emacs' |
This my receipe for installing a complete nodejs server on FreeBSD 10. The parameters used in this configuration are for a very small private server that I use for demo purpose only, so for a production server, you should somehow set the limits in pair with your ressources.
I use monit so I don't have to write rc scripts for node and it should take care of process lifecycle management for me. Alternatives exists such as supervisord or circus.
# | |
# Licensed to the Apache Software Foundation (ASF) under one | |
# or more contributor license agreements. See the NOTICE file | |
# distributed with this work for additional information | |
# regarding copyright ownership. The ASF licenses this file | |
# to you 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 |
;; melpa | |
(require 'package) | |
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) | |
(package-initialize) | |
;; theme | |
(load-theme 'manoj-dark) | |
(global-linum-mode t) |