by Just Another Engineer (Source)
Given a file with content as below per line which can be created based on sudo -u www-data moosh course-list | awk -F "," '{ print $1 "," $3}'
:
"1234","XX - XXXX/XXX/XX"
by Just Another Engineer (Source)
Given a file with content as below per line which can be created based on sudo -u www-data moosh course-list | awk -F "," '{ print $1 "," $3}'
:
"1234","XX - XXXX/XXX/XX"
Windows does not natively include a touch command. | |
You can use any of the available public versions or you can use your own version. | |
Save this code as touch.cmd and place it somewhere in your path. | |
@echo off | |
setlocal enableextensions disabledelayedexpansion | |
(for %%a in (%*) do if exist "%%~a" ( | |
pushd "%%~dpa" && ( copy /b "%%~nxa"+,, & popd ) |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
<?php | |
use IMSGlobal\LTI\ToolProvider; | |
require_once('vendor/autoload.php'); | |
date_default_timezone_set('UTC'); | |
$launch_url = "http://127.0.0.1:8090/enrol/lti/tool.php?id=1"; | |
$key = "blinc"; | |
$secret = "8qBqXEo5U04oSUqfulPUkBKSYG3CFoSe"; | |
$arguments = array( |
''' | |
EVERY WORD IN THE PERIODIC TABLE | |
Jeff Thompson | 2013 | www.jeffreythompson.org | |
Takes as its input the abbreviations of the elements in the | |
periodic table and returns all possible words that can be | |
generated from that input*. | |
Idea occurred while sitting through a boring meeting in a | |
lecture hall, staring at a periodic table on the wall. |
Ac | |
AcCePt | |
AcCePtS | |
AcCEsS | |
AcCEsSeS | |
AcCrUAl | |
AcCRuAl | |
AcCrUAlS | |
AcCRuAlS | |
AcCrUEs |
from gpiozero import LEDCollection, LEDBoard, OutputDeviceError, DigitalOutputDevice | |
from gpiozero.threads import GPIOThread | |
from gpiozero.exc import OutputDeviceError | |
from itertools import cycle | |
from time import sleep | |
class SevenSegmentDisplay(LEDBoard): | |
""" | |
Extends :class:`LEDBoard` for a 7 segment LED display | |
7 segment displays have either 7 or 8 pins, 7 pins for the digit display |
Verifying that +anzeljg is my blockchain ID. https://onename.com/anzeljg |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="css/main.css" /> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
</head> | |
<body> | |
</body> |