profile
viewpoint
Peter John pyros2097 Bangalore, India pyros2097.dev .................@EqualExperts.................... @iowna, @lifebox-healthcare, @unbarrier, @playlyfe ....................................................

pyros2097/GdxStudio 39

An IDE for creating Games using libGDx and Java supported on all platforms Android, iOS, Desktop

pyros2097/go-embed 24

Generates go code to embed resource files into your library or executable

pyros2097/go-golem 6

A Highly Opinionated GraphQL Framework in golang

pyros2097/Dota2 2

Some Idea I had about recreating Dota in a newer better game engine

pyros2097/exo 2

exo golang frontend web framework in wasm and gopherjs

pyros2097/Model-Viewer 2

Android app to view md2 models.

pyros2097/CobraIDE 1

Cobra is an open-source programming language for the .NET and Java platforms. This IDE is specifically meant for easier coding of cobra applications and projects. Not Fully Functional but usable.

pyros2097/computer-science 1

Documenting all I know in computer science

pyros2097/.vim 0

My vim config

pyros2097/apollo-server 0

:earth_africa: GraphQL server for Express, Connect, Hapi, Koa and more

push eventpyros2097/website

pyros2097

commit sha 09c61e7ed92bdfabb7827b56ff8984874aa611a6

fix csp again

view details

push time in 2 days

push eventpyros2097/website

pyros2097

commit sha e1a07a517f0a4fe18403fc6438f461835219317d

fix csp

view details

push time in 2 days

push eventpyros2097/website

pyros2097

commit sha baf30d09089c2dbb9a1d15024ad939c9da1c2404

git mailto links

view details

pyros2097

commit sha 69a6dbdb6ee7545437386f708cc3f846ebf86a3a

remove comments and add csp plugin

view details

push time in 3 days

issue commentpyros2097/rust-embed

Windows path release build `\` should be `/`

@Mcat12 that seems better. Thet way we won't have these path issues across various platforms.

ralpha

comment created time in 8 days

issue commentpyros2097/rust-embed

Windows path release build `\` should be `/`

@ralpha if everything works fine and tests pass then raise a PR will merge the change.

ralpha

comment created time in 8 days

startedtannerlinsley/react-query

started time in 8 days

startedmaxgoedjen/secretive

started time in 8 days

startedory/kratos

started time in 14 days

push eventpyros2097/website

pyros2097

commit sha 0261f20f447d98697f30ee5d55e8fa9cb7a4001b

fix publish action again

view details

push time in 16 days

push eventpyros2097/website

pyros2097

commit sha 64b35636af348d4a8592214ea8113688a89626c6

fix publish action

view details

push time in 16 days

create barnchpyros2097/website

branch : master

created branch time in 16 days

created repositorypyros2097/website

My website hosted on pyros2097.dev

created time in 16 days

push eventpyros2097/website

pyros2097

commit sha 0380964b5bb83062d1744ae2c9ea08d3419da948

remove header.js

view details

pyros2097

commit sha 0d65a42cef20971267e802c815609d8111f84f38

add Header.js

view details

push time in 16 days

push eventpyros2097/website

pyros2097

commit sha 96b6fb4125c657f06608b28b3211134469852341

fix projects case

view details

push time in 16 days

push eventpyros2097/website

pyros2097

commit sha 90e45eae7bc6b802f5bbd1157080cd881938be61

add cfn template

view details

push time in 16 days

push eventpyros2097/website

pyros2097

commit sha 40931208bf6ca304baa1e3892c6e88c95c1ade63

blogs working

view details

pyros2097

commit sha 1fb28283c89bc85d6fa5372b955a2f090e91b102

fix more stuff

view details

push time in 17 days

push eventpyros2097/website

pyros2097

commit sha cff4f580b2823fdd98e8415a71003e597cefbc54

initial commit

view details

pyros2097

commit sha 94ed01ea58e7b442bf0b2cb4222b806d89cdf9c3

fix theme provider

view details

pyros2097

commit sha cf4d0d3ab57638d5cc7a27f4e7a6a6bfb5ef0017

fix eslint and component name

view details

pyros2097

commit sha 550b3b4b1a27785ddb727bba3e5577bcb1a6a4d3

use theme ui

view details

pyros2097

commit sha 27a759d3d2381360d46f8211f390966d4452fdce

refactor and fix stuff

view details

push time in 18 days

startedeerimoq/monolinux

started time in 18 days

startedeerimoq/nala

started time in 18 days

startednarative/gatsby-theme-novela

started time in 22 days

startedudp/json-parser

started time in 23 days

create barnchpyros2097/gatsby-starter-netlify-cms

branch : master

created branch time in 25 days

created repositorypyros2097/gatsby-starter-netlify-cms

created time in 25 days

startedrs/curlie

started time in 25 days

startedblitz-js/blitz

started time in 25 days

startedCookPete/react-player

started time in a month

startedxgenecloud/xgenecloud

started time in a month

startednefe/number-precision

started time in a month

startedo1egl/paseto

started time in a month

startedreact-designer/react-designer

started time in a month

startedreact-designer/react-designer

started time in a month

startedstereobooster/react-snap

started time in a month

startedsmoketurner/sam-cdn

started time in a month

startedprscX/react-native-app-tour

started time in a month

issue commentmatcornic/hermes

CID Embedded Images

@matcornic truly you are slow to respond 🤣

TudorHulban

comment created time in a month

startedwcandillon/react-native-responsive-ui

started time in a month

startedcalderajs/caldera-react

started time in a month

push eventpyros2097/pine

pyros2097

commit sha ab63a1205094801666e2cc53c3967ddc2b6b5fa4

improve vim support

view details

push time in a month

startedmosuka/cete

started time in a month

startedKronuz/Xapiand

started time in a month

startedtantivy-search/tantivy

started time in a month

startedmeteora-kvs/meteora

started time in a month

startedbayard-search/bayard

started time in a month

startedmosuka/blast

started time in a month

issue commentpyros2097/rust-embed

Saving Rocket static and template files

@hyousef-rusty If you are using StaticFiles for "/static" which a rocket request handler it won't work you have to create your own handler for it to work which uses Static::get("")

#[get("/dist/<file..>")]
fn dist<'r>(file: PathBuf) -> response::Result<'r> {
  let filename = file.display().to_string();
  Static::get(&filename).map_or_else(
    || Err(Status::NotFound),
    |d| {
      let ext = file
        .as_path()
        .extension()
        .and_then(OsStr::to_str)
        .ok_or_else(|| Status::new(400, "Could not get file extension"))?;
      let content_type = ContentType::from_extension(ext).ok_or_else(|| Status::new(400, "Could not get file content type"))?;
      response::Response::build().header(content_type).sized_body(Cursor::new(d)).ok()
    },
  )
}```

