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
| # Define the exports for the prx | |
| PSP_BEGIN_EXPORTS | |
| # These four lines are mandatory (although you can add other functions like module_stop) | |
| # syslib is a psynonym for the single mandatory export. | |
| PSP_EXPORT_START(syslib, 0, 0x8000) | |
| PSP_EXPORT_FUNC(module_start) | |
| PSP_EXPORT_FUNC(module_stop) | |
| PSP_EXPORT_VAR(module_info) | |
| PSP_EXPORT_END |
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 <pspkernel.h> | |
| #include <pspctrl.h> | |
| #include <pspdisplay.h> | |
| #include <pspgu.h> | |
| #include <memory.h> | |
| #include <intraFont.h> // Add this | |
| #define STB_IMAGE_IMPLEMENTATION | |
| #include <stb_image.h> |
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 <Bluepad32.h> | |
| ControllerPtr myControllers[BP32_MAX_GAMEPADS]; | |
| uint8_t RXX = 0; | |
| uint8_t RYY = 0; | |
| // This callback gets called any time a new gamepad is connected. | |
| // Up to 4 gamepads can be connected at the same time. | |
| void onConnectedController(ControllerPtr ctl) { |
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
| /* | |
| font tiles in GBDK are always inserted at the start. | |
| This script will offset existing tile maps by the number of | |
| tiles in the font. | |
| */ | |
| const fontTileSize = 37; | |
| const tileMap = [/* Tile map array of hex values */]; |
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
| <# | |
| Will install a VSCode extension. | |
| https://github.com/hoovercj/vscode-power-mode | |
| Sets a custom image. | |
| Best to put this on a share then execute on anyones machine that they leave unlocked. | |
| **NOTE** | |
| It will merge with their existing settings.json. May want to take a backup first. |
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
| if (!window.Enumerator) { | |
| window.Enumerator = function (c) { | |
| this._c = Array.from(c); | |
| this._index = 0; | |
| } | |
| window.Enumerator.prototype.atEnd = function () { | |
| return this._index >= this._c.length - 1; | |
| } | |
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
| node_modules | |
| dist/ | |
| yarn.lock | |
| wwwroot |
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
| 'use stirct'; | |
| const electron = require('electron'), | |
| userDataPath = (electron.app || electron.remote.app).getPath('userData'), | |
| path = require('path'), | |
| fs = require('fs'); | |
| class Store { | |
| constructor(configName = '') { | |
| // Probably want to implement error handling |
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
| .directive('ignoreDisabled', ['$exceptionHandler', ($exceptionHandler) => { | |
| return { | |
| restrict: 'A', | |
| require: 'ngModel', | |
| link: ($scope, elem, attr, ctrl) => { | |
| if (!attr.hasOwnProperty('ngDisabled')) { | |
| $exceptionHandler(new ReferenceError('Attempt to use ignoreDisabled on element without ngDisabled.')); | |
| } else { | |
| $scope.$watch(attr.ngDisabled, (val, oldVal) => { | |
| if (val === true && val !== oldVal) { |
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
| let promisify = (fn) => (...args) => | |
| new Promise((rCB, eCB) => | |
| fn(...args, (e, r) => { | |
| if (e) | |
| eCB(e); | |
| else | |
| rCB(r); | |
| })); | |
| promisify(sass.render({ |
NewerOlder