- Authoring Ebooks: http://www.authoringebooks.com/
- Create Your Own Programming Language: http://createyourproglang.com/
- Exceptional Ruby: http://exceptionalruby.com/
- JavaScript Performance Rocks: http://javascriptrocks.com/performance/
- Redmine Tips: http://www.redminetips.com/
- The SPDY Book: http://spdybook.com/
- Rails 3 Upgrade Handbook: http://www.railsupgradehandbook.com/
- Refactoring Redmine: http://www.refactoringredmine.com/book/
- Bootstrapping Design: http://bootstrappingdesign.com/
- Recipes With Backbone:
This file contains hidden or 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
[[25433345, "thor"], | |
[23854425, "rake"], | |
[21253644, "rails"], | |
[21575987, "rack"], | |
[19408780, "activesupport"], | |
[16265610, "activerecord"], | |
[15920580, "actionpack"], | |
[16207231, "json"], | |
[15497117, "actionmailer"], | |
[15335833, "activeresource"], |
This file contains hidden or 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
#include "AudioProcessorUndoAttachment.h" | |
using namespace juce; | |
class AudioProcessorUndoAttachment::ChangeAction : public UndoableAction | |
{ | |
public: | |
ChangeAction (AudioProcessor*); | |
bool perform() override; |
The ActiveRecord::Migration
class is used to manage Rails migration scripts. When writing these scripts, there are many class methods that can be used to make schema changes, which are described below in several sections.
Create Methods | Arguments | Notes | Rev |
---|---|---|---|
create_join_table | table1, table2, options | Creates a join table | Y |
create_table | name, options | Creates a table | Y |
This file contains hidden or 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
#! /bin/bash | |
# Simple Utility Script for allowing debug of hardened macOS apps. | |
# This is useful mostly for plug-in developer that would like keep developing without turning SIP off. | |
# Credit for idea goes to (McMartin): https://forum.juce.com/t/apple-gatekeeper-notarised-distributables/29952/57?u=ttg | |
# Update 2022-03-10: Based on Fabian's feedback, add capability to inject DYLD for sanitizers. | |
# | |
# Please note: | |
# - Modern Logic (on M1s) uses `AUHostingService` which resides within the system thus not patchable and REQUIRES to turn-off SIP. | |
# - Some hosts uses separate plug-in scanning or sandboxing. | |
# if that's the case, it's required to patch those (if needed) and attach debugger to them instead. |
This file contains hidden or 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
#!/bin/zsh | |
musicAppOpen=`osascript -e 'tell application "System Events" to (name of processes) contains "Music"'` | |
rm -f "/tmp/xcode-itunes.txt" | |
if [ $musicAppOpen = 'true' ]; then | |
musicState=`osascript -e 'tell application "Music" to player state as string'` | |
if [ $musicState = 'playing' ]; then | |
echo 'play' > '/tmp/xcode-itunes.txt' | |
osascript -e 'tell application "Music" to pause' |