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
public class Vowels { | |
public static void main(String [ ] args) { | |
int pIndex, vIndex, count; | |
char[] vowels = { 'a', 'e', 'i', 'o', 'u' }; | |
String phrase = "phrase"; | |
count = 0; | |
for(pIndex = 0; pIndex < phrase.length(); pIndex++) { | |
for(vIndex = 0; vIndex < 5; vIndex++) { | |
if (phrase.charAt(pIndex) == vowels[vIndex]) { |
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
347.54s user 34.49s system 81% cpu 7:47.55 total |
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
➜ local brew doctor | |
Error: Unbrewed static libraries were found in /usr/local/lib. | |
If you didn't put them there on purpose they could cause problems when | |
building Homebrew formulae, and may need to be deleted. | |
Unexpected static libraries: | |
/usr/local/lib/libsecurity_agent_client.a /usr/local/lib/libsecurity_agent_server.a | |
Error: X11 not installed. | |
You don't have X11 installed as part of your OS X installation. |
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
-------------------------------------------------------------------------------- | |
Language files blank comment code | |
-------------------------------------------------------------------------------- | |
Javascript 197 4200 2387 17065 | |
Ruby 331 2392 1713 10951 | |
CSS 13 1614 268 10367 | |
HTML 21 1195 348 8720 | |
SASS 45 362 10 3447 | |
HAML 74 338 0 1660 | |
YAML 16 206 187 1379 |
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
App.Store = Ember.Store.extend | |
reload: (obj) -> | |
@adapter.find(this, obj.constructor, obj.get('id')) |
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
~/Code/ignition/vendor/assets/javascripts/jquery-grid (slickgrid-test ✘)✹ ᐅ wach -o "src/*" make all | |
- Will run: make all | |
- when files matching {src/*} added or updated | |
/usr/local/lib/node_modules/wach/lib/wach-cli.js:34 | |
changedPath = path.relative(cwd, changedPath); | |
^ | |
TypeError: Object #<Object> has no method 'relative' | |
at /usr/local/lib/node_modules/wach/lib/wach-cli.js:34:26 | |
at Socket.<anonymous> (/usr/local/lib/node_modules/wach/lib/wach.js:13:23) |
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
typedef struct { | |
String name; | |
void (*command)(); | |
} Message; | |
void bellOn() { | |
digitalWrite(RING, HIGH); | |
} | |
void bellOff() { |
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
arr = [1, 2, 3, 4, 5, 6, 7, 8] | |
break for num in arr when num % 2 == 0 | |
alert(num) |
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
class Incident | |
include MongoMapper::Document | |
key :case_number, Integer | |
key :date, Date | |
key :charge, String | |
key :description, String | |
key :arrest, Boolean | |
key :domestic, Boolean | |
key :beat, Integer |
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
abloom:~/Sites/centro/pickle_factory (sync-refactor) $ ack --thppt | |
_ /| | |
\'o.O' | |
=(___)= | |
U ack --thppt! |