The same thing goes for tera templates. You need to make sure that the templates are loaded using Templates::get("") and then when you build for release it should work without the files.
hyousef-rusty

comment created time in a month

push eventpyros2097/pine

pyros2097

commit sha 628b471b8e548ee1a80e5e35bc542ff509c577e0

emit js now

view details

push time in a month

push eventpyros2097/react-native-uni-components

pyros2097

commit sha a47f89daf60d65ebe51c8f2235da2a682bc0f696

working

view details

push time in a month

push eventpyros2097/react-native-uni-components

pyros2097

commit sha 08c3f0da317b81c178e7829253ba63fbdc2cd419

make things greate again

view details

pyros2097

commit sha dd70543f85f0c33b03f4152edfed03681027036a

fix stuff

view details

push time in a month

issue commentkristerkari/react-native-svg-transformer

work on the web, Warning: </static/media/splashScreen.0f923900.svg /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.

I'm doing this for now to make it work,

const Icon = ({ children }) => {
  if (Platform.OS === 'web') {
    return <img src={children.type} {...children.props} />;
  }
  return children;
};

 <Icon>
     <ArrowBackIcon width={32} height={32} />
</Icon>
kopax

comment created time in a month

push eventpyros2097/react-native-uni-components

pyros2097

commit sha 97f70fdd9ac4605124f5a2494953e230cd3bb991

make drawer great again

view details

push time in a month

push eventpyros2097/use-promise

pyros2097

commit sha 2ed0edf928e27841011b7658d6938eda94c155c2

fix local

view details

pyros2097

commit sha f00558e1113e0833fb14411284e1616a5685042a

v1.3.0

view details

push time in a month

push eventpyros2097/use-promise

pyros2097

commit sha 18116a43dca867541204303713f4a977a19a8802

fix again

view details

push time in a month

push eventpyros2097/use-promise

pyros2097

commit sha b14ceccb5da64340f8b1f354c6360c38ef787e9d

fix usePromise

view details

push time in a month

push eventpyros2097/use-promise

pyros2097

commit sha dfe777d893a23719a89635b5a244da7200e46825

fix readme

view details

push time in a month

push eventpyros2097/use-promise

