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
diff --git a/Library/Formula/qt5.rb b/Library/Formula/qt5.rb | |
index ff54df3..62010ae 100644 | |
--- a/Library/Formula/qt5.rb | |
+++ b/Library/Formula/qt5.rb | |
@@ -14,7 +14,7 @@ end | |
class Qt5 < Formula | |
desc "Version 5 of the Qt framework" | |
homepage "https://www.qt.io/" | |
- head "https://code.qt.io/qt/qt5.git", :branch => "5.5", :shallow => false | |
+ head "https://code.qt.io/qt/qt5.git", :branch => "dev", :shallow => false |
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
$ python2.7 /usr/local/share/fish/tools/create_manpage_completions.py --manpath --progress --cleanup-in '~/.config/fish/completions' --cleanup-in '~/.config/fish/generated_completions' |
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
<% if Rails.env.development? %> | |
<script>document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')</script> | |
<% 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
# in spec/support/be_valid_asset.rb | |
BeValidAsset::Configuration.markup_validator_host = 'http://192.168.99.100:32770' |
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/src/sys/amd64/conf/REWIREMIN | |
ident GENERIC | |
cpu HAMMER | |
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols | |
makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support | |
device acpi | |
device adv # Advansys SCSI adapters |
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
$ for line in `docker ps | awk '{print $1}' | grep -v CONTAINER`; do docker ps | grep $line | awk '{printf $NF" "}' && echo $(( `cat /sys/fs/cgroup/memory/docker/$line*/memory.usage_in_bytes` / 1024 / 1024 ))MB ; done | |
services_gitlab_1 912MB | |
services_redis_1 14MB | |
services_postgresql_1 58MB | |
services_ghost_1 165MB |
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 'yaml' | |
Vagrant.configure(2) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.network "forwarded_port", guest: 80, host: 8080 | |
# Parse secrets from Rails' config file (ignored in the repo) | |
secrets_file = File.expand_path(File.join(File.dirname(__FILE__), 'config', 'secrets.yml')) | |
secrets = YAML::load_file secrets_file |
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
# Add these to /usr/share/fish/config.fish | |
# System-wide rbenv support for fish | |
if test -f /usr/local/rbenv/bin/rbenv | |
set -gx RBENV_ROOT /usr/local/rbenv | |
if not contains /usr/local/rbenv/bin $PATH | |
set PATH $PATH /usr/local/rbenv/bin | |
end | |
. (rbenv init - | psub) | |
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
progress=false | |
spin=false | |
loglevel=error | |
init.author.name=Attila Györffy | |
init.author.email=attila@does.not.share.his.email.com | |
init.author.url=https://attilagyorffy.com | |
//registry.npmjs.org/:_password=thisissecret | |
//registry.npmjs.org/:username=attilagyorffy | |
//registry.npmjs.org/:email=attila@does.not.share.his.email.com | |
//registry.npmjs.org/:always-auth=true |
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
<!-- Referencing jQuery using SRI: --> | |
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha384-rY/jv8mMhqDabXSo+UCggqKtdmBfd3qC2/KvyTDNQ6PcUJXaxK1tMepoQda4g5vB" crossorigin="anonymous"></script> | |
<!-- | |
- But Attila, you say SRI. What the hell is that? | |
- Good Question! SRI stands for Subresource Integrity. It's a new way of telling your browser to | |
verify the checksum of the file you reference from a domain that is not under your control. | |
Pretty much the same way shell scripts and package managers ensure a matching checksum of files | |
when they are downloaded. It's the same idea, except in the context of web browser security. |