- @TheLeadDev #LeadDevLondon
- white coat captioning - @whitecoatcapxg
- wvnts.co/lduk2018
- happy pride! it’s like the world cup for people with fashion sense
- who am I?
<Head> | |
<script dangerouslySetInnerHTML={{ __html: ` | |
var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on"];analytics.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);analytics.push(e);return analytics}};for(var t=0;t<analytics.methods.length;t++){var e=analytics.methods[t];analytics[e]=analytics.factory(e)}analytics.load=function(t){var e=document.createElement("script");e.type="text/javascript";e.async=!0;e.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.com/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)};analytics.SNIPPET_VERSION="4.0.0"; | |
The code and instructions in this gist are from http://peterdowns.com/posts/open-iterm-finder-service.html. I've had to do this a few times and wanted to distill it the basics.
Automator
Application
Actions > Utilities > Run Applescript
open_in_iterm.app
into the window.Lesson 1 - Iterations | |
- BinaryGap - https://codility.com/demo/results/trainingU2FQPQ-7Y4/ | |
Lesson 2 - Arrays | |
- OddOccurrencesInArray - https://codility.com/demo/results/trainingFN5RVT-XQ4/ | |
- CyclicRotation - https://codility.com/demo/results/trainingSH2W5R-RP5/ | |
Lesson 3 - Time Complexity | |
- FrogJmp - https://codility.com/demo/results/training6KKWUD-BXJ/ | |
- PermMissingElem - https://codility.com/demo/results/training58W4YJ-VHA/ |
alias ll="ls -al" | |
unalias ll | |
inside ~/.bash_profile: | |
# ------- | |
# Aliases | |
# ------- | |
alias clr="clear" # Clear your terminal screen | |
alias flush="sudo discoveryutil udnsflushcaches" # Flush DNS (Yosemite) |
#!/bin/sh | |
# Removes an existing Drupal 8 install, then install again. | |
# Requires Drush 7 - https://github.com/drush-ops/drush | |
# | |
# Run this script from the docroot of a Drupal 8 checkout. | |
# Installs to mysql://localhost/drupal, user 1 user/pass is admin/admin. | |
if [ ! -e ./core/core.services.yml ] | |
then |
dgeni is a documentation generator developed by the Angular team. Ironically it lacks documentation right now, so we try to develop a very simple step-by-step-guide here, until a better documentation is available. Please share and fork this Gist.
dgeni is currently used in these project
Last week I tested broadcasting live from my office and answering questions about Processing via google hangout. You can watch an archive of the broadcast. There are also beginner and advanced video lessons that I'm making with this system.
While I haven't sorted out the exact technology I'll use, I'm planning on making this a regular weekly live broadcast starting this fall. To be ready, I'd like to do one more test next Wednesday, August 7th at 3 PM EST (7 PM UTC).
I'd like to get four programming questions (1 hour show, 15 minutes each) signed up in advance. I'll then invite you to the hangout around 2:45 and we'll begin broadcasting at 3. If you'd like to participate, please write a question below with a link to any additional info (sketches, videos, git repos, etc.) I'm not sure exactly what I'm looking for, but I'm hoping to learn about what works best through
<?php | |
/** | |
* @file | |
* Default theme implementation to display the basic html structure of a single | |
* Drupal page. | |
* | |
* Variables: | |
* - $css: An array of CSS files for the current page. | |
* - $language: (object) The language the site is being displayed in. |
metamorphosis = { | |
defaults : { | |
thing : 4 | |
}, | |
init : function (options) { | |
var | |
the = this, | |
o, // private object | |
p; // public object |