Go to the course and have any video up. The following code relies on the right sidebar to be visible to uncheck all your progress.
You can do this with ctrl+shift+j
and making sure the console
tab is selected for chrome/brave
Go to the course and have any video up. The following code relies on the right sidebar to be visible to uncheck all your progress.
You can do this with ctrl+shift+j
and making sure the console
tab is selected for chrome/brave
/* From https://github.com/raspberrypi-ui/rc_gui/blob/master/src/rc_gui.c#L23-L70 */ | |
#define GET_CAN_EXPAND "sudo raspi-config nonint get_can_expand" | |
#define EXPAND_FS "sudo raspi-config nonint do_expand_rootfs" | |
#define GET_HOSTNAME "sudo raspi-config nonint get_hostname" | |
#define SET_HOSTNAME "sudo raspi-config nonint do_hostname %s" | |
#define GET_BOOT_CLI "sudo raspi-config nonint get_boot_cli" | |
#define GET_AUTOLOGIN "sudo raspi-config nonint get_autologin" | |
#define SET_BOOT_CLI "sudo raspi-config nonint do_boot_behaviour B1" | |
#define SET_BOOT_CLIA "sudo raspi-config nonint do_boot_behaviour B2" | |
#define SET_BOOT_GUI "sudo raspi-config nonint do_boot_behaviour B3" |
git fetch --prune origin "+refs/tags/*:refs/tags/*" |
<span class="label" ng-class="{'possibleValue1' : 'class1', 'possibleValue2' : 'class2', 'possibleValue3' : 'class3'}[object.value]" ng-bind-html='object.value'></span> |
<!doctype html> | |
<!-- Adapted from https://gist.github.com/tfausak/2222823 --> | |
<html> | |
<head> | |
<title>Mobile-ready web app</title> | |
<!-- CONFIGURATION --> |
/* | |
* Steps | |
* 1. Rename your gulpfile.js to gulpfile.babel.js | |
* 2. Add babel to your package.json (npm install -D babel) | |
* 3. Start writing ES6 in your gulpfile! | |
*/ | |
import gulp from 'gulp'; // ES6 imports! | |
import sass from 'gulp-sass'; | |
HTTP status code symbols for Rails | |
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings. | |
Status Code Symbol | |
1xx Informational | |
100 :continue | |
101 :switching_protocols | |
102 :processing |
#!/bin/sh | |
set -e | |
set -x | |
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f3) | |
do | |
npm -g install "$package" | |
done |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.