Skip to content

Instantly share code, notes, and snippets.

@benmarten
benmarten / gist:7ba12ad6098d9056ded2
Created September 21, 2014 22:55
cmake fails to build on 10.10 #32485
Last login: Mon Sep 22 00:39:24 on ttys001
Ben@Bens-MBP-3.fritz.box:~$ brew update
Already up-to-date.
Ben@Bens-MBP-3.fritz.box:~$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Your Xcode (6.0.1) is outdated
Please update to Xcode 6.1.
2015-08-24T13:26:58.232027+00:00 heroku[web.1]: source=web.1 dyno=heroku.38201950.689521a5-365a-4d53-bfc7-d3e0d4f9e888 sample#memory_total=90.07MB sample#memory_rss=88.57MB sample#memory_cache=0.00MB sample#memory_swap=1.50MB sample#memory_pgpgin=34119pages sample#memory_pgpgout=11445pages
2015-08-24T13:27:20.354607+00:00 heroku[web.1]: source=web.1 dyno=heroku.38201950.689521a5-365a-4d53-bfc7-d3e0d4f9e888 sample#load_avg_1m=0.00 sample#load_avg_5m=0.00 sample#load_avg_15m=0.00
2015-08-24T13:27:20.354607+00:00 heroku[web.1]: source=web.1 dyno=heroku.38201950.689521a5-365a-4d53-bfc7-d3e0d4f9e888 sample#memory_total=90.07MB sample#memory_rss=88.54MB sample#memory_cache=0.00MB sample#memory_swap=1.53MB sample#memory_pgpgin=34139pages sample#memory_pgpgout=11473pages
2015-08-24T13:27:40.022375+00:00 heroku[web.1]: source=web.1 dyno=heroku.38201950.689521a5-365a-4d53-bfc7-d3e0d4f9e888 sample#load_avg_1m=0.00 sample#load_avg_5m=0.00 sample#load_avg_15m=0.00
2015-08-24T13:27:40.022960+00:00 heroku[web.1]: source=web
Ben@Bens-MacBook-Pro ~/d/node-js-sample> git push heroku
Counting objects: 3, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 333 bytes | 0 bytes/s, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Node.js app detected
~/d/l/L/L/dist (master) $ gp box 09:21:59
+ case "$(lsb_release -si)" in
++ lsb_release -si
+ export DOKKU_DISTRO=ubuntu
+ DOKKU_DISTRO=ubuntu
+ export DOKKU_IMAGE=gliderlabs/herokuish
+ DOKKU_IMAGE=gliderlabs/herokuish
+ export DOKKU_LIB_ROOT=/var/lib/dokku
+ DOKKU_LIB_ROOT=/var/lib/dokku
+ export PLUGIN_PATH=/var/lib/dokku/plugins
#!/bin/sh
# Setup Simple IPSec/L2TP VPN server for Ubuntu and Debian
#
# Copyright (C) 2014 Phil Plückthun <phil@plckthn.me>
# Based on the work of Lin Song (Copyright 2014)
# Based on the work of Viljo Viitanen (Setup Simple PPTP VPN server for Ubuntu and Debian)
# Based on the work of Thomas Sarlandie (Copyright 2012)
#
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
# Unported License: http://creativecommons.org/licenses/by-sa/3.0/
This file has been truncated, but you can view the full file.
bash-3.2$ mac update
Updating OS X...
sudo softwareupdate -i -a;
Software Update Tool
Copyright 2002-2015 Apple Inc.
Finding available software
No updates are available.
// Problem: Generate two random lists, filled with integers.
// Find the second highest common number. Optimize for performance.
const SIZE_MAX = 100
const INT_MAX = SIZE_MAX
class List {
static generateRandomList() {
let size = Math.round(Math.random() * SIZE_MAX)
let result = [size]
Process: adb [33877]
Path: /Users/USER/Library/Android/*/adb
Identifier: adb
Version: 0
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: adb [33877]
User ID: 501
Date/Time: 2018-03-28 15:09:29.875 -0700