profile
viewpoint
Sajjad Hashemian sijad .. I'm also very old, olddd

blitz-js/blitz 3629

⚡️The Fullstack React Framework — built on Next.js

jorgebucaran/awesome.fish 2020

A curation of packages, prompts, and resources for the fish shell. 🐚🍤

sijad/flarum-ext-auth-steam 14

Allow users to log into flarum with their steam account

persianfla/flarum-ext-persian 7

Flarum Persian language pack

sijad/certbot-dns-arvancloud 4

please use lego instead

persianfla/flarum-ext-jalali 2

Jalali extension for Flarum

push eventsijad/gentle

Sajjad Hashemian

commit sha 39b805419f1c18ae6ce9099119d7adaf499fd96c

fix imports

view details

push time in 7 days

push eventsijad/gentle

Sajjad Hashemian

commit sha 167e3c0837e4fec250c6f7987f976422c7de0f2a

init mod

view details

Sajjad Hashemian

commit sha b50eae12d9fad52f9468b9febc02ded99176604f

add init command

view details

Sajjad Hashemian

commit sha a858c661d0cbb644f216a8f0e899d6daf0c16f38

bundle templates

view details

Sajjad Hashemian

commit sha 44dbda6ee8c26c7935b947f8bb5e02558dbf6738

add generate command

view details

push time in 7 days

startedShizcow/dmenu-rs

started time in 9 days

push eventsijad/dotfiles

Sajjad Hashemian

commit sha 8b5e81b0ed3e716d126923c50c2672262714da9c

change colors

view details

Sajjad Hashemian

commit sha 2e5ca5518e2bb9cf10eb318c2cf25ef90c00a6d2

better config

view details

push time in 11 days

startedRustScan/RustScan

started time in 14 days

push eventsijad/gentle

Sajjad Hashemian

commit sha 984e26047fe8e23e27432ea0909c69544daf8f9f

remove introspection and use internal types

view details

push time in 14 days

push eventsijad/gentle

Sajjad Hashemian

commit sha f5dbee156cba1944b18474de46938f1711ccbad9

add package name

view details

push time in 15 days

startedDhghomon/easy_rust

started time in 15 days

starteddaybrush/scenejs

started time in 15 days

startedShopify/restyle

started time in 15 days

push eventsijad/gentle

Sajjad Hashemian

commit sha c62129395c0315f7efbfd64b5015595a3872c76d

refactor code to use introspection types

view details

push time in 15 days

pull request commentsijad/gitignore

Replace gitignore.io with toptal.com

thanks!

c18t

comment created time in 15 days

push eventsijad/gitignore

ɯ̹t͡ɕʲi

commit sha cdd903bc435411ebe73c740d4a7fc5f67b23bb4f

Replace gitignore.io to toptal.com

view details

Sajjad Hashemian

commit sha 847ea9d8e0a75aea30c9f1789183f90be63d3cc4

Merge pull request #5 from c18t/update-api-url Replace gitignore.io with toptal.com

view details

push time in 15 days

PR merged sijad/gitignore

Replace gitignore.io with toptal.com

Hi!

The gitignore.io website had moved, so I changed API url with the new one.

Regards.


gitignore.ioのウェブサイトが移転していたので修正しました。 よろしくおねがいします。

+2 -2

0 comment

2 changed files

c18t

pr closed time in 15 days

delete branch sijad/thunder

delete branch : fix-int-input-arg

delete time in 18 days

pull request commentsamsarahq/thunder

support int and uint as input args type

@stephen done

sijad

comment created time in 18 days

push eventsijad/thunder

Sajjad Hashemian

commit sha beec49e23011ce47e612f9d1e99668a94abe3bf5

schemabuilder: support int and uint as input args types

view details

push time in 18 days

push eventsijad/thunder

Sajjad Hashemian

commit sha fa855813d4eda85718dd484734d45892ab0402be

support int and uint as input args type

view details

push time in 18 days

issue commentsamsarahq/thunder

Errors handling and GraphQL spec

@stephen can you please share your inputs about this one?

adelcasse

comment created time in 18 days

PR opened samsarahq/thunder

support int and uint as input args type

fixes 406

+20 -0

0 comment

1 changed file

pr created time in 18 days

create barnchsijad/thunder

branch : fix-int-input-arg

created branch time in 18 days

fork sijad/thunder

⚡️ A Go framework for rapidly building powerful graphql services

https://godoc.org/github.com/samsarahq/thunder

fork in 18 days

startedsamsarahq/thunder

started time in 18 days

issue openedsamsarahq/thunder

Can not use int in args input

I'm trying to use int as an input type but when I run following code it panics:

