Skip to content

Instantly share code, notes, and snippets.

Connections

Connections animation was made using PUG, SASS & JS for the 5 lines of HTML, CSS & JS challenge.

A Pen by MenSeb on CodePen.

License.

Keybase proof

I hereby claim:

  • I am niallthompson on github.
  • I am niallthompson (https://keybase.io/niallthompson) on keybase.
  • I have a public key ASB63q6KFO2lW_o3FzkNe_kNdYrT1xMBWKirSBeTQ7gaDQo

To claim this, I am signing this object:

<div class="reels">
{% set allCategories = craft.categories.group('videos') %}
{% set displayCategories = '' %}
{% for video in entry.directorVideos %}
{% for cats in video.videoCategory %}
{% set displayCategories = displayCategories ~ cats %}
{% endfor %}
{% endfor %}
<p>
{% for cat in allCategories %}
The coming artificial intelligence revolution has the potential to radically change the way we live for the better. At the same time, ethicists and leaders from the tech sector have sounded fair warning against the potential dangers of thinking machines and learning algorithms. Hear from two experts at the forefront of a quickly burgeoning field that may very well harm us as much as help us.
<h1>Upcoming {{ "Events"|t }}</h1>
{% set upcomingparams = {
calendar: 'projectEvents',
dateRangeStart: 'today',
dateRangeEnd: 'next year'
} %}
{% for e in craft.calendars.eventData(upcomingparams).events %}
<article class="">
$(window).load(function(){
$('.flexslider').flexslider({
animation: "fade",
animationLoop: false,
directionNav: false,
controlNav: false,
slideshow: false,
itemWidth: 600,
itemMargin: 0,
pausePlay: false,
Used command: /usr/bin/ssh -v -N -o ControlMaster=no -o ExitOnForwardFailure=yes -o ConnectTimeout=20 -o NumberOfPasswordPrompts=3 -o TCPKeepAlive=no -o ServerAliveInterval=60 -o ServerAliveCountMax=1 -p 22 s133375.gridserver.com@s133375.gridserver.com -L 62127/external-db.s133375.gridserver.com/3306
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /Users/niallthompson/.ssh/config
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: Connecting to s133375.gridserver.com [205.186.175.175] port 22.
debug1: fd 3 clearing O_NONBLOCK
debug1: Connection established.
debug1: identity file /Users/niallthompson/.ssh/id_rsa type 1
@niallthompson
niallthompson / gist:15e453a30d6fdb1140ab
Created September 11, 2014 21:49
Hash Filtering // Friend
(function($){
var hash = (window.location.hash).replace('#', '.');
var filter = (hash) ? '.category-' + hash : '.liveaction';
$('.mixitup').mixItUp({
load: {
filter: filter
},
animation: {
duration: 400,
@niallthompson
niallthompson / gist:22870aa72641babc4b3f
Created September 5, 2014 22:17
Short Border After H1
h1:after {
border-bottom: 5px solid red;
content: " ";
display: block;
margin: 0 auto;
padding: .25em;
width: 75px;
}
{% if mixture.url == "index" %}
<script src="assets/js/main.min.js"></script>
<script type='text/javascript'>
$.fn.friend();
</script>
{% endif %}
{% if mixture.url == "directors" %}
<script src="assets/js/jquery.mixitup.min.js"></script>
<script src="assets/js/scripts.min.js"></script>