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
SELECT pg_size_pretty( pg_database_size('db/database_name') ); |
sudo service postgresql stop
sync
sudo sysctl -w vm.drop_caches=3 # echo 3 > /proc/sys/vm/drop_caches
sudo service postgresql start
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
it 'should do a thing' do | |
ActiveRecord::Base.logger = Logger.new(STDOUT) if defined?(ActiveRecord::Base) | |
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
// Downloaded from https://pastebin.com/5mkBeZ5S | |
//PIXELBOY BY @WTFMIG | |
using UnityEngine; | |
using System.Collections; | |
[ExecuteInEditMode] | |
[AddComponentMenu("Image Effects/PixelBoy")] | |
public class PixelBoy : MonoBehaviour | |
{ |
OlderNewer