panic: bad method echo on type schemabuilder.mutation: attempted to parse  as arguments struct, but failed: bad arg type int: should be struct, scalar, pointer, or a slice

goroutine 1 [running]:
github.com/samsarahq/thunder/graphql/schemabuilder.(*Schema).MustBuild(...)
	/home/o/go/src/github.com/samsarahq/thunder/graphql/schemabuilder/schema.go:281
main.(*server).schema(0xc0001d1f78, 0x0)
	/home/o/go/src/github.com/sijad/testthunder/main.go:28 +0x86
main.main()
	/home/o/go/src/github.com/sijad/testthunder/main.go:34 +0x2f
exit status 2

MRE

package main

import (
	"net/http"

	"github.com/samsarahq/thunder/graphql"
	"github.com/samsarahq/thunder/graphql/schemabuilder"
)

// server is our graphql server.
type server struct{}

// registerMutation registers the root mutation type.
func (s *server) registerMutation(schema *schemabuilder.Schema) {
	obj := schema.Mutation()
	obj.FieldFunc("echo", func(args struct {
		Message    string
		MyIntValue int
	}) string {
		return args.Message
	})
}

// schema builds the graphql schema.
func (s *server) schema() *graphql.Schema {
	builder := schemabuilder.NewSchema()
	s.registerMutation(builder)
	return builder.MustBuild()
}

func main() {
	server := &server{}

	schema := server.schema()

	// Expose schema and graphiql.
	http.Handle("/graphql", graphql.Handler(schema))
	http.ListenAndServe(":3030", nil)
}

when I remove MyIntValue int, it works fine

created time in 18 days

startedRich-Harris/devalue

started time in 18 days

started20lives/tailwindcss-rtl

started time in 19 days

startedsteveruizok/perfect-arrows

started time in 21 days

push eventsijad/dotfiles

Sajjad Hashemian

commit sha 5a39bb5731880d4f4dda0cef10f2398d05712c42

ssh config

view details

Sajjad Hashemian

commit sha e55fae5a22f43a0ab07295fb1dff7cbbd79572d9

add alacritty

view details

push time in 21 days

create barnchsijad/dotfiles

branch : i3

created branch time in 21 days

startedtailwindcss/typography

started time in a month

startedgoogle/tsunami-security-scanner

started time in a month

startedterjanq/Tiny-XSS-Payloads

started time in a month

startedtauri-apps/tauri

started time in a month

startedtvler/experimental-react-like-framework

started time in a month

startedpostlight/mercury-parser

started time in a month

push eventsijad/gentle

Sajjad Hashemian

commit sha 97977d7366aa13e76fcee6e4f1be316b2e98084f

build args inside resolvers

view details

Sajjad Hashemian

commit sha 3c85104e757dc83f38f7bddfde1d06d13ff4063b

fix non-method resolvers

view details

Sajjad Hashemian

commit sha 1a9e8da1f7543a6a716b98f73f4f89062876cb59

fix no dependency error

view details

Sajjad Hashemian

commit sha 3a8ba85e592f54dc8b449b343bff65da86a0f828

fix args erros

view details

push time in a month

push eventsijad/gentle

Sajjad Hashemian

commit sha 98247c512f7a9df94031dc0ba912b2d5da0977a8

ignore ctx as dependency

view details

Sajjad Hashemian

commit sha fb831760625221632ce42ca1df3820d4282c551b

return null for methods without error

view details

push time in a month

push eventsijad/gentle

Sajjad Hashemian

commit sha 7d1b3a912623b5ef250412b836afcb45ae0e7c27

slipt code

view details

Sajjad Hashemian

commit sha ebf6354839f578ef735f7ffcb8c742cf20d89ab1

use a proper string as id

view details

Sajjad Hashemian

commit sha 4cf55e82ce8fbc36c33c1591c7dea00621325b50

fix non null

view details

Sajjad Hashemian

commit sha 3e827d7f206b64f3e86c3c6787643a862872f2d8

improve code gen

view details

Sajjad Hashemian

commit sha 141e0d7540a945d098312eb2a4c70ec7dd0011c6

organize code

view details

Sajjad Hashemian

commit sha 8939477d9d9519da8293c5b2088a7c53319cc436

use template file

view details

Sajjad Hashemian

commit sha cc2b829d7c7a21c89c0c45b007b97f28d1dfcdcb

add type to the FullType object

view details

Sajjad Hashemian

commit sha e6bb99c1b19e40f1683cf0cc852315b5e971b167

use go template for generating code

view details

Sajjad Hashemian

commit sha 6d19f38c7c6ca4f625826b798fcf2bf26d154139

add editorconfig file

view details

push time in a month

startednvim-treesitter/nvim-treesitter

started time in a month

startedblackbox114/Blacky

started time in a month

