Skip to content

Instantly share code, notes, and snippets.

View guns2410's full-sized avatar
🎯

Guns guns2410

🎯
View GitHub Profile
@jrichardlai
jrichardlai / ErrorManager.java
Last active February 7, 2018 20:44
Bugsnag integration with React Native
import android.util.Base64;
import android.util.Log;
import com.bugsnag.android.Bugsnag;
import com.bugsnag.android.MetaData;
import com.bugsnag.android.Severity;
import com.facebook.react.bridge.*;
import java.io.File;
import java.io.InputStream;
@brandonb927
brandonb927 / installed.md
Last active February 22, 2022 00:53
Installed Atom Packages

Sublime-Style-Column-Selection
Enable Sublime style 'Column Selection'. Just hold 'alt' while you select, or select using your middle mouse button. Also similar to Texmate's 'Multiple Carets', or BBEdit's 'Block Select'

activate-power-mode
Activate POWER MODE to write your code in style.

atom-alignment
A simple key-binding for aligning multi-line and multiple selections in Atom (Based on the sublime text plugin)

atom-beautify

@cramhead
cramhead / assetPath.js
Created January 7, 2014 18:06
get meteor asset path
function getAssetPath() {
var meteor_root = Npm.require('fs').realpathSync(process.cwd() + '/../');
console.log(meteor_root);
var application_root = Npm.require('fs').realpathSync(meteor_root + '/../');
// if running on dev mode
if (Npm.require('path').basename(Npm.require('fs').realpathSync(meteor_root + '/../../../')) == '.meteor') {
application_root = Npm.require('fs').realpathSync(meteor_root + '/../../../../');
}
@AvnerCohen
AvnerCohen / npm-cheat-sheet.md
Last active July 9, 2023 09:14
Node.js - npm Cheat Sheet

Node.js - npm Cheat Sheet

(Full description and list of commands at - https://npmjs.org/doc/index.html)

List of less common (however useful) NPM commands

Prepand ./bin to your $PATH

Make sure to export your local $PATH and prepand relative ./node_modules/.bin/: