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
| const std = @import("std"); | |
| const c = @cImport({ | |
| @cInclude("AudioUnit/AudioUnit.h"); | |
| @cInclude("math.h"); | |
| }); | |
| const kOutputBus = 0; | |
| pub fn main() !void { | |
| const stdout = std.io.getStdOut().writer(); |
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
| requirejs.config({ | |
| baseUrl: '/', | |
| paths: { | |
| "jquery": "vendor/bower/jquery/jquery", | |
| "underscore": "vendor/bower/lodash/dist/lodash.underscore.min", | |
| "backbone": "vendor/bower/backbone/backbone", | |
| "modernizr": "vendor/bower/modernizr/modernizr", | |
| "bootstrap": "vendor/bootstrap" | |
| }, |
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
| git diff HEAD f4a27733-9210-544b-af2a-5138c84a0ace -- memcache.php | |
| git checkout c070061c0d4d1ae38ffbb7c09e1a80c7ae468bcb -- memcache.php |
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
| Set up the submodule for the first time: | |
| [~]$ cd ~/main/ | |
| [main]$ git submodule add git://github.com/my/submodule.git ./subm | |
| [main]$ git submodule update --init | |
| [main]$ git commit ./submodule -m "Added submodule as ./subm" | |
| Fetch submodules after cloning a repository: | |
| [~]$ git clone git://github.com/my/main.git ~/main | |
| [~]$ cd ~/main/ | |
| [main]$ git submodule update --init |
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
| Creating | |
| ======== | |
| git checkout -b branch_name # local | |
| git branch --track branch_name origin/remote_branch_name # tracking | |
| git push -u origin branch_name # remote | |
| Deleting | |
| ======== | |
| git branch -d branch_name # local |