pyros2097

commit sha ffc1034edbea4cba501fec8632d8a6ead2744c3c

change script name

view details

push time in a month

push eventpyros2097/use-promise

pyros2097

commit sha 3d1ec35dcdcdab648f6c8b795f9bd5455c741b54

update api

view details

push time in a month

startedkanzitelli/react-native-navigation-starter

started time in a month

startedaws-amplify/amplify-js

started time in a month

startedrgommezz/react-native-scroll-bottom-sheet

started time in a month

startedreact-native-community/react-native-tab-view

started time in a month

startedfyne-io/fyne

started time in a month

startedzserge/webview

started time in a month

startedhkgumbs/multi

started time in a month

push eventpyros2097/kvdb

pyros2097

commit sha 7f1940ca4271e1151552a4d4be3d83029ff12f42

add readme

view details

push time in a month

push eventpyros2097/limedb

pyros2097

commit sha 2bd8a7732823a3b5f49314f67dc5289b50c6aa81

add stuff

view details

pyros2097

commit sha 6241c9587bd90c65a06e5dad82bc6ad42c3721cf

refactor

view details

push time in a month

push eventpyros2097/use-promise

pyros2097

commit sha f3ceeb5e6a2417bf123aacb258e5b8b7cdd2ad82

add scripts, author

view details

push time in a month

push eventpyros2097/use-promise

pyros2097

commit sha 0795ad150ca14ef4f6fc02680f1c98799eba32be

fix readme

view details

push time in a month

push eventpyros2097/use-promise

pyros2097

commit sha ab39215e99c68e95176ed6234bad58567df63728

add readme

view details

push time in a month

create barnchpyros2097/use-promise

branch : master

created branch time in a month

created repositorypyros2097/use-promise

Single usePromise hook tied to react suspense (can be used to completely replace redux/global state/context, useEffect)

created time in a month

push eventpyros2097/limedb

pyros2097

commit sha e349f7cbabf109a96c060eded35bf626fd72f2ac

stuff

view details

push time in a month

push eventpyros2097/limedb

pyros2097

commit sha a52d03da2c4a7e3eb0685742ab0f19da170fe462

new changes

view details

push time in a month

push eventpyros2097/limedb

pyros2097

commit sha fe16eaf4bc1d67d7f2dfd772b2716aad7524c1e2

new wave

view details

pyros2097

commit sha d4a86227f13957bf6e220040ee5187d79b558ee3

make routing work

view details

push time in a month

push eventpyros2097/react-native-uni-components

pyros2097

commit sha ded16f39630858032f89b82d9f65416ed958466a

new stuff

view details

pyros2097

commit sha e972dbe817aea610949dbf1837e32f7a93a6d915

fix App

view details

pyros2097

commit sha db7fe8df07ac08c3897cb0ecb02d848429592134

remove hooks for now

view details

pyros2097

commit sha c131ef4f45eb11f7c389fe8a9b76cb3cb08f9787

use react-router

view details

push time in a month

startedavishayil/react-native-restart

started time in a month

push eventpyros2097/react-native-uni-components

pyros2097

commit sha 1f5a571395aec85bc54effc6558eaab354ab0096

get things working

view details

pyros2097

commit sha 4820bc1e6f9f382dc6dd06ee5dfd53cce6cd02f2

v0.3.0

view details

pyros2097

commit sha 4dccb38b17acec93d3a2cc652403015db0cdeabe

v0.3.1

view details

pyros2097

commit sha 2e571dbdae959e2fb037474aa47fa41ef0c60f4d

v0.3.2

view details

push time in 2 months

push eventpyros2097/website

pyros2097

commit sha b6e1c82b2eabec1614564e392e03f8790a828569

fix stuff

view details

push time in 2 months

push eventpyros2097/website

pyros2097

commit sha 5013ea2aab59998c36def0f36958299d9e94f247

fix text

view details

push time in 2 months

startedmatcornic/hermes

started time in 2 months

startedNectarJS/nectarjs

started time in 2 months

push eventpyros2097/pine

pyros2097

commit sha 977d5b9e06a7de4a647c4c15234fff1087e3859f

fix stuff

view details

push time in 2 months

push eventpyros2097/pine

pyros2097

commit sha 11a8c4e9beaa97b74b980449eecb0764f1ccd937

improve syntax again

view details

push time in 2 months

startedawslabs/aws-js-s3-explorer

started time in 2 months

issue commentexpo/expo

Web Support V1

