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
| function getAudioCallback(player, eventName){ | |
| var | |
| callbackName = 'on' + eventName.charAt(0).toUpperCase() + eventName.substr(1), | |
| self = this; | |
| ; | |
| return _.throttle(_.bind(self.audioCallbacks[callbackName], self, player),500); | |
| } |
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
| ---- Minecraft Crash Report ---- | |
| // Surprise! Haha. Well, this is awkward. | |
| Time: 19/04/14 16:46 | |
| Description: Exception getting block type in world | |
| java.lang.NullPointerException | |
| at tropicraft.world.schematic.CustomGenKoaHut.placeDownTilGround(CustomGenKoaHut.java:28) | |
| at tropicraft.world.schematic.CustomGenKoaHut.genPassPre(CustomGenKoaHut.java:20) | |
| at build.world.BuildJob.buildStart(BuildJob.java:153) |
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
| files: [{ | |
| expand: true, | |
| cwd: 'source', | |
| src: [ '**/*.styl' ], | |
| dest: 'build', | |
| ext: '.css' | |
| }] |
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
| var $body = $('body'); | |
| var bodySizeInform = function bodySizeInform(){ | |
| $body.width(document.width); | |
| $body.height(document.height); | |
| return true; | |
| } | |
| bodySizeInform = _.throttle(bodySizeInform, 500); | |
| bodySizeInform(); | |
| $(window).resize(bodySizeInform); |
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
| inside = (what, from)=> | |
| if typeof window isnt 'undefined' | |
| window[what] = from | |
| else | |
| global[what] = from | |
| we = (obj)-> obj | |
| load = (thing)=> inside thing, we require thing | |
| inside '$', we require 'jquery' | |
| load 'assert' |
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
| ---- Minecraft Crash Report ---- | |
| // Don't be sad. I'll do better next time, I promise! | |
| Time: 02/11/14 10:19 | |
| Description: There was a severe problem during mod loading that has caused the game to fail | |
| cpw.mods.fml.common.LoaderException: java.lang.NoSuchMethodError: buildcraft.api.recipes.IRefineryRecipeManager.addRecipe(Ljava/lang/String;Lnet/minecraftforge/fluids/FluidStack;Lnet/minecraftforge/fluids/FluidStack;II)V | |
| at cpw.mods.fml.common.LoadController.transition(LoadController.java:162) | |
| at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:515) | |
| at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239) |
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
| [ | |
| { | |
| "modid": "", | |
| "name": "", | |
| "description": "", | |
| "version": "V2", | |
| "mcversion": "1.7.10", | |
| "url": "", | |
| "updateUrl": "", | |
| "authorList": ["Reika"], |
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
| // Only add setZeroTimeout to the window object, and hide everything | |
| // else in a closure. | |
| (function() { | |
| var timeouts = []; | |
| var messageName = "zero-timeout-message"; | |
| // Like setTimeout, but only takes a function argument. There's | |
| // no time argument (always zero) and no arguments (you have to | |
| // use a closure). | |
| function setZeroTimeout(fn) { |
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 | |
| while true | |
| do | |
| ls /run/user/1000/gvfs/ftp* &> /dev/null | |
| sleep 15 | |
| done |
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
Show hidden characters
| { | |
| "always_prompt_for_file_reload": true, | |
| "always_show_minimap_viewport": true, | |
| "auto_complete_commit_on_tab": true, | |
| "auto_complete_with_fields": true, | |
| "auto_find_in_selection": true, | |
| "bold_folder_labels": true, | |
| "color_scheme": "Packages/Monokai Extended/Monokai Extended.tmTheme", | |
| "default_line_ending": "windows", | |
| "draw_indent_guides": true, |
OlderNewer