I am possibly bleeding right now.
coreapi
Django
<?php | |
header('Content-type: text/xml'); | |
/* | |
Runs from a directory containing files to provide an | |
RSS 2.0 feed that contains the list and modification times for all the | |
files. | |
*/ | |
$feedName = "My Audio Feed"; | |
$feedDesc = "Feed for the my audio files in some server folder"; |
#!/bin/bash | |
# This assumes binding the entire directory with this script and lammps-experiment.yaml | |
hasGpu="${1:-no}" | |
path="${2:-./compatibility-spec.json}" | |
# Note that this is hard coded for amd64, for arm you would wantt o add -arm or ppc64le -ppc | |
wget --quiet https://github.com/supercontainers/compspec-go/releases/download/1-26-2024-2/compspec | |
chmod +x compspec |
#!/usr/bin/env bash | |
for cpunum in $(cat /sys/devices/system/cpu/cpu*/topology/thread_siblings_list | cut -s -d, -f2- | tr ',' '\n' | sort -un) | |
do | |
echo 0 > /sys/devices/system/cpu/cpu$cpunum/online | |
done |
#!/bin/bash | |
echo "Expecting: <pull-from> <push-to>" | |
echo "Full provided set of arguments are $@" | |
# The command is the remainder of the script $@ | |
pushto="${1}" | |
shift | |
# unpack |
from django.contrib.auth import REDIRECT_FIELD_NAME | |
from django.shortcuts import render, resolve_url | |
from myapp.settings import cfg | |
from myapp import settings | |
from urllib.parse import urlparse | |
import uuid | |
def login_is_required( |
package main | |
import ( | |
"fmt" | |
) | |
type Fruit struct { | |
Name string | |
Color string | |
} |
name: generate-site | |
on: | |
pull_request: [] | |
push: | |
branches: | |
- "main" | |
jobs: | |
Update: |
Bootstrap: docker | |
From: ubuntu:16.04 | |
%runscript | |
. /torch/install/bin/torch-activate | |
exec /bin/bash | |
%labels | |
MAINTAINER vsochat@stanford.edu |