posts | seconds | time |
---|---|---|
1 | 0.824 | 0:0.824 |
100 | 2.644 | 0:2.644 |
1000 | 25.071 | 0:25.071 |
5000 | 186.715 | 3:6.715 |
10000 | 536.904 | 8:56.904 |
#!/usr/bin/env ruby | |
# gem install sinatra --no-document | |
# gem install github-markdown --no-document | |
require 'sinatra' | |
require 'github/markdown' | |
set :port, 3000 | |
get '/' do | |
<<-EOT | |
<!DOCTYPE html> |
#!/usr/bin/bash -l | |
# | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2015-2017 Stefan Tatschner | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
This is a supplement to the official Phabricator Installation Guide, because their guide will leave you with all kinds of permission and config errors and ~15,000 setup issues on startup.
# apt-get install mercurial subversion python-pygments sendmail imagemagick
gem: | |
--bindir ~/.local/bin | |
--no-ri --no-rdoc |
Open up browser console, for Chrome, hit F12 and copy-paste and enter this | |
$("a").filter(function(index){return $(this).text()==="unsave"}).click();setTimeout(function(){location.reload();},500); | |
Repeat until all items are unsaved. |
https://www.reddit.com/r/archlinux/comments/exr82b/tried_55_from_testing_and_wifi_rtl8822be_stopped/
I have found a workaround for it issue. The issue is caused most times because this function fails trying to read the ASPM configuration from the PCI device. The current rtwpci module doesn't have an option to manage ASPM as well. So, digging a bit deeper I have found that setting ASPM using the Link Control Register fix the problem and rtwpci is able to read it properly. By default, RT8822BE cards enable L0s and L1 ASPM states but L0s states are shown as "Unknown" then rtwpci fails. I have made a little script that fix the issue, just be sure to follow:
Note: execute next commands as root.
Execute lspci | grep -i wifi | awk '{print $1}'
and keep that result in mind.
# YouTube (english) : https://www.youtube.com/watch?v=FtU2_bBfSgM | |
# YouTube (french) : https://www.youtube.com/watch?v=VjnaVBnERDU | |
# | |
# On your laptop, connect to the Mac instance with SSH (similar to Linux instances) | |
# | |
ssh -i <your private key.pem> ec2-user@<your public ip address> | |
# | |
# On the Mac |