I hereby claim:
- I am marcinczenko on github.
- I am marcinczenko (https://keybase.io/marcinczenko) on keybase.
- I have a public key ASDqrBammzBkDZishBDP32HbZNrFDqhua6C1Ho_TfCym_Ao
To claim this, I am signing this object:
const WebpackBar = require('webpackbar') | |
module.exports = { | |
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => { | |
// Note: we provide webpack above so you should not `require` it | |
// Perform customizations to webpack config | |
config.plugins.push(new WebpackBar({ | |
name: 'Bundle' | |
})) |
const WebpackBar = require('webpackbar') | |
const withPlugins = require('next-compose-plugins') | |
const withBundleAnalyzer = require('@next/bundle-analyzer')({ | |
enabled: process.env.ANALYZE === 'true' | |
}) | |
const withMDX = require('@next/mdx')({ | |
extension: /\.mdx?$/, | |
use: ['babel-loader', '@mdx-js/loader'] | |
}) |
FROM ubuntu:latest | |
RUN apt-get update; \ | |
apt-get install -y curl; \ | |
apt-get install -y apt-transport-https; \ | |
(curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -); \ | |
(echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list); \ | |
apt-get update; \ | |
(curl -sL https://deb.nodesource.com/setup_9.x | bash -); \ | |
apt-get install -y nodejs; \ |
I hereby claim:
To claim this, I am signing this object:
import Foundation | |
import CoreData | |
protocol EPQuantity { | |
associatedtype EPQuantityValueType | |
func getValue() -> EPQuantityValueType | |
} | |
struct EPAcceleration: EPQuantity, CustomStringConvertible { | |
let acceleration: Double |
import Foundation | |
protocol Logger { | |
associatedtype LoggerItemType | |
func log(item: LoggerItemType) | |
} | |
struct AnyLogger<LoggerItemType> : Logger { | |
//: Playground - noun: a place where people can play | |
class MyClass: CustomStringConvertible { | |
let counter: Int | |
var description: String { | |
return "{ counter: \(self.counter) }" | |
} | |
init(withCounter: Int) { |
-- Adapted from these sources: | |
-- http://peterdowns.com/posts/open-iterm-finder-service.html | |
-- https://gist.github.com/cowboy/905546 | |
-- https://gist.github.com/eric-hu/5846890 | |
-- Modified to work with files as well, cd-ing to their container folder | |
-- Modified to do an ls -l if the selected item in Finder is a file so that you get the name of the file waiting for you in the terminal. | |
on run {input, parameters} | |
tell application "Finder" | |
set my_file to first item of input |
-- Adapted from these sources: | |
-- http://peterdowns.com/posts/open-iterm-finder-service.html | |
-- https://gist.github.com/cowboy/905546 | |
-- https://gist.github.com/eric-hu/5846890 | |
-- Modified to work with files as well, cd-ing to their container folder | |
-- Modified to do an ls -l if the selected item in Finder is a file so that you get the name of the file waiting for you in the terminal. | |
on run {input, parameters} | |
tell application "Finder" | |
set my_file to first item of input |
-- Adapted from these sources: | |
-- http://peterdowns.com/posts/open-iterm-finder-service.html | |
-- https://gist.github.com/cowboy/905546 | |
-- | |
-- Modified to work with files as well, cd-ing to their container folder | |
on run {input, parameters} | |
tell application "Finder" | |
set my_file to first item of input | |
set filetype to (kind of (info for my_file)) | |
-- Treats OS X applications as files. To treat them as folders, integrate this SO answer: |