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/sh | |
if [ "$(id -u)" != "0" ]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi | |
for d in /etc/letsencrypt/live/*; do | |
domain=`basename $d` | |
if openssl x509 -checkend 86400 -noout -in $d/cert.pem |
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
[Desktop Entry] | |
Type=Application # Indicates the type as listed above | |
Version=1.0 # The version of the desktop entry specification to which this file complies | |
Name=Hypermash # The name of the application | |
Comment=ALTAIR Hypermash # A comment which can/will be used as a tooltip | |
Path=/opt/altair/hyperworks/altair/scripts/ # The path to the folder in which the executable is run | |
Exec=export ALTAIR_LICENSE_PATH=6200@lm-altair.hrz.tu-chemnitz.de && sh ./hm # The executable of the application. | |
Icon=test # The name of the icon that will be used to display this entry | |
Terminal=false # Describes whether this application needs to be run in a terminal or not |
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 | |
require_once 'vendor/autoload.php'; | |
use Thruway\Peer\Router; | |
use Thruway\Transport\RatchetTransportProvider; | |
use PhpAmqpLib\Connection\AMQPStreamConnection; | |
$realm = 'realm1'; |
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
#include <stdio.h> | |
#include <mpi.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
int main(int argc, char **argv) { | |
MPI_Init(&argc, &argv); |
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
#include <stdio.h> | |
#define nodeSize 18 | |
struct Graph { | |
int AdjMatrix[nodeSize][nodeSize]; | |
}; | |
void printGraph(int Graph[nodeSize][nodeSize]) |
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 | |
namespace App { | |
include_once '../vendor/autoload.php'; | |
} | |
namespace App\Entity { | |
use Zend\Form\Annotation; |
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
module Geometry | |
( sphereVolume | |
, sphereArea | |
, cubeVolume | |
, cubeArea | |
, cuboidArea | |
, cuboidVolume | |
) where |
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
#include <sys/types.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <dirent.h> | |
#include <sys/stat.h> | |
#include <string.h> | |
#include <errno.h> | |
int main(int argc, char** argv) { |
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
#include <stdlib.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <fcntl.h> | |
#include <errno.h> | |
#include <string.h> | |
#include <wait.h> | |
int main(int argc, char** argv) { |
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
#include <stdlib.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <fcntl.h> | |
#include <errno.h> | |
#include <string.h> | |
#include <wait.h> | |
int main(int argc, char** argv) { | |
pid_t cpid; | |
int fd[2], |