Skip to content

Instantly share code, notes, and snippets.

View mohanrohith's full-sized avatar
:octocat:
I may be slow to respond.

Rohith Mohan mohanrohith

:octocat:
I may be slow to respond.
View GitHub Profile
@mohanrohith
mohanrohith / pokemon.json
Created April 8, 2022 06:59 — forked from jherr/pokemon.json
Pokemon list
[{
"id": 1,
"name": {
"english": "Bulbasaur",
"japanese": "フシギダネ",
"chinese": "妙蛙种子",
"french": "Bulbizarre"
},
"type": [
"Grass",
@mohanrohith
mohanrohith / ErrorUtils.js
Created July 15, 2016 10:07
Error handler for React Native
import StackTrace from 'stacktrace-js'
const Fabric = require('react-native-fabric')
const { Crashlytics } = Fabric
// call this to start capturing any no-handled errors
exports.init = function () {
const originalHandler = global.ErrorUtils.getGlobalHandler()
function errorHandler (e) {
exports.issue(e)
if (originalHandler) {
{
"color_scheme": "Packages/Dayle Rees Color Schemes/Darkside.tmTheme",
"font_size": 13,
"ignored_packages":
[
"Vintage"
],
"theme": "Flatland Dark.sublime-theme",
"translate_tabs_to_spaces": true
}
.WebRupee{
font-size: 50px;
}
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Id beatae debitis sint ad ab tempore ipsum aspernatur expedita nam autem impedit nulla atque accusantium. Minima consectetur praesentium commodi quod doloremque.
</body>
</html>
@mohanrohith
mohanrohith / index.html
Created December 8, 2012 14:37
posted from brackets
<h2>This is your guide!</h2>
@mohanrohith
mohanrohith / gist:4139632
Created November 24, 2012 13:12 — forked from efeminella/gist:1937609
Loading external Handlebars Templates with jQuery or Zepto
/*
* Extends Handlebars with a basic get method for loading external
* Handlebars templates. Simply pass an options object which contains
* the following properties:
* - path (required) : Path to the external template file to be loaded
* - success (required) : Callback invoked with the compiled loaded template.
* - cache (optional) : true if the template is to be cached, otherwise false.
*
* In addition to the above arguments, any jQuery/Zepto.ajax options argument
* can be specified as well.