Look up anything in OpenFOAM tutorials:
# 1
gtfo
# 2
gtfo topoSetDict
#!/bin/sh -e | |
# Take a Peek at an OpenFOAM Library/Application | |
# | |
# Usage: `foampeek [-l|--lucky] [-p|--project lib/app] [-f|--file file] [lib/app] [file]` | |
# | |
# Firstly, it prompts you to select a library (in `$FOAM_SRC`) or an application | |
# (in `$FOAM_APP`), and finally, it lists all the files in that lib/app for you | |
# to select. | |
# |
#------------------------------------------------------------------------------ | |
# Author: | |
# Ali Bozorgzadeh | |
# Copyright: | |
# Copyright (c) 2024 Ali Bozorgzadeh | |
# License: | |
# The MIT License (see https://opensource.org/license/mit) | |
#------------------------------------------------------------------------------ | |
# Project structure: | |
# |
/* ==UserStyle== | |
@name overleaf.com - 11/5/2022, 4:42:33 PM | |
@namespace github.com/openstyles/stylus | |
@version 1.0.0 | |
@description A new userstyle | |
@author Me | |
==/UserStyle== */ | |
@-moz-document domain("overleaf.com") { | |
/* Insert code here... */ |
diff -r 481d96f16780 Allwclean | |
--- a/Allwclean Mon Jul 04 01:06:48 2022 +0200 | |
+++ b/Allwclean Fri Sep 23 20:40:05 2022 +0330 | |
@@ -13,7 +13,7 @@ | |
find . -name "*.dep" -print -exec rm {} \; | |
-find . -name compile_commands.json -print0 | xargs --null rm -f | |
-find . -name .clangd -print0 | xargs --null rm -rf | |
+find . -name compile_commands.json -print0 | xargs -0 rm -f |
#!/usr/bin/env python3 | |
"""\ | |
. . . | |
timer | |
. . . | |
A timer that counts from time 0 to the final time | |
USAGE: timer <secs> |
# OpenFOAM-3 can be installed on ubuntu 14.04 LTS | |
FROM ubuntu:trusty | |
# Install dependency and some softwares | |
# NOTE that you should not install build-essential as it clashes with | |
# the version of the compiler that openfoam is build with | |
RUN : \ | |
&& apt-get update \ | |
&& apt-get install -y \ |
# clang-format | |
# Made by: Ingmar Delsink | |
# idelsink.com | |
# See http://clang.llvm.org/docs/ClangFormatStyleOptions.html | |
# Tested with: clang-format version 3.7.1 | |
# General | |
######### | |
# The style used for all options not specifically set in the configuration. |
#!/bin/sh -e | |
# This script grabs the pronunciation (either uk or us) from | |
# <https://dictionary.cambridge.com>. | |
# | |
# Author: Ali Bozorgzadeh <https://github.com/reverseila> | |
# | |
# USAGE: p word [accent] | |
# accents: uk (default), us | |
# example: p aesthetic us |