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
# Used on Ubuntu 18.04 and 20.04 | |
# Find instructions for other OSes here: https://certbot.eff.org/instructions | |
# Install Certbot via Snaps | |
sudo snap install core; sudo snap refresh core | |
sudo snap install --classic certbot | |
sudo ln -s /snap/bin/certbot /usr/bin/certbot | |
# Install DNS CloudFlare plugin | |
sudo snap set certbot trust-plugin-with-root=ok |
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
<?php | |
use Illuminate\Database\Migrations\Migration; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Support\Facades\Schema; | |
return new class extends Migration | |
{ | |
/** | |
* Run the migrations. |
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 | |
## WRF installation with parallel process. | |
# Download and install required library and data files for WRF. | |
# License: LGPL | |
# Jamal Khan <jamal.khan@legos.obs-mip.fr> | |
# Tested in Ubuntu 18.04 LTS | |
# basic package managment | |
sudo apt update | |
sudo apt upgrade |
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
$('#container').highcharts({ | |
chart: { | |
alignTicks: true, // When using multiple axis, the ticks of two or more opposite axes will automatically be aligned by adding ticks to the axis or axes with the least ticks. | |
animation: true, // Set the overall animation for all chart updating. Animation can be disabled throughout the chart by setting it to false here. | |
backgroundColor: '#FFF', // The background color or gradient for the outer chart area. | |
borderColor: '#4572A7', // The color of the outer chart border. | |
borderRadius: 5, // The corner radius of the outer chart border. In export, the radius defaults to 0. Defaults to 5. | |
borderWidth: 0, // The pixel width of the outer chart border. | |
className: null, // A CSS class name to apply to the charts container div, allowing unique CSS styling for each chart. | |
defaultSeriesType: 'line', // Alias of type. |
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 | |
WORKDIR="$( cd "$( dirname "$0" )" && pwd )" | |
DB_USER="user" | |
DB_PASSWORD="pasword" | |
DB_NAME="database_name" | |
FILE_PROC="$WORKDIR/processing" | |
FILE_COMP="$WORKDIR/completed" | |
if [ -e $FILE_PROC ] | |
then |
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
-- | |
-- Add Brentwood Employees | |
-- | |
INSERT INTO employee_brentwood ( | |
user_name, | |
user_firstname, | |
user_surname, | |
user_email, | |
user_password, | |
user_level, |
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
-- Function: im_detalle_1_actualiza_ingreso() | |
-- DROP FUNCTION im_detalle_1_actualiza_ingreso(); | |
CREATE OR REPLACE FUNCTION im_detalle_1_actualiza_ingreso() | |
RETURNS trigger AS | |
$BODY$ | |
DECLARE | |
-- Declaramos las variables con el mismo tipo del definido en la tabla | |
iva_5 ingreso_mercaderia.im_impuesto_5%TYPE; |
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/csh -f | |
# m3fake script to create a dummy ocean file | |
setenv GRIDDESC /root/CMAQ-5.2.1/data/CMAQ-ASU1K/cctm_input/GRIDDESC | |
setenv GRID_NAME CMAQ-ASU1K | |
setenv OUTFILE /root/ocean_file.dummy.$GRID_NAME.ncf | |
/root/ioapi-3.2/Linux2_x86_64/m3fake << EOF | |
2 | |
$GRID_NAME |
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/csh -f | |
# ==================== CCTMv5.2.1 Run Script ======================== | |
# Usage: run.cctm >&! cctm_v52b.log & | |
# | |
# To report problems or request help with this script/program: | |
# http://www.epa.gov/cmaq (EPA CMAQ Website) | |
# http://www.cmascenter.org (CMAS Website) | |
# =================================================================== |
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
root@ubuntu-s-2vcpu-4gb-nyc3-01:~/CMAQ-5.2.1/data/CMAQ-ASU1K/cctm_input/land# ./CMAQ_ASU_OCEAN.csh | |
This program uses the EPA-AREAL/MCNC-EnvPgms/BAMS Models-3 | |
I/O Applications Programming Interface, [I/O API] which is | |
built on top of the netCDF I/O library (Copyright 1993, 1996 | |
University Corporation for Atmospheric Research/Unidata | |
Program) and the PVM parallel-programming library (from | |
Oak Ridge National Laboratory). Copyright (C) 1992-2002 MCNC, | |
(C) 1992-2013 Carlie J. Coats, Jr., and (C) 2003-2012 Baron | |
Advanced Meteorological Systems, LLC and released under the |
NewerOlder