issue closedii8/havoc

havoc with no command line option and multiple program args does nothing

havoc with a program and multiple args exit immediately and does nothing.

how to reproduce:

havoc echo ok # does nothing and exit with code 0
havoc echo # works as intended
havoc -l echo ok # works as intended

seems to be related to forkpty but I couldn't debug.

closed time in a month

sijad

pull request commentii8/havoc

Add ability to set app_id via command line option

thanks! BTW havoc is the fastest terminal I've tried

sijad

comment created time in a month

delete branch sijad/havoc

delete branch : app-id

delete time in a month

issue openedii8/havoc

havoc with no command line option and multiple program args does nothing

havoc with a program and multiple args exit immediately and does nothing.

how to reproduce:

havoc echo ok # does nothing and exit with code 0
havoc echo # works as intended
havoc -l echo ok # works as intended

seems to be related to forkpty but I couldn't debug.

created time in a month

push eventsijad/havoc

Sajjad Hashemian

commit sha 4248dfd17ffddbf742b2af5c482232b12e74019e

set app id via args

view details

push time in a month

PR opened ii8/havoc

Add ability to set app_id via command line option

closes #28

+6 -0

0 comment

1 changed file

pr created time in a month

push eventsijad/havoc

Sajjad Hashemian

commit sha 3e5e7fa81c56482acb1f04033f04d15c8d4120a5

set default app_id to havoc

view details

push time in a month

issue commentii8/havoc

ability to set app_id

In that case I have to have multiple instance of installed havoc. you can set app_id in termite using --name option.

and I'm not sure have that in config file would be useful either.

this is my changes: https://github.com/sijad/havoc/tree/app-id

sijad

comment created time in a month

create barnchsijad/havoc

branch : app-id

created branch time in a month

issue commentii8/havoc

ability to set app_id

I'm not sure what do you mean by hardcodding it? you mean I have to have two havoc? one of them with hard codded job_id?

sijad

comment created time in a month

issue commentii8/havoc

ability to set app_id

I send an PR, if you think this can be useful

sijad

comment created time in a month

issue openedii8/havoc

ability to set app_id

it'd be useful to be able to set the app_id via options.

I use app_id to set options to specific app_id.

created time in a month

pull request commentii8/havoc

add change directory option

I didn't know about exec command. I'm going to use your approach, feel free to close PR.

sijad

comment created time in a month

pull request commentii8/havoc

add change directory option

you're right. in my case swaymsg -t command exec changes the cwd to $HOME. I'm really not sure either but in last example, there's also a sh process per terminal instance.

sijad

comment created time in a month

pull request commentii8/havoc

add change directory option

I've tried your approach (cd in subscript) but it does not working with sway exec. in this script I've tried cd and then running havoc but it opened in $HOME instead

sijad

comment created time in a month

pull request commentii8/havoc

add change directory option

I needed this option to open a new terminal with same directory as the old one in sway. other terminal (termite, alacritty, etc) has this option, so I guess havoc should have this too.

sijad

comment created time in a month

issue openedii8/havoc

Support dynamic title

currently always havoc displayed in the title bar and never changes. title should be dynamic and provided title by shell should be displayed instead.

created time in a month

push eventsijad/havoc

Sajjad Hashemian

commit sha 84858cef3de3617bdfd158e41641c7d9366c3b98

add change directory option

view details

push time in a month

push eventsijad/havoc

Sajjad Hashemian

commit sha 57f6c9535f5ffbca57d73e34ab50fff666b512db

add change directory option

view details

push time in a month

PR opened ii8/havoc

add change directory option

now it's possible to open havoc in a directory havoc -d /var/log/

+11 -0

0 comment

1 changed file

pr created time in a month

create barnchsijad/havoc

branch : change-dir

created branch time in a month

fork sijad/havoc

minimal terminal emulator for wayland

fork in a month

startedkoekeishiya/yabai

started time in a month

push eventsijad/gentle

Sajjad Hashemian

commit sha 76ae93e2b93f7c9c2440371a41d5dc69e27dbd2a

force two results for now

view details

Sajjad Hashemian

commit sha 6754523ae0f747b9070a955e7fbf9be6447dcf78

fix multiple indirection error

view details

Sajjad Hashemian

commit sha a682436d98cf4b8bf0ada1d6e48e503e069fc92e

use internal types for kipping required data

view details

Sajjad Hashemian

commit sha 555104101bda5af56f052f808c537b50980d16a9

fist code generating try

view details

push time in a month

starteddave/jennifer

started time in a month

push eventsijad/gentle

Sajjad Hashemian

commit sha 5382c6ee7cab6da273d2696f4770211415d23969

fix generated sdl

view details

Sajjad Hashemian

