Step 1 – Install Homebrew
Homebrew […] simplifies the installation of software on the Mac OS X operating system.
Homebrew […] simplifies the installation of software on the Mac OS X operating system.
function dedent(callSite, ...args) { | |
function format(str) { | |
let size = -1; | |
return str.replace(/\n(\s+)/g, (m, m1) => { | |
if (size < 0) | |
size = m1.replace(/\t/g, " ").length; |
(function(a,b){typeof define=="function"&&define.amd?define("json",["exports"],b):b(typeof exports=="object"&&exports||this.JSON||(this.JSON={}))})(this,function(a){var b={}.toString,c={}.hasOwnProperty,d,e,f;return e=typeof a.stringify=="function",f=typeof a.parse=="function",function(){var c='{"result":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}',d,g,h;if(e){d=function(){return 1},d.toJSON=d;try{switch(!1){case a.stringify(0)==="0":case a.stringify(new 0..constructor)==="0":case a.stringify(new"".constructor)=='""':case a.stringify(b)===void 0:case a.stringify(void 0)===void 0:case a.stringify()===void 0:case a.stringify(d)==="1":case a.stringify([d])=="[1]":case a.stringify([void 0])=="[null]":case a.stringify(null)=="null":case a.stringify([void 0,b,null])=="[null,null,null]":case a.stringify({result:[d,true,false,null,"\0\b\n\f\r "]})==c:case a.stringify(null,d)==="1":case a.stringify([1,2],null,1)=="[\n 1,\n 2\n]":case(d=new Date(-864e13)).getUTCFullYear()!=-271821||a.stringify(d)=='"-271821-04-20T00: |
import React, { Component } from 'react'; | |
import { | |
Animated, | |
Platform, | |
StyleSheet, | |
Text, | |
View, | |
RefreshControl, | |
} from 'react-native'; |
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
FROM swiftdocker/swift:latest | |
ADD fibonacci.swift |
# Hello, and welcome to makefile basics. | |
# | |
# You will learn why `make` is so great, and why, despite its "weird" syntax, | |
# it is actually a highly expressive, efficient, and powerful way to build | |
# programs. | |
# | |
# Once you're done here, go to | |
# http://www.gnu.org/software/make/manual/make.html | |
# to learn SOOOO much more. |
# You can add comments like this | |
all: gpa | |
gpa: lab1.o | |
gcc lab1.o -o gpa | |
lab1.o: lab1.c | |
gcc -c lab1.c -o lab1.o | |
clean: |
// F# is Microsofts functional language | |
// It provides a way to develop predictable | |
// code that is often way shorter | |
// Functional languages apply functions | |
// to data rather then focus on state changes | |
// like most OO languages | |
// Functional languages are great when you | |
// must execute multiple processes at once. | |
// Because all variables are immutable it |