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
require 'formula' | |
class FlexSdk < Formula | |
url 'http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.6/flex_sdk_4.6.0.23201B.zip' | |
md5 '202bca98ee7b8db9cda3af01e99c688e' | |
homepage 'http://opensource.adobe.com/' | |
version 'v4.6.0.23201' | |
def install |
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
{"lastUpload":"2021-03-02T20:40:08.505Z","extensionVersion":"v3.4.3"} |
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"/> | |
<title>window.innerWidth vs. getBoundingClientRect</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |
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 _ from 'lodash'; | |
export function enumNumber(... params) { | |
return Object.freeze(_.mapValues(_.invert(params), Number)); | |
} | |
export function enumString(... params) { | |
return Object.freeze(_.mapKeys(params)); | |
} |
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
!function(){ | |
<% Dir.glob("#{Rails.root}/app/javascripts/templates/**/*.html.haml.mustache").each do |template| %> | |
ich.addTemplate( | |
"<%= File.basename template, '.html.haml.mustache' %>", | |
"<%= Haml::Engine.new(File.open(template, 'rb').read()).render.gsub(/\"/, '\\\"').gsub(/\n|[ ]{2,}/,'') %>" | |
); | |
<% end %> | |
}(); |
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
#!/usr/bin/env python | |
from os.path import * | |
from SCons.Builder import * | |
from SCons.Script.SConscript import SConsEnvironment | |
def TOOL_APP_BUNDLE(env): | |
if env['PLATFORM'] != 'darwin': | |
return |
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
{ | |
M2_HOME = "/usr/local/Cellar/maven/3.0.3/libexec"; | |
M2 = "/usr/local/Cellar/maven/3.0.3/libexec/bin"; | |
} |