A Pen by Thomas Francis Wrenn on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <ctime> | |
#include <cstdlib> | |
using namespace std; | |
int main () | |
{ | |
unsigned seed; | |
seed = time( NULL ); | |
srand( seed ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.poly.edu/academics/programs/applied-physics-bs/curriculum | |
http://www.poly.edu/academics/programs/biomolecular-science-bs/curriculum | |
http://www.poly.edu/academics/programs/business-and-technology-management-bs/curriculum | |
http://www.poly.edu/academics/programs/chemical-and-biomolecular-engineering-bs/curriculum | |
http://www.poly.edu/academics/programs/civil-engineering-bs/curriculum | |
http://www.poly.edu/academics/programs/computer-engineering-bs/curriculum | |
http://www.poly.edu/academics/programs/computer-science-bs/curriculum | |
http://www.poly.edu/academics/programs/construction-management-bs/curriculum | |
http://www.poly.edu/academics/programs/electrical-engineering-bs/curriculum | |
http://www.poly.edu/academics/programs/integrated-digital-media-bs/curriculum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $ = require('NodObjC'); | |
var types = require('./node_modules/NodObjC/lib/types') | |
, SEL = require('./node_modules/NodObjC/lib/sel') | |
, id = require('./node_modules/NodObjC/lib/id') | |
, Class = require('./node_modules/NodObjC/lib/class') | |
, IMP = require('./node_modules/NodObjC/lib/imp') | |
, block = require('./node_modules/NodObjC/lib/block') | |
$.import('Foundation'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<NSMethodSignature: 0x1003003f0> | |
number of arguments = 2 | |
frame size = 224 | |
is special struct return? NO | |
return value: -------- -------- -------- -------- | |
type encoding (v) 'v' | |
flags {} | |
modifiers {} | |
frame {offset = 0, offset adjust = 0, size = 0, size adjust = 0} | |
memory {offset = 0, size = 0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET /rest/roles HTTP/1.1 | |
Authorization: NLAuth [email protected], nlauth_signature=knr6M=c(]GQ33aJwb97m^Rvp9xmUe/+?&&C9tDKr}2iKQDo32N | |
Accept-Language: en-US | |
Accept: */* | |
Cookie: NS_VER=2015.2.0 | |
Host: rest.netsuite.com | |
Connection: close | |
User-Agent: Paw/2.2.5 (Macintosh; OS X/10.11.1) GCDHTTPRequest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
App.LibraryRoute = App.ApplicationRoute.extend({ | |
activate: function () { | |
//no longer enter | |
this._super(); | |
only called once on entering a route. | |
}, | |
beforeModel: function () { | |
// any state you want in place before the model is initialized, this is called before any model promises are resolved | |
// also could be used to conditionally prevent access to a route by throwing transition.abort |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export function fixedSort(arrayProp, ...sortProps) { | |
console.log(arrayProp, sortProps); | |
let parsedProps = sortProps.map((prop) => { | |
let [name, dir] = prop.split(':'); | |
return [name, dir === 'desc' ? 1 : -1]; | |
}); | |
let observerString = `${arrayProp}.@each.{${parsedProps.map(prop => prop[0]).join(',')}}`; | |
function sortFn() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
init() { | |
const FunMixin = Ember.Mixin.create({ | |
fun() { | |
console.log('fun takeover'); | |
this._super(...arguments); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
font-family: sans; | |
padding: 10px; | |
} |
OlderNewer