commit sha 93503d20fda988113e6f439547aface2ab4cea80

fix input showing objects

view details

push time in 2 months

push eventsijad/gentle

Sajjad Hashemian

commit sha 546d6ea5ad0dfb92213d5cd22fb9186b6ec527b4

add empty objects check

view details

Sajjad Hashemian

commit sha 01db2ce3bfcdcda50f7f57a9579411c5234a9184

add resolver results check

view details

push time in 2 months

push eventsijad/gentle

Sajjad Hashemian

commit sha 80e9eacb137f75dfe5c9d5ff5263d0e5be546e93

add scalar type

view details

push time in 2 months

push eventsijad/gentle

Sajjad Hashemian

commit sha eab9658e856ef7b9c9b857a57056a6c8f266c3fc

fix spacing

view details

Sajjad Hashemian

commit sha a763d5f95c0f35e8eaa2ad60771415570beaa79f

handle struct resolvers

view details

Sajjad Hashemian

commit sha b5bed28ee9a6ceaf877f75e70741ad4c69938663

remove unused arg

view details

Sajjad Hashemian

commit sha fa13f35b57ebce22eb120af7149568e69f6c7af1

fix infinite loop

view details

push time in 2 months

push eventsijad/gentle

Sajjad Hashemian

commit sha e408249249df17f2c1e6ec6b573e972ca4aa95c6

fix pointers

view details

Sajjad Hashemian

commit sha d1ec6a27ee1c20d19f245517aee645aab2b037f5

return proper error

view details

push time in 2 months

push eventsijad/dotfiles

Sajjad Hashemian

commit sha 7a029708859e45f42a0a2e13d6823e5b8e214260

prevent sleep for all apps

view details

Sajjad Hashemian

commit sha e1072a31910acfefee49f15b0afefc8953eb5ec7

update coc config

view details

push time in 2 months

issue commentjosa42/coc-go

Organize import action not working

I've add go to formatOnSaveFiletypes setting and gofmt works again. I still get that warning but both organize import and gofmt works, this is my coc config:

{
  "coc.preferences.formatOnSaveFiletypes": ["go"],
  "languageserver": {
    "go": {
      "command": "gopls",
      "rootPatterns": ["go.mod"],
      "filetypes": ["go"]
    }
  }
}
sveatlo

comment created time in 2 months

startedFormidableLabs/urql

started time in 2 months

startediaincollins/next-auth

started time in 2 months

startedKuroLabs/stegcloak

started time in 2 months

push eventsijad/gentle

Sajjad Hashemian

commit sha 796837cf5f1fe8ca3875041cfa8a0893f60611da

wip

view details

push time in 2 months

issue commentjosa42/coc-go

Organize import action not working

I followed this instruction and got same warning: https://github.com/golang/tools/blob/master/gopls/doc/vim.md#cocnvim

sveatlo

comment created time in 2 months

issue commentjosa42/coc-go

Organize import action not working

it seems to be related to gopls itself

sveatlo

comment created time in 2 months

startedulfjack/ryu

started time in 2 months

startedlukeed/escalade

started time in 2 months

startedCyan4973/xxHash

started time in 2 months

startedfannheyward/coc-rust-analyzer

started time in 2 months

starteddrcmda/reactanoid

started time in 2 months

pull request commentremirror/remirror

Bidi support

I've tested it with disabled auto update and it's perfect Thank you so much

I might be able to help you with autoUpdate if you want

ifiokjr

comment created time in 2 months

startedfacebookresearch/pifuhd

started time in 2 months

startedthird774/image-focus

started time in 2 months

pull request commentremirror/remirror

Bidi support

can you please let me how can I test this? I've cloned this and run yarn docs in bidi-support branch but bidi does not works. also I've got two error which I'm not sure if they are related to this changes:

  1. if firefox (nighty version) spacebar key does not work
  2. in chrome when I try to type @abc (mentions + double space) I got this error:

2020-06-18-14:03:56-screenshot

ifiokjr

comment created time in 2 months

startedlaunchbadge/sqlx

started time in 2 months

startedMarlinFirmware/Marlin

started time in 2 months

startedcoolsnowwolf/lede

started time in 2 months

startedkripod/otion

started time in 2 months

starteddiesel-rs/diesel

started time in 2 months

startedasync-graphql/async-graphql

started time in 2 months

startedtummychow/git-absorb

started time in 2 months

startedspotify/backstage

started time in 2 months

startedpikapkg/create-snowpack-app

started time in 2 months

startedVSCodium/vscodium

started time in 2 months

startedstrapi/strapi

started time in 2 months

startedanopara/genetic-drawing

started time in 2 months

startedmeilisearch/MeiliSearch

started time in 2 months

more