SSH as [email protected], creating a SOCKS proxy on port 8123
In Firefox, set a manual SOCKS v5 proxy config for localhost on port 8123
ssh -D 8123 -C -q -N [email protected]
add -f
if you want to background the process
SSH as [email protected], creating a SOCKS proxy on port 8123
In Firefox, set a manual SOCKS v5 proxy config for localhost on port 8123
ssh -D 8123 -C -q -N [email protected]
add -f
if you want to background the process
class Node | |
attr_accessor :nextNode, :value | |
def initialize(value, nextNode = nil) | |
@value = value | |
@nextNode = nextNode | |
end | |
end | |
def nthFromEnd(startNode, n) | |
rabbit = turtle = startNode |
"use strict"; | |
let nthFromEnd = (startNode, n) => { | |
let rabbit = startNode; | |
let turtle = startNode; | |
while(n--){ | |
rabbit=rabbit.nextNode; | |
} | |
while(rabbit){ | |
rabbit=rabbit.nextNode; |
# n | 0 1 2 3 4 5 | |
# i |____________ | |
# 1 | _ _ _ _ _ # | |
# 2 | _ _ _ _ # # | |
# 3 | _ _ _ # # # | |
# 4 | _ _ # # # # | |
# 5 | _ # # # # # | |
# 6 | # # # # # # | |
[email protected]
in a few years.auto
if possible. Git will automatically remove color info when piping into another output# Block Taboola ads | |
127.0.0.1 popup.taboola.com | |
127.0.0.1 www.popup.taboola.com | |
127.0.0.1 taboola.com | |
127.0.0.1 www.taboola.com | |
127.0.0.1 cdn.taboolasyndication.com | |
127.0.0.1 taboolasyndication.com | |
127.0.0.1 www.taboolasyndication.com | |
127.0.0.1 www.cdn.taboolasyndication.com | |
127.0.0.1 trc.taboola.com |
The following were testing using replace result with a percentage value on Instructor's Canvas as of Nov 1 2018
Here's the controls you have inside an iframe in Canvas based on the code here: https://github.com/instructure/canvas-lms/blob/master/public/javascripts/lti/messages.js#L74-L170
Updated w/ help from https://github.com/bagofarms after he realized my original information was incorrect. He found some readme docs from Bracken on the subject which opened things up: https://github.com/bracken/lti_messaging
const message = {
subject: 'lti.frameResize',
#! /bin/sh | |
# Installation | |
# 1. Move this script to /etc/init.d/udoitworker | |
# 2. chmod +x /etc/init.d/udoitworker | |
# 3. set DAEMON - full path to php executable (hint: `which php`) | |
# 4. set DAEMON_OPTS - full path to the worker php script and any options you desire | |
# | |
# Run on boot | |
# - openRC: `rc-update add udoitworker default` | |
# - ubuntu: `update-rc.d udoitworker defaults && update-rc.d udotiworker enable` |
Let's imagine I'll be moving a domain (static.stuff.com) to cloudfront. I want to make sure that cloudfront is configured correctly before moving the dns for everyone. You can glue together a simple test with a couple commands locally
nslookup xxxxxxxxx.cloudfront.net
10.10.10.10
was one/etc/hosts
file and add a new line like : 10.10.10.10 static.stuff.com