Skip to content

Instantly share code, notes, and snippets.

View ikari-pl's full-sized avatar
🦣
https://8bit.red/users/ikari

Cezar “ikari” Pokorski ikari-pl

🦣
https://8bit.red/users/ikari
View GitHub Profile
@miguelmota
miguelmota / remove_tuxera.sh
Last active April 3, 2024 08:41
Completely uninstall and remove Tuxera NTFS on MacOS (resets trial version)
sudo rm -rf /Applications/Tuxera\ Disk\ Manager.app
sudo rm -rf /Library/Application\ Support/Tuxera\ NTFS
sudo rm -rf /Library/Filesystems/fusefs_txantfs.fs
@munificent
munificent / gist:9749671
Last active June 23, 2022 04:04
You appear to be creating a new IDE...
You appear to be advocating a new:
[ ] cloud-hosted [ ] locally installable [ ] web-based [ ] browser-based [ ] language-agnostic
[ ] language-specific IDE. Your IDE will not succeed. Here is why it will not succeed.
You appear to believe that:
[ ] Syntax highlighting is what makes programming difficult
[ ] Garbage collection is free
[ ] Computers have infinite memory
[ ] Nobody really needs:
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active April 19, 2024 11:00
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@moskvin
moskvin / gist:2283919
Created April 2, 2012 14:38
Fix for postgres connection via redis
------------------------- app/workers/post_receive.rb -------------------------
index 28216ec..39ead22 100644
@@ -2,6 +2,9 @@ class PostReceive
@queue = :post_receive
def self.perform(reponame, oldrev, newrev, ref, author_key_id)
+
+ defined?(ActiveRecord::Base) and ActiveRecord::Base.establish_connection
+
project = Project.find_by_path(reponame)