@hyochan Your Welcome. Hmmm....I have come across this and I do remember it was something to do with the SVG rather than the width and height prop. But I think you need to make sure your SVG doesn't have width and height set and also x and y a are 0. Also try tweaking the viewBox on the svg it seems to me that is the culprit. But this shouldn't happen. I use it like this and it works fine. In my case I needed the height shorter so I changed the view box. But in itself the DVG should scale properly without cutting off just like those icons we use.

<LogoCircle
            viewBox={Platform.OS === 'web' ? '0 0 1000 1000' : '0 0 1000 630'}
            width="100%"
            height={Platform.OS === 'web' ? '550' : height}
            style={{ marginTop: marginTop }}
          />
EvanBacon

comment created time in 2 months

issue commentexpo/expo

Web Support V1

@hyochan It works for me. I took this as an example https://github.com/kristerkari/react-native-svg-example. I had initial hiccups but it worked later on. This is my config.

const { getDefaultConfig } = require('metro-config');

module.exports = (async () => {
  const {
    resolver: { sourceExts, assetExts }
  } = await getDefaultConfig();
  return {
    transformer: {
      getTransformOptions: async () => ({
        transform: {
          experimentalImportSupport: false,
          inlineRequires: false
        }
      }),
      babelTransformerPath: require.resolve('react-native-svg-transformer')
    },
    resolver: {
      assetExts: assetExts.filter(ext => ext !== 'svg'),
      sourceExts: [...sourceExts, 'svg']
    }
  };
})();
EvanBacon

comment created time in 2 months

push eventpyros2097/offline-db

pyros2097

commit sha e88fc31c1408f47e0feead6a901f280c8c9ee5fc

make it work

view details

pyros2097

commit sha 1af10a34e82e131702c214196f9235d08d1eee4a

fix stuff

view details

push time in 2 months

push eventpyros2097/rust-embed

Igor Raits

commit sha 199bec7ef5a08ef5a4daeb7bafbad8ed98f91621

Specify required-features for examples/tests which require non-default features Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>

view details

Peter John

commit sha 1d18f43920807d04d237021d416ba5c6f2c05980

Merge pull request #109 from ignatenkobrain/required-features Specify required-features for examples/tests which require non-defaul…

view details

push time in 2 months

pull request commentpyros2097/rust-embed

Specify required-features for examples/tests which require non-defaul…

Also @ignatenkobrain thanks for the PR if it helps newbies to cargo or some else it will be useful.

ignatenkobrain

comment created time in 2 months

pull request commentpyros2097/rust-embed

Specify required-features for examples/tests which require non-defaul…

Yep no arguments please. Be sensitive and nice to one another.

@Mcat12 it would have been nice if you had left the issue open for a little longer or until he replied so that others could also help out if needed.

@ignatenkobrain you should have read the readme completely but its ok these things do happen. We need to setup and issue template to help in resolving these kind of issues in the future.

Misunderstandings do happen. Its best we assume good about one another and be good no matter what. 😺 .People do have bad days.

ignatenkobrain

comment created time in 2 months

startedggerganov/hnterm

started time in 2 months

startedmobily/stacks

started time in 2 months

push eventpyros2097/offline-db

pyros2097

commit sha 67cd312d0e33df5f196adf3676accb82a043ddf2

new stuff

view details

pyros2097

commit sha 9ea13cc58f32bb05a033ca92675fad5693451ca6

add cfn for api

view details

push time in 2 months

startedbberak/react-native-game-engine

started time in 2 months

startedsouth-lane/cognito-jwt-verifier

started time in 2 months

push eventpyros2097/rust-embed

Igor Raits

commit sha da86dbd2fc00fafc0e80381aa84b1ebc2a596908

Add license file to the sub-crates Otherwise tarballs on crates.io do not contain license file which is mandatory. Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>

view details

Peter John

commit sha 1ed5be191b038db143ce6f05409955017cec2b5b

Merge pull request #107 from ignatenkobrain/master Add license file to the sub-crates

view details

push time in 2 months

PR merged pyros2097/rust-embed

Add license file to the sub-crates

Otherwise tarballs on crates.io do not contain license file which is mandatory.

Signed-off-by: Igor Raits i.gnatenko.brain@gmail.com

+2 -0

1 comment

2 changed files

ignatenkobrain

pr closed time in 2 months

pull request commentpyros2097/rust-embed

Add license file to the sub-crates

LGTM thanks.

ignatenkobrain

comment created time in 2 months

startedAntonLapshin/proxy-observable

started time in